Giter VIP home page Giter VIP logo

Comments (13)

sankexin avatar sankexin commented on June 29, 2024 1

#python3.8
pip install numpy
pip install pandas
pip install convertdate
pip install lunarcalendar
pip install holidays==0.23
pip install tqdm
pip install pystan==2.19.1.1
pip install fbprophet==0.7.1
pip install kats
pip install Packaging==21.3

from kats.

Nutingnon avatar Nutingnon commented on June 29, 2024 1

I met the same error. Kats is so difficult to install. and it seems the authors won't do any updates

from kats.

shreyastalamakki avatar shreyastalamakki commented on June 29, 2024

same issue:
image

from kats.

shreyastalamakki avatar shreyastalamakki commented on June 29, 2024

@iamxiaodong is there any update on this?

from kats.

sankexin avatar sankexin commented on June 29, 2024

from kats.

Shuimo03 avatar Shuimo03 commented on June 29, 2024

if python version is 3.7 the solution solved, this is my docker build result:
image

from kats.

Shuimo03 avatar Shuimo03 commented on June 29, 2024

this is example:

import numpy as np
import pandas as pd

from kats.consts import TimeSeriesData
from kats.detectors.cusum_detection import CUSUMDetector

# simulate time series with increase
np.random.seed(10)
df_increase = pd.DataFrame(
    {
        'time': pd.date_range('2019-01-01', '2019-03-01'),
        'increase':np.concatenate([np.random.normal(1,0.2,30), np.random.normal(2,0.2,30)]),
    }
)

# convert to TimeSeriesData object
timeseries = TimeSeriesData(df_increase)

# run detector and find change points
change_points = CUSUMDetector(timeseries).detector()


print("change_points:",change_points)

image

from kats.

badjouras avatar badjouras commented on June 29, 2024

Hi everyone. I was running into this issue in Databricks. This is what worked for me:

  1. Use Databricks Runtime Version <= 11.3 LTS (which includes Python 3.9.5)
  2. Install torch==2.0.1.

from kats.

sankexin avatar sankexin commented on June 29, 2024

from kats.

FortuneStar avatar FortuneStar commented on June 29, 2024

You can refer to here

from kats.

swimmingCreative avatar swimmingCreative commented on June 29, 2024

if python version is 3.7 the solution solved, this is my docker build result: image

can you share your requirements.txt? Thanks in advance.

from kats.

Shuimo03 avatar Shuimo03 commented on June 29, 2024

if python version is 3.7 the solution solved, this is my docker build result: image

can you share your requirements.txt? Thanks in advance.

sorry, this is too long ago

from kats.

irumata avatar irumata commented on June 29, 2024

closed with fdependency fixes

from kats.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.