tsml-eval icon indicating copy to clipboard operation
tsml-eval copied to clipboard

Issues with MLPClassifier

Open TonyBagnall opened this issue 3 years ago • 0 comments

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

TonyBagnall avatar Oct 18 '22 09:10 TonyBagnall