CloudForest
CloudForest copied to clipboard
Python Wrapper Does not work for multi class classification
I think their is bug in the python wrapper code, in the file /wrappers/python/CFClassifier.py at line 76.
The final TSV generated has NA at the end. 0 6 NA 1 7 NA 2 7 NA 3 6 NA 4 6 NA 5 3 NA 6 3 NA 7 6 NA
I manged to fix this by modifying line 76: from : df[target] = np.array(y,dtype=bool) to : df[target] = np.array(y)
Thanks