You are tasked with creating a predictive model to forecast stock prices. Which type of machine learning model would be most appropriate for this task?
- Convolutional Neural Network
- Decision Tree
- K-Means Clustering
- Linear Regression
Linear Regression is commonly used for predicting continuous values, such as stock prices. It models the relationship between the independent variables and the dependent variable (stock price) through a linear equation. Other options are not suitable for this prediction task.
Loading...
Related Quiz
- In Python, every function returns a value. If no return statement is present, it returns _______ by default.
- Which of the following operators is a floor division in Python?
- How would you use a mock object in Python for testing a function that makes an HTTP request?
- What happens if the continue statement is used outside any loop?
- When sorting a list with the sort() method, using the _______ argument can allow for custom sorting behaviors.