Closed wingyiuc closed 6 months ago
one_hot_encodercleaning_fee_False bool one_hot_encodercleaning_fee_True bool one_hot_encoderhost_has_profile_pic_f bool one_hot_encoderhost_has_profile_pic_t bool one_hot_encoderhost_has_profile_pic_nan bool one_hot_encoderhost_identity_verified_f bool one_hot_encoderhost_identity_verified_t bool one_hot_encoder__host_identity_verified_nan bool one_hot_encoderinstant_bookable_f bool one_hot_encoder__instant_bookable_t bool
These are boolean columns. Applying one-hot encoding would create redundant duplicated columns.
Also, the coefficients for these binary variables seems wrong. I thought they should be positive.
solved in the latest pull request
one_hot_encodercleaning_fee_False bool one_hot_encodercleaning_fee_True bool one_hot_encoderhost_has_profile_pic_f bool one_hot_encoderhost_has_profile_pic_t bool one_hot_encoderhost_has_profile_pic_nan bool one_hot_encoderhost_identity_verified_f bool one_hot_encoderhost_identity_verified_t bool one_hot_encoder__host_identity_verified_nan bool one_hot_encoderinstant_bookable_f bool one_hot_encoder__instant_bookable_t bool
These are boolean columns. Applying one-hot encoding would create redundant duplicated columns.