Which of the following is a method for feature scaling?
Practice Questions
Q1
Which of the following is a method for feature scaling?
One-hot encoding
Min-Max scaling
Label encoding
Feature extraction
Questions & Step-by-Step Solutions
Which of the following is a method for feature scaling?
Step 1: Understand what feature scaling means. It is a technique used to normalize the range of independent variables or features of data.
Step 2: Learn about Min-Max scaling. This method transforms features to a specific range, usually between 0 and 1.
Step 3: Apply the Min-Max scaling formula: new_value = (old_value - min) / (max - min), where 'min' and 'max' are the minimum and maximum values of the feature.
Step 4: Use Min-Max scaling when you want to ensure that all features contribute equally to the distance calculations in algorithms like K-means or K-nearest neighbors.