|
>>> cross_val_score(clf, iris.data, iris.target, cv=10) |
Hi Sir.
I have tried using cross validation with this directory but i get an error message like this :
Cannot clone object C45(attrNames=['sepallengthcm', 'sepalwidthcm', 'petallengthcm',
'petalwidthcm']), as the constructor either does not set or modifies parameter attrNames
scikit-learn-C4.5-tree-classifier/c45/c45.py
Line 36 in cd923ff
Hi Sir.
I have tried using cross validation with this directory but i get an error message like this :
Cannot clone object C45(attrNames=['sepallengthcm', 'sepalwidthcm', 'petallengthcm',
'petalwidthcm']), as the constructor either does not set or modifies parameter attrNames