Ridge and random forest regression techniques were used to develop a mathematical model to calculate the cross-validation score and predict stock price volatility of companies. The model aims to determine if a firm's stock prices remain fluctuating or stable and identify trends in real-time price changes over time. Researchers found directional stock price movements were over 90% predictable given past opening and closing prices, though the magnitude of price changes could not be determined with the same certainty.