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

Issues with MLPClassifier #16

Open
TonyBagnall opened this issue Oct 18, 2022 · 0 comments
Open

Issues with MLPClassifier #16

TonyBagnall opened this issue Oct 18, 2022 · 0 comments

Comments

@TonyBagnall
Copy link
Member

TonyBagnall commented Oct 18, 2022

something is going wrong with the encoder for MLPClassifier. For example, DuckDuckGeese, train files generate this. Needs further investigation.

Traceback (most recent call last):
File "/gpfs/home/ajb/Code/estimator-evaluation/sktime_estimator_evaluation/experiments/classification_experiments.py", line 187, in
run_experiment(sys.argv)
File "/gpfs/home/ajb/Code/estimator-evaluation/sktime_estimator_evaluation/experiments/classification_experiments.py", line 148, in run_experiment
load_and_run_classification_experiment(
File "/gpfs/home/ajb/.conda/envs/eval/lib/python3.8/site-packages/sktime/benchmarking/experiments.py", line 530, in load_and_run_classification_experiment
run_classification_experiment(
File "/gpfs/home/ajb/.conda/envs/eval/lib/python3.8/site-packages/sktime/benchmarking/experiments.py", line 397, in run_classification_experiment
train_preds = classifier.classes_[np.argmax(train_probs, axis=1)]
TypeError: only integer scalar arrays can be converted to a scalar index

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

No branches or pull requests

1 participant