facebookresearch / Kats

Kats, a kit to analyze time series data, a lightweight, easy-to-use, generalizable, and extendable framework to perform time series analysis, from understanding the key statistics and characteristics, detecting change points and anomalies, to forecasting future trends.
MIT License
4.85k stars 530 forks source link

Issues on first use #322

Closed Rachit-Gandhi closed 6 months ago

Rachit-Gandhi commented 1 year ago

While running the basics notebook from tutorials The output error reads: File c:\Users\rachitgandhi1\Kats\tutorials..\kats__init__.py:9 7 from . import consts # noqa # usort: skip 8 from . import data # noqa # usort: skip ----> 9 from . import detectors # noqa # usort: skip 10 from . import graphics # noqa # usort: skip 11 from . import metrics # noqa # usort: skip

File c:\Users\rachitgandhi1\Kats\tutorials..\kats\detectors__init__.py:13 11 from . import detector_consts # noqa # usort: skip 12 from . import hourly_ratio_detection # noqa # usort: skip ---> 13 from . import outlier # noqa # usort: skip 15 try: 16 from . import prophet_detector # noqa # usort: skip

File c:\Users\rachitgandhi1\Kats\tutorials..\kats\detectors\outlier.py:26 24 from kats.consts import Params, TimeSeriesData, TimeSeriesIterator 25 from kats.detectors.detector import Detector ---> 26 from kats.models.bayesian_var import BayesianVAR 27 from kats.models.var import VARModel 28 from scipy import stats

File c:\Users\rachitgandhi1\Kats\tutorials..\kats\models__init__.py:6 1 # Copyright (c) Meta Platforms, Inc. and affiliates. 2 # 3 # This source code is licensed under the MIT license found in the 4 # LICENSE file in the root directory of this source tree. ----> 6 from . import ( # noqa # noqa # noqa # noqa # noqa # noqa 7 arima, 8 bayesian_var, 9 ensemble, 10 harmonic_regression, 11 holtwinters, 12 linear_model, 13 ml_ar, 14 ) 16 try: 17 from . import lstm # noqa

File c:\Users\rachitgandhi1\Kats\tutorials..\kats\models\ml_ar.py:15 13 from kats.consts import TimeSeriesData 14 from kats.metrics.metrics import smape ---> 15 from kats.tsfeatures.tsfeatures import TsCalenderFeatures, TsFourierFeatures 16 from kats.utils.parameter_tuning_utils import ( 17 get_default_lightgbm_parameter_search_space, 18 ) 19 from numpy.random import RandomState

File c:\Users\rachitgandhi1\Kats\tutorials..\kats\tsfeatures__init__.py:6 1 # Copyright (c) Meta Platforms, Inc. and affiliates. 2 # 3 # This source code is licensed under the MIT license found in the 4 # LICENSE file in the root directory of this source tree. ----> 6 from . import tsfeatures

File c:\Users\rachitgandhi1\Kats\tutorials..\kats\tsfeatures\tsfeatures.py:28 26 import pandas as pd 27 import statsmodels.api as sm ---> 28 from deprecated import deprecated 29 from scipy import stats 30 from scipy.linalg import toeplitz

ModuleNotFoundError: No module named 'deprecated'

irumata commented 6 months ago

this should gone after update https://github.com/facebookresearch/Kats/commit/8751bbbf318915cd58fad8f0463923440ff05230 , can you reproduce it still? If so please reopen and provide a command list?