firefly-cpp / NiaAML

Python automated machine learning framework.
MIT License
29 stars 11 forks source link

Example file pipeline.ppln is out of date #60

Closed musicinmybrain closed 2 years ago

musicinmybrain commented 2 years ago

Trying to run examples/load_pipeline_object_file.py results in:

ModuleNotFoundError: No module named 'NiaPy'

This is because the contents of examples/exaple_files/pipeline.ppln were not updated in https://github.com/lukapecnik/NiaAML/pull/49 when other NiaPy imports were switched to niapy.

I tried simply doing a byte-string replacement of each NiaPy occurrence with niapy in pipeline.ppln, but that wasn’t sufficient:

ModuleNotFoundError: No module named 'niapy.algorithms.utility'

It looks like, however pipeline.ppln was originally created, the process needs to be repeated using a current version of NiaPy.

firefly-cpp commented 2 years ago

@lukapecnik

lukapecnik commented 2 years ago

Thank you for reporting. Fixed.

musicinmybrain commented 2 years ago

Thanks!