yzhao062/pyod

Why models.__init__.py is commented? How to import models from relative path?

Open

#271 opened on Jan 13, 2021

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Python (7,762 stars) (1,308 forks)batch import
enhancementhelp wanted

Description

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.

Contributor guide