Closed alessiamarcolini closed 3 years ago
Can I kindly ask what is the whole idea here? I know we are supposed to be talking about this during our next call... so a bit of preparation would be ideal.
Following through, I could only see fixes (e.g. see #98) but I am not sure I got to what, exactly :D
Thanks.
@leriomaggio This is a "feature request" issue: we want to have a FeatureOperation
that performs one-hot encoding of a column.
The tricky point here is the NaNs handling in the column to encode. sklearn doesn't handle them and it simply raises an exception. We wanted to allow the presence of NaNs in the column and we proceeded this way:
"NAN_VALUE"
)NAN_VALUE
categoryFalse
values in the encoded columns in the rows corresponding to the rows where the original NaNs were (via the NaN mask)Please let me know if you need further clarification before the call.
P.S.:
Following through, I could only see fixes (e.g. see #98) but I am not sure I got to what, exactly :D
I used the "fixes" as an auto-closing keyword to automatically link the PR to the issue
[3c ii]