Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MLPClassifier should support 2D arrays of string targets #82

Open
stephen-hoover opened this issue Feb 14, 2018 · 0 comments
Open

MLPClassifier should support 2D arrays of string targets #82

stephen-hoover opened this issue Feb 14, 2018 · 0 comments

Comments

@stephen-hoover
Copy link
Contributor

The MLPClassifier automatically encodes single columns of string targets to integers, but does not do so with multioutput problems. It should allow users to enter an array of targets such as

y = [['spam', 'dog'], ['eggs', 'cat']]

This would make multilabel-multiclass modeling much easier, so it may require that #47 be done first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant