linkedin / linkedin/luminol

Issue when importing modules

Open
#6 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.2k
Forks
217
PR merge metrics
No merged PRs in 30d

Description

Hello,

When I try to import the modules, I got some error messages here,
`>>> from luminol.correlator import Correlator
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.4/dist-packages/luminol/correlator.py", line 19, in
from luminol.anomaly_detector import AnomalyDetector
File "/usr/local/lib/python3.4/dist-packages/luminol/anomaly_detector.py", line 19, in
from luminol.algorithms.anomaly_detector_algorithms.all import anomaly_detector_algorithms
File "/usr/local/lib/python3.4/dist-packages/luminol/algorithms/anomaly_detector_algorithms/all.py", line 12, in
from luminol.algorithms.anomaly_detector_algorithms import *
File "/usr/local/lib/python3.4/dist-packages/luminol/algorithms/anomaly_detector_algorithms/default_detector.py", line 12, in
from exp_avg_detector import ExpAvgDetector
ImportError: No module named 'exp_avg_detector'`

I think there is some issue with the module `exp_avg_detector`.

Could you please help fix that?

Thanks a lot!

Sophie

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the import from the issue and trace the chain through luminol/correlator.py, luminol/anomaly_detector.py, luminol/algorithms/anomaly_detector_algorithms/all.py, and default_detector.py. The work is done when importing luminol.correlator succeeds without the exp_avg_detector error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.