yzhao062/pyod

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

Open

#271 aperta il 13 gen 2021

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Python (1308 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (7762 star)
Metriche merge PR
 (Merge medio 4g 17h) (14 PR mergiate in 30 g)

Descrizione

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.

Guida contributor