pyod
pyod copied to clipboard
Why models.__init__.py is commented? How to import models from relative path?
Hello,
I noticed pyod.models.init.py is commented. See: models.init.py
How do you propose to import the models from relative path?
I tried to import from relative path the models to test them but it is not possible.
import pyod
pyod.models. <<= no models
from pyod.models.copod import COPOD <<== works
My version is the last one: 0.8.6. Same symptoms with 0.8.5.
This was a legacy issue and we decided to go for absolute import. Maybe a nice relative import should be preferred. Will mark it as an enhancement to implement.