In Scikit-learn, the ____ class is used for feature scaling.
- DecisionTree
- KMeans
- LinearRegression
- StandardScaler
In Scikit-learn, the StandardScaler class is used for feature scaling. Feature scaling is crucial in machine learning to ensure that all features have the same scale, preventing some features from dominating others during model training. StandardScaler standardizes features by removing the mean and scaling to unit variance.
Loading...
Related Quiz
- You need to filter out all even numbers from a list numbers and square them. Which Python feature would be the most concise to achieve this?
- In Matplotlib, the ____ method is used to set the labels of the x-axis.
- In Flask, the ____ object is used to store data that is accessible from all parts of an application.
- What is the primary purpose of the try and except blocks in Python?
- In which file mode can you read from and write to a file simultaneously?