What is scikit-learn

Used for create Machine Learning models, which can be fed using Pandas dataframes or numpy. scikit-learn ML models will do predictions.

Models provided by scikit-learn

scikit-learn provides the models for different learning types
Learning Type Model provided by scikit-learn
Supervised learning? Supervised Learning models provided by scikit-learn
Model Name Used for Functions
1. Linear Models
2. Linear and Quadratic Discriminant Analysis
3. Kernel ridge regression
4. Support Vector Machines
5. Nearest Neighbors
1. Linear Models
6. Naive Bayes
7. Decision Tree Regressor
- What is Decision Tree Algorithm?
Regression fit(X, y): method to train the DecisionTreeRegressor model. During this process, the model learns the relationships between the input features and the target variable
  Parameters
   X: Traning data. Typically a 2D array
   y: Target values(Labels) corresponding to X(training data)

predict(X): Used to make predictions on new, unseen data using the trained model.
  Parameter
   X: New Real World data(2D array)