Ennosigaeon / xautoml

XAutoML: A Visual Analytics Tool for Understanding and Validating Automated Machine Learning
BSD 3-Clause "New" or "Revised" License
32 stars 7 forks source link

Get errors while running the code. #1

Closed mrbeann closed 2 years ago

mrbeann commented 2 years ago

Hi @Ennosigaeon ! First of all, thanks for making such an awesome project, it looks very useful. But when I try to run the project, I found the following problems.

https://github.com/Ennosigaeon/xautoml/blob/b61504446e821b27a3cea074a0e9a7b4243da620/xautoml/main.py#L86 this report errors that list[CandidateId] is illegal.

In my opinion, this should be used as List[CandidateId]. (there are other issues like this in this project and dswizard) I am using python 3.8.8. How can I fix this?

Ennosigaeon commented 2 years ago

Hey @mrbeann, thanks for the positiv feedback. I just released a new version of both xautoml and dswizard that are also compatible with Python 3.7 and 3.8 (and not just 3.9). Could you give it another try?

mrbeann commented 2 years ago

Thank you for your reply. It seems the problem in xautoml is addressed, but it still raise error for dswizard.

python3.8/site-packages/dswizard/components/base.py:174 def get_feature_names_out(self, input_features: list[str] = None)

By the way I use 0.2.1

Ennosigaeon commented 2 years ago

There is a third package called dswizard-components involved. Can you check that version 0.2.1 of this package is installed?

mrbeann commented 2 years ago

Thank you for your reply. After I upgrade this it works.