[scikit-learn] Error with Kfold cross vailidation

bright silas Aboh sbrightaboh at gmail.com
Wed Oct 24 07:29:03 EDT 2018

Hi Everyone,

I am Bright and am trying to build a machine learning model with sklearn
I get the following error however, can someone please help me?

  kf = KFold(data.shape[0], n_splits=5)
TypeError: __init__() got multiple values for argument 'n_splits'

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20181024/da173dbf/attachment.html>

More information about the scikit-learn mailing list