VIDA-NYU / alpha-automl

Alpha-AutoML is a Python library for automatically generating end-to-end machine learning pipelines.
https://alpha-automl.readthedocs.io
Apache License 2.0
19 stars 3 forks source link

Not able to retain the module name as fasttext #39

Closed madhuripujari95 closed 1 year ago

madhuripujari95 commented 1 year ago

I'm not able to retain the module name as fasttext.py due to the following issue. I think it is because my module name and the main fasttext module are the same name.

image

julianafreire commented 1 year ago

If yours is an AlphaAutoML method, what about using a prefix to indicate that, e.g., AlphaAutoMLFastText or AAFastText?

roquelopez commented 1 year ago

@madhuripujari95 using the full import path should fix that issue: from alpha_automl.wrapper_primitives import FastTextEmbedderWrapper

roquelopez commented 1 year ago

This was fixed using the full import path.