这是indexloc提供的服务,不要输入任何密码
Skip to content

Python Wrapper Does not work for multi class classification #60

@dataviral

Description

@dataviral

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions