Question
Which of the following transformations is most
appropriate to bring all feature values into the range [0,1] for a machine learning model?Solution
Explanation: Min-Max Normalization is a technique used to scale features to a fixed range, typically [0,1]. This transformation is particularly useful for algorithms sensitive to the scale of input data, such as gradient descent-based models. This method ensures that each feature contributes proportionately to the model, eliminating bias caused by varying scales across features. Min-Max Normalization is especially suitable for cases where the data has a defined range, making it ideal for neural networks and distance-based algorithms like k-NN. Option A: Z-score Standardization scales data to have a mean of 0 and a standard deviation of 1, which is more suitable for normally distributed data. It does not confine the values to a specific range like [0,1]. Option C: One-Hot Encoding is used for categorical variables, converting them into binary vectors. It is not applicable for scaling numerical data. Option D: Logarithmic Transformation is used to handle skewness in data and is not designed to scale values into a fixed range. Option E: Ordinal Encoding converts categorical data into integers based on their ordinal rank, which is unrelated to numerical feature scaling.
A scored 38% marks and failed by 40 marks whereas B scored 68% marks, which was 50 more than the passing marks of the examination. Find the total marks ...
Person P allocated 35% of his salary to his son for school fees. From the remaining amount, he saved 40% in his bank account. The...
Vishnu purchased a new plot that needed to be fenced immediately, thereby reducing the length and width of the rectangular workplace by 2% respectively....
The population of a city is decreased by 20% in the first year and then increased by 32% in the second year. Find the population of the city at the end...
'Q' spends 25% of his monthly income on rent, 40% on groceries, and 15% of the remaining amount on entertainment. He saves the rest of the money in a fi...
- Ravi had a monthly income of Rs. 32000 and his monthly expenses were Rs. 25000. In the next year, his income increased by 11% and his expenses rose by 5%. ...
The ratio of the monthly earning of A to that of B is 5:7.If monthly earning of A increased by 25% and that of B decreased by 60% the new ration between...
The marks scored by a boy in three subjects are in the ratio 3 : 5 : 6. Boy scored an overall aggregate of 70% in the exam. If the maximum marks in each...
In a given years, A sold 1900 caps while B sold 50% more number of caps than A and C sold 20% less number of caps than B. Find the ratio between the num...
In a village election between two candidates, the winner secured 70% of the total votes cast and won by a majority of 13000 votes. How many votes did th...