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
@cancan101 you are probably right regarding your last comment.
Regarding the cross_val_score wrapper, it was intended to be able to be able to use a dataframe with the cross-validation functions in pipelines. The list you see is in fact a somewhat dirty trick to avoid sklearn to turn the dataframe into an array. That list is later mapped to a DataFrame inside the DataFrameMapper. But you cannot use the cv-wrapper directly without the DataFrameMapper.
If you want to use a dataframe in cv with old versions of sklearn, simply pass df.values to the sklearn cv functions.
I'm closing this because I don't consider it a bug.
Docs say:
but I see:
The text was updated successfully, but these errors were encountered: