Back to Developer Roadmap

Model Prediction in Scikit-learn

src/data/roadmaps/machine-learning/content/prediction@vBnqnIh_xSn0OuY9oQ5e-.md

4.0899 B
Original Source

Model Prediction in Scikit-learn

In scikit-learn, prediction means using a trained machine learning model to estimate an output (or target variable) for new, unseen data. After a model is trained on a dataset, it learns the relationship between the input features and the target variable. To make a prediction, you provide the model with new input features, and it uses the learned relationship to generate a predicted value for the target. This is typically done using the .predict() method on a trained model object, which takes the new data as input and returns the model's predictions.

Visit the following resources to learn more: