Closed tenggaard closed 3 years ago
Hello Thyge, thanks for using OCTIS and for reporting this error!
Your solution works well but I decided to handle this issue directly in the _optimizerevaluation.py file. I have just released version 1.2.1 of the library. The bug shouldn't occur anymore :)
Best,
Silvia
Hi Octis Team,
Thanks for making this available!
When providing a custom dataset for a LDA hyperparameter seach, I get: KeyError: 'info'
This is not the case when I run a single model (no hypersearch), nor when I fetch the M10 dataset and use this.
If I manually add an info entry with a name for the dataset to the metadata attribute of the custom dataset, the hyperparameter search works fine.
Perhaps the required metadata could be auto-filled when providing custom data?
Best, Thyge
Code and traceback:
Adding this after loading custom data fixes the problem: