Closed NagabhushanS closed 6 years ago
I changed the verbose argument of SklearnMLPClassifier to true and found this error "could not locate file 'lib/python/SklearnMLPClassifier.py'". I came to know that it is not obtaining the location of the SklearnMLPClassifier.py file relative to the location of StackNet.jar but instead it is obtaining the path of the SklearnMLPClassifier.py file with respect to current directory. May be this behavior can be changed to avoid confusion.
I started using StackNet today. I have sklearn-version 0.19.1 and python 3.6. The StackNet.jar file is in the same folder as the lib (as mentioned in the github page). I am getting an IllegalStateException: Tree is not fitted. The following is the params.txt file:
I replaced SklearnMLPClassifier with SklearnRandomForestClassifier, the error still persists. But when I replace SklearnMLPClassifier with any other native classifier, the error is gone. So, I believe the error has something to do with sklearn installation in StackNet.