Question
Which data transformation technique would be best for
converting categorical variables, such as “Gender” (Male, Female), into a format usable in machine learning models?Solution
One-hot encoding is a technique used to convert categorical variables into a numerical format, where each category is represented by a binary variable. For instance, in the “Gender” variable, one-hot encoding would create two binary columns: “Male” and “Female.” Each observation will have a value of 1 in one column and 0 in the other, making the data usable in machine learning algorithms that require numerical input. One-hot encoding prevents ordinal relationships from being falsely implied, ensuring accurate representation of non-numeric data in modeling. The other options are incorrect because: • Option 1 (normalization) scales data but is ineffective for categorical conversion. • Option 3 (logarithmic transformation) is used for continuous data to reduce skew, not categorical data. • Option 4 (binning) groups continuous data into categories rather than encoding existing categories. • Option 5 (polynomial transformation) applies to numerical features and is unrelated to categorical conversion.
What does the line “it’s amazing to see what we can ….......... as a community” mean with regard to the passage?Â
Which one of the below mentioned diseases is/are not covered under the Mission Indradhanush?
Choose the word/group of words which is opposite in meaning to the word/ group of words printed in bold as used in passage
FRAGILE
...Why will India’s influence in Male be further limited?
Where did the drink land from the perch?
Freedom of speech and expression is a part of which article of the constitution?
How do the volunteers transform the park?Â
Who was Iswaran?
Which of the following is most nearly OPPOSITE to the word protracted as used in the passage?
What all steps were undertaken according to the order released by the Supreme Court on February 1?