I am trying to modify cross validation code developed by weka in this page. When I paste the exact code the method .makeCopy(cls)
in the line Classifier clsCopy = Classifier.makeCopy(cls);
is not exist. Is there any replacement or update for this method?
Classifier has become an interface since Weka 3.7. Use the weka.classifiers.AbstractClassifier.makeCopy(Classifier)
instead.
Reference : http://weka.8497.n7.nabble.com/Classifier-td32507.html