yzhao062/pyod

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

Open

#271 ouverte le 13 janv. 2021

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)Python (1 308 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (7 762 stars)
Métriques de merge PR
 (Merge moyen 4j 17h) (14 PRs mergées en 30 j)

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.

Guide contributeur