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

NeuralNetwork() fails with multiclass problems #20

Open
nkapila6 opened this issue Sep 29, 2024 · 1 comment
Open

NeuralNetwork() fails with multiclass problems #20

nkapila6 opened this issue Sep 29, 2024 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@nkapila6
Copy link
Collaborator

Issue Summary
NeuralNetwork class fails with multi class problems. Seems like this is an outstanding issue from hiive.

Steps to Reproduce / Describe the Request
Using multiclass dataset on NeuralNetwork renders an error when performing .predict.

Additional Information

  1. Sklearn one hot encodes the labels: https://github.com/scikit-learn/scikit-learn/blob/5c4aa5d0d90ba66247d675d4c3fc2fdfba3c39ff/sklearn/neural_network/_multilayer_perceptron.py#L1124

  2. The same was added into hiive: hiive@2a6d48b

Proposed Solution (Optional)
Will need to debug this using a toy dataset.

@nkapila6 nkapila6 added bug Something isn't working help wanted Extra attention is needed good first issue Good for newcomers labels Sep 29, 2024
@nkapila6 nkapila6 changed the title NeuralNetwork() fails with multiclass problems NeuralNetwork() fails with multiclass problems Sep 29, 2024
@zlyin
Copy link

zlyin commented Oct 7, 2024

same issues here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants