You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Or, add a comment noting this potential change for newer sklearn versions. This error came up during a consulting session debugging issues a consultee encountered running the preprocessing notebook (https://github.com/dlab-consulting/requests/issues/2876).
@tomvannuenen / @pssachdeva -- LMK if you'd like me to submit a PR for this! And if so, how you'd prefer it handled (either of the two proposed solutions, or something else entirely)
ISSUE:
sparse
issparse_output
for newer versions of sklearn'sOneHotEncoder
LOCATION:
PROPOSED SOLUTION:
Replace
sparse
withsparse_output
on this line =>dummy_e = OneHotEncoder(categories='auto', drop='first', sparse=False)
Or, add a comment noting this potential change for newer sklearn versions. This error came up during a consulting session debugging issues a consultee encountered running the preprocessing notebook (https://github.com/dlab-consulting/requests/issues/2876).
RELATED REFERENCE: https://scikit-learn.org/dev/modules/generated/sklearn.preprocessing.OneHotEncoder.html
The text was updated successfully, but these errors were encountered: