Replies: 2 comments 1 reply
-
Sorry but can you share a reproducible example? I have no idea what you're talking about. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Yes, FAMD scales numeric columns, as is evident here. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When i do it, i receive an error:
39 def fit(self, X, y=None):
40 # Separate numerical columns from categorical columns
41 self.num_cols_ = X.select_dtypes(include=["float"]).columns.tolist()
42 if not self.num_cols_:
43 raise ValueError("All variables are qualitative: MCA should be used")
Beyond that, all my categorical data is boolean (yes/no and male/female), but represented by 1's and 0's. Can i leave it like that, or the code won't be able to distinguish categorical from continuous data ?
Beta Was this translation helpful? Give feedback.
All reactions