This topic is realted to one hot encoding and dummy variables how to create dummy variables of categorical variables . In real world data set we have some CATEGORICAL VARIABLES :SEX ,day,smoker etc. we have to convert these variables into numerical form . target variables:total_bill categorical varaibles-->sex,smoker,day,time pd.get_dummies(data) -->create a different columns of each categorical varibles we have 2 classes :then it will create 2 dummy_variables.
-
Notifications
You must be signed in to change notification settings - Fork 0
narwaljyoti/Machine_learning-_tutorial-1
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
This topic is realted to one hot encoding and dummy variables how to create dummy variables of categorical variables .
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published