How to predict stock prices using machine learning

What machine learning algorithms are commonly used for stock price prediction?

Machine learning models can analyze large datasets to identify patterns and predict stock prices. However, predictions are never certain due to market complexity.