Kats is a toolkit to analyze time series data, a lightweight, easy-to-use, and generalizable framework to perform time series analysis.

Related tags

Machine LearningKats
Overview

Description

Kats is a toolkit to analyze time series data, a lightweight, easy-to-use, and generalizable framework to perform time series analysis. Time series analysis is an essential component of Data Science and Engineering work at industry, from understanding the key statistics and characteristics, detecting regressions and anomalies, to forecasting future trends. Kats aims to provide the one-stop shop for time series analysis, including detection, forecasting, feature extraction/embedding, multivariate analysis, etc.

Kats is released by Facebook's Infrastructure Data Science team. It is available for download on PyPI.

Important links

Installation in Python

Kats is on PyPI, so you can use pip to install it.

pip install --upgrade pip
pip install kats

Examples

Here are a few sample snippets from a subset of Kats offerings:

Forecasting

Using Prophet model to forecast the air_passengers data set.

from kats.consts import TimeSeriesData
from kats.models.prophet import ProphetModel, ProphetParams

# take `air_passengers` data as an example
air_passengers_df = pd.read_csv("../kats/data/air_passengers.csv")

# convert to TimeSeriesData object
air_passengers_ts = TimeSeriesData(air_passengers_df)

# create a model param instance
params = ProphetParams(seasonality_mode='multiplicative') # additive mode gives worse results

# create a prophet model instance
m = ProphetModel(air_passengers_ts, params)

# fit model simply by calling m.fit()
m.fit()

# make prediction for next 30 month
fcst = m.predict(steps=30, freq="MS")

Detection

Using CUSUM detection algorithm on simulated data set.

# import packages
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()

TSFeatures

We can extract meaningful features from the given time series data

# Initiate feature extraction class
from kats.tsfeatures.tsfeatures import TsFeatures

# take `air_passengers` data as an example
air_passengers_df = pd.read_csv("../kats/data/air_passengers.csv")

# convert to TimeSeriesData object
air_passengers_ts = TimeSeriesData(air_passengers_df)

# calculate the TsFeatures
features = TsFeatures().transform(air_passengers_ts)

Changelog

Version 0.1.0

  • Initial release

License

Kats is licensed under the MIT license.

Comments
  • ImportError

    ImportError

    Hello!

    When I was trying to import some kats functionalities on my Jupyter Notebook, it came back with a error message as below:

    ImportError Traceback (most recent call last) in ----> 1 from kats.detectors.outlier import OutlierDetector

    ~\Anaconda3\lib\site-packages\kats_init_.py in 1 from . import consts # noqa ----> 2 from . import utils # noqa 3 from . import detectors # noqa 4 from . import models # noqa 5 from . import tsfeatures # noqa

    ImportError: cannot import name 'utils' from partially initialized module 'kats' (most likely due to a circular import) (C:\Users\49683\Anaconda3\lib\site-packages\kats_init_.py)

    Anyone knows how to resolve this issue? Thanks in advance!

    opened by davidguo-7 15
  • Blocking errors while trying to install kats 0.2.0 (with or without Docker)

    Blocking errors while trying to install kats 0.2.0 (with or without Docker)

    Hi, I tried to install the latest version – both minimal and not minimal version – but it ends up with errors.

    This is a minimal Dockerfile to try to reproduce the errors.

    FROM python:3.9.15-slim
    WORKDIR /app
    RUN MINIMAL_KATS=1 pip install kats==0.2.0
    # alternative => pip install kats==0.2.0
    

    Thank you.

    opened by carlok 12
  • Add minimal installation option using MINIMAL_KATS

    Add minimal installation option using MINIMAL_KATS

    As commented on https://github.com/facebookresearch/Kats/issues/101#issuecomment-947126195, having an environment variable that's exclusive for kats avoids installation issues on projects that have multiple other dependencies, and install them using commands like pip install -r requirements.txt.

    In that scenario, setting MINIMAL_KATS avoids unintended side effects on any other dependency that understands the MINIMAL environment variable.

    CLA Signed Merged 
    opened by adamantike 10
  • Light Install on Windows

    Light Install on Windows

    I am interested in using the detectors in kats for my project (on windows), but the current install is too heavy (requiring Prophet and PyTorch and other heavy libraries). Is there a light version install for kats that provides the bare bone utility functions. If not, could one be made available?

    I see that setup.py has some option like this, but how do I enable this while installing from pip on windows?

    Thanks!

    opened by ngupta23 10
  • unable to build wheel for fbprophet while trying to install Kats in Win 10

    unable to build wheel for fbprophet while trying to install Kats in Win 10

    1. My environment is Win 10, with conda 4.9.2 and Python 3.7.6
    2. While trying to install Kats (pip install kats), I am getting the error: Building wheel for fbprophet (setup.py) ... error
    3. More lines from the error message are in attached file Kats_error.txt
    4. I had an older working fbprophet, faced same errors in trying to upgrade (pip install --upgrade fbprophet).
    5. Anybody know how to fix this?
    opened by kunalrayind 10
  • Installation breaks on Windows10 (conda environment)

    Installation breaks on Windows10 (conda environment)

    Hi everyone,

    When I try to install kats on my machine (Windows 10, build see attached screenshot), the installation breaks building the wheel for fbprophet.

    I am trying this on a fresh conda environment (conda version 4.10.1) and python3.8. My only guess is that this has todo with the ability to install pystan on windows, which is not possible without access to WSL2 (which I do not have because of corporate restrictions).

    I will attach the error message below.

    Attachments

    Windows version

    image

    Error message

    Error Message (click)

    
    ERROR: Command errored out with exit status 1:
       command: 'C:\Users\matheiss\Miniconda3\envs\tiresias-kats\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\matheiss\\AppData\\Local\\Temp\\1\\pip-install-5dy9pwq7\\fbprophet_6fb4ff087aaf40478b71089d7e634e82\\setup.py'"'"'; __file__='"'"'C:\\Users\\matheiss\\AppData\\Local\\Temp\\1\\pip-install-5dy9pwq7\\fbprophet_6fb4ff087aaf40478b71089d7e634e82\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\matheiss\AppData\Local\Temp\1\pip-wheel-xzjkrfhe'
           cwd: C:\Users\matheiss\AppData\Local\Temp\1\pip-install-5dy9pwq7\fbprophet_6fb4ff087aaf40478b71089d7e634e82\
      Complete output (42 lines):
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib
      creating build\lib\fbprophet
      creating build\lib\fbprophet\stan_model
      Traceback (most recent call last):
        File "<string>", line 1, in <module>
        File "C:\Users\matheiss\AppData\Local\Temp\1\pip-install-5dy9pwq7\fbprophet_6fb4ff087aaf40478b71089d7e634e82\setup.py", line 122, in <module>
          setup(
        File "C:\Users\matheiss\Miniconda3\envs\tiresias-kats\lib\site-packages\setuptools\__init__.py", line 163, in setup
          return distutils.core.setup(**attrs)
        File "C:\Users\matheiss\Miniconda3\envs\tiresias-kats\lib\distutils\core.py", line 148, in setup
          dist.run_commands()
        File "C:\Users\matheiss\Miniconda3\envs\tiresias-kats\lib\distutils\dist.py", line 966, in run_commands
          self.run_command(cmd)
        File "C:\Users\matheiss\Miniconda3\envs\tiresias-kats\lib\distutils\dist.py", line 985, in run_command
          cmd_obj.run()
        File "C:\Users\matheiss\Miniconda3\envs\tiresias-kats\lib\site-packages\wheel\bdist_wheel.py", line 299, in run
          self.run_command('build')
        File "C:\Users\matheiss\Miniconda3\envs\tiresias-kats\lib\distutils\cmd.py", line 313, in run_command
          self.distribution.run_command(command)
        File "C:\Users\matheiss\Miniconda3\envs\tiresias-kats\lib\distutils\dist.py", line 985, in run_command
          cmd_obj.run()
        File "C:\Users\matheiss\Miniconda3\envs\tiresias-kats\lib\distutils\command\build.py", line 135, in run
          self.run_command(cmd_name)
        File "C:\Users\matheiss\Miniconda3\envs\tiresias-kats\lib\distutils\cmd.py", line 313, in run_command
          self.distribution.run_command(command)
        File "C:\Users\matheiss\Miniconda3\envs\tiresias-kats\lib\distutils\dist.py", line 985, in run_command
          cmd_obj.run()
        File "C:\Users\matheiss\AppData\Local\Temp\1\pip-install-5dy9pwq7\fbprophet_6fb4ff087aaf40478b71089d7e634e82\setup.py", line 48, in run
          build_models(target_dir)
        File "C:\Users\matheiss\AppData\Local\Temp\1\pip-install-5dy9pwq7\fbprophet_6fb4ff087aaf40478b71089d7e634e82\setup.py", line 38, in build_models
          StanBackendEnum.get_backend_class(backend).build_model(target_dir, MODEL_DIR)
        File "C:\Users\matheiss\AppData\Local\Temp\1\pip-install-5dy9pwq7\fbprophet_6fb4ff087aaf40478b71089d7e634e82\fbprophet\models.py", line 209, in build_model
          import pystan
        File "C:\Users\matheiss\Miniconda3\envs\tiresias-kats\lib\site-packages\pystan\__init__.py", line 9, in <module>
          from pystan.api import stanc, stan
        File "C:\Users\matheiss\Miniconda3\envs\tiresias-kats\lib\site-packages\pystan\api.py", line 13, in <module>
          import pystan._api  # stanc wrapper
      ImportError: DLL load failed while importing _api: Das angegebene Modul wurde nicht gefunden.
      ----------------------------------------
      ERROR: Failed building wheel for fbprophet
      Running setup.py clean for fbprophet
    Failed to build fbprophet
    Installing collected packages: fbprophet, ax-platform, attrs, kats
        Running setup.py install for fbprophet ... error
        ERROR: Command errored out with exit status 1:
         command: 'C:\Users\matheiss\Miniconda3\envs\tiresias-kats\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\matheiss\\AppData\\Local\\Temp\\1\\pip-install-5dy9pwq7\\fbprophet_6fb4ff087aaf40478b71089d7e634e82\\setup.py'"'"'; __file__='"'"'C:\\Users\\matheiss\\AppData\\Local\\Temp\\1\\pip-install-5dy9pwq7\\fbprophet_6fb4ff087aaf40478b71089d7e634e82\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\matheiss\AppData\Local\Temp\1\pip-record-nj09haiu\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\matheiss\Miniconda3\envs\tiresias-kats\Include\fbprophet'
             cwd: C:\Users\matheiss\AppData\Local\Temp\1\pip-install-5dy9pwq7\fbprophet_6fb4ff087aaf40478b71089d7e634e82\
        Complete output (44 lines):
        running install
        running build
        running build_py
        creating build
        creating build\lib
        creating build\lib\fbprophet
        creating build\lib\fbprophet\stan_model
        Traceback (most recent call last):
          File "<string>", line 1, in <module>
          File "C:\Users\matheiss\AppData\Local\Temp\1\pip-install-5dy9pwq7\fbprophet_6fb4ff087aaf40478b71089d7e634e82\setup.py", line 122, in <module>
            setup(
          File "C:\Users\matheiss\Miniconda3\envs\tiresias-kats\lib\site-packages\setuptools\__init__.py", line 163, in setup
            return distutils.core.setup(**attrs)
          File "C:\Users\matheiss\Miniconda3\envs\tiresias-kats\lib\distutils\core.py", line 148, in setup
            dist.run_commands()
          File "C:\Users\matheiss\Miniconda3\envs\tiresias-kats\lib\distutils\dist.py", line 966, in run_commands
            self.run_command(cmd)
          File "C:\Users\matheiss\Miniconda3\envs\tiresias-kats\lib\distutils\dist.py", line 985, in run_command
            cmd_obj.run()
          File "C:\Users\matheiss\Miniconda3\envs\tiresias-kats\lib\site-packages\setuptools\command\install.py", line 61, in run
            return orig.install.run(self)
          File "C:\Users\matheiss\Miniconda3\envs\tiresias-kats\lib\distutils\command\install.py", line 545, in run
            self.run_command('build')
          File "C:\Users\matheiss\Miniconda3\envs\tiresias-kats\lib\distutils\cmd.py", line 313, in run_command
            self.distribution.run_command(command)
          File "C:\Users\matheiss\Miniconda3\envs\tiresias-kats\lib\distutils\dist.py", line 985, in run_command
            cmd_obj.run()
          File "C:\Users\matheiss\Miniconda3\envs\tiresias-kats\lib\distutils\command\build.py", line 135, in run
            self.run_command(cmd_name)
          File "C:\Users\matheiss\Miniconda3\envs\tiresias-kats\lib\distutils\cmd.py", line 313, in run_command
            self.distribution.run_command(command)
          File "C:\Users\matheiss\Miniconda3\envs\tiresias-kats\lib\distutils\dist.py", line 985, in run_command
            cmd_obj.run()
          File "C:\Users\matheiss\AppData\Local\Temp\1\pip-install-5dy9pwq7\fbprophet_6fb4ff087aaf40478b71089d7e634e82\setup.py", line 48, in run
            build_models(target_dir)
          File "C:\Users\matheiss\AppData\Local\Temp\1\pip-install-5dy9pwq7\fbprophet_6fb4ff087aaf40478b71089d7e634e82\setup.py", line 38, in build_models
            StanBackendEnum.get_backend_class(backend).build_model(target_dir, MODEL_DIR)
          File "C:\Users\matheiss\AppData\Local\Temp\1\pip-install-5dy9pwq7\fbprophet_6fb4ff087aaf40478b71089d7e634e82\fbprophet\models.py", line 209, in build_model
            import pystan
          File "C:\Users\matheiss\Miniconda3\envs\tiresias-kats\lib\site-packages\pystan\__init__.py", line 9, in <module>
            from pystan.api import stanc, stan
          File "C:\Users\matheiss\Miniconda3\envs\tiresias-kats\lib\site-packages\pystan\api.py", line 13, in <module>
            import pystan._api  # stanc wrapper
        ImportError: DLL load failed while importing _api: Das angegebene Modul wurde nicht gefunden.
        ----------------------------------------
    ERROR: Command errored out with exit status 1: 'C:\Users\matheiss\Miniconda3\envs\tiresias-kats\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\matheiss\\AppData\\Local\\Temp\\1\\pip-install-5dy9pwq7\\fbprophet_6fb4ff087aaf40478b71089d7e634e82\\setup.py'"'"'; __file__='"'"'C:\\Users\\matheiss\\AppData\\Local\\Temp\\1\\pip-install-5dy9pwq7\\fbprophet_6fb4ff087aaf40478b71089d7e634e82\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\matheiss\AppData\Local\Temp\1\pip-record-nj09haiu\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\matheiss\Miniconda3\envs\tiresias-kats\Include\fbprophet' Check the logs for full command output.
    

    opened by mjt91 10
  • How to get exact outliers in Univariate Time Series using OutlierDetector?

    How to get exact outliers in Univariate Time Series using OutlierDetector?

    Hello, I'm trying to analyze the Outlier Detection framework for my project but it appears like the model returns the outlier range (not the exact index). Below are the details about my dataset.

    2019-01-01 | 35 2019-01-02 | 32 2019-01-03 | 30 2019-01-04 | 31 2019-01-05 | 44 2019-01-06 | 29 2019-01-07 | 45 2019-01-08 | 43 2019-01-09 | 500 2019-01-10 | 27 2019-01-11 | 38 ..... I would expect the model to return the outlier as "500" and date as "2019-01-09". But the model returns as below. ts_outDetection.outliers[0] -> [Timestamp('2019-01-06 00:00:00'), Timestamp('2019-01-07 00:00:00'), Timestamp('2019-01-08 00:00:00'), Timestamp('2019-01-09 00:00:00'), Timestamp('2019-01-10 00:00:00'), Timestamp('2019-01-11 00:00:00'), Timestamp('2019-01-12 00:00:00')]

    Can someone help me to understand the outlier detector concept in Kats or direct me to the reference document(if any) please? Let me know if you need more details. FB Kats Issue

    opened by sthirumoorthi 9
  • Use running index as time_col

    Use running index as time_col

    I have time series data with the time_col is the index of the dataframe:

    df = [index  value 
                0         31
                1          22
                2         15
                3         77]
    

    When I am trying to convert it to TimeSeriesData, the index is automatically transform to epoch time. (e.g. 1970-01-01 00:00:00.000000095) Is there a way to keep the time_col as the mere index when using TimeSeriesData

    opened by orko19 9
  • AttributeError: 'pandas._libs.properties.CachedProperty' object has no attribute 'func'

    AttributeError: 'pandas._libs.properties.CachedProperty' object has no attribute 'func'

    Hi there,

    I face an error when I run m.fit() on the "Forecasting with Ensemble model" section. image

    Could please anyone share how to address it?

    Many thank

    opened by dreldrel 8
  • updating naming of statsmodels ARIMA

    updating naming of statsmodels ARIMA

    Fixes

    NotImplementedError: 
    statsmodels.tsa.arima_model.ARMA and statsmodels.tsa.arima_model.ARIMA have
    been removed in favor of statsmodels.tsa.arima.model.ARIMA (note the .
    between arima and model) and statsmodels.tsa.SARIMAX.
    
    statsmodels.tsa.arima.model.ARIMA makes use of the statespace framework and
    is both well tested and maintained. It also offers alternative specialized
    parameter estimators
    
    CLA Signed 
    opened by ourownstory 8
  • CUMSUMDetector example doesn't work

    CUMSUMDetector example doesn't work

    Hi,

    Thank you very much for sharing your work! I try to learn from Kats 202 - Detection with Kats and use it on my data, but there is an issue. I don't manage to see what happens when I run cell 2(generating df_increase_decrease) and 3 (using CUMSUMDetector function) from Kats 202 - Detection with Kats. Instead of having the graph that is visible in the document at the output 3, I get this ERROR: "view limit minimum -7.75699... is less than 1 and is an invalid Matplotlib date value. This often happens if you pass a non-datetime value to an axis that has datetime units".

    I don't know what causes this issue, I have had a look around on different forums and I can't find the solution. I would be very happy if you could help me.

    Regards, Adriana

    opened by adalaza12 8
  • kats cusum detector gives wrong date range.

    kats cusum detector gives wrong date range.

    I have 1 year of data. It is increasing by minutes. When the date of the last data is 2022-05-14, when I turn on the cusum detector, it makes predictions from 2022-09-01. Where are the 4 months in between and how do they start from this date?and why it treats certain ranges as zero. @brundage @likethesky Annotation 2022-12-23 105501

    opened by nebiyebulan 0
  • pystan2 is so old to install on latest mac

    pystan2 is so old to install on latest mac

    build and install pystan2 will got

    In file included from pystan/stan/lib/stan_math/lib/boost_1.72.0/boost/spirit/home/support/detail/sign.hpp:16:
    pystan/stan/lib/stan_math/lib/boost_1.72.0/boost/math/special_functions/sign.hpp:30:22: error: reference to unresolved using declaration
            return (std::signbit)(x) ? 1 : 0;
                         ^
    

    Considering upgrade to pystan3?

    opened by jiamo 1
  • Kats installation throws gcc error

    Kats installation throws gcc error

    Hello,

    I am trying to install Kats on Linux server, and while installing KATS getting error w.r.t fbprophet. The dependency tree that I could understood is KATs-> fbprophet -> Pystan -> gcc.

    The default versions of that is being installed by KATS is 2.19.0.1 which is the reason that fbprophet is not being installed, and erroring out with this trace

    """ Requirement already satisfied: zipp>=3.1.0 in /usr/local/lib/python3.6/site-packages (from importlib-resources->tqdm>=4.36.1->kats) (3.6.0) Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib64/python3.6/site-packages (from jinja2->ax-platform->kats) (2.0.1) Using legacy 'setup.py install' for kats, since package 'wheel' is not installed. Using legacy 'setup.py install' for fbprophet, since package 'wheel' is not installed. Using legacy 'setup.py install' for gpytorch, since package 'wheel' is not installed. Using legacy 'setup.py install' for pymeeus, since package 'wheel' is not installed. Installing collected packages: pymeeus, tenacity, pillow, korean-lunar-calendar, kiwisolver, hijri-converter, gpytorch, ephem, cycler, convertdate, setuptools-git, pystan, plotly, matplotlib, LunarCalendar, llvmlite, jinja2, holidays, cmdstanpy, botorch, seaborn, pymannkendall, numba, fbprophet, ax-platform, kats Running setup.py install for pymeeus ... done Running setup.py install for gpytorch ... done Running setup.py install for fbprophet ... error ERROR: Command errored out with exit status 1: command: /usr/bin/python3.6 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-qwp7ohe8/fbprophet_448e98b19ac4433082176167ec40db97/setup.py'"'"'; file='"'"'/tmp/pip-install-qwp7ohe8/fbprophet_448e98b19ac4433082176167ec40db97/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-j3352f7m/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.6m/fbprophet cwd: /tmp/pip-install-qwp7ohe8/fbprophet_448e98b19ac4433082176167ec40db97/ Complete output (11 lines): running install /usr/local/lib/python3.6/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. setuptools.SetuptoolsDeprecationWarning, running build running build_py creating build creating build/lib creating build/lib/fbprophet creating build/lib/fbprophet/stan_model INFO:pystan:COMPILING THE C++ CODE FOR MODEL anon_model_dfdaf2b8ece8a02eb11f050ec701c0ec NOW. error: command 'gcc' failed with exit status 1 ---------------------------------------- ERROR: Command errored out with exit status 1: /usr/bin/python3.6 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-qwp7ohe8/fbprophet_448e98b19ac4433082176167ec40db97/setup.py'"'"'; file='"'"'/tmp/pip-install-qwp7ohe8/fbprophet_448e98b19ac4433082176167ec40db97/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-j3352f7m/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.6m/fbprophet Check the logs for full command output.

    """

    However, when I manually installed Pystan with this version 2.18.0.0, and then fbprophet 0.6 version could be installed manually. However, I do not know how while installing just kats other dependency specific versions can be specified. Could you please help me with the same. I have been trying it a lot, but have not gotten any progress.

    Thank you very much for your help.

    opened by psxpa3 1
  • TSFeatures : Memory issue  and similar results for all time steps for 15Min data

    TSFeatures : Memory issue and similar results for all time steps for 15Min data

    I am working on 15min interval sales data of 4 years, when I was trying to generate features for my entire, I have been getting memory issue. Could you please help me with this, how to tackle this issue.

    and other thing, for 15min interval data, all features have single unique value for entire period. So please provide some examples for 15min data. Please find the attachments. Requesting you for earliest response.

    Thanks in advance

    image

    image

    opened by Manjubn777 0
Releases(v0.2.0)
Owner
Facebook Research
Facebook Research
Generate music from midi files using BPE and markov model

Generate music from midi files using BPE and markov model

Aditya Khadilkar 37 Oct 24, 2022
SmartSim makes it easier to use common Machine Learning (ML) libraries like PyTorch and TensorFlow

SmartSim makes it easier to use common Machine Learning (ML) libraries like PyTorch and TensorFlow, in High Performance Computing (HPC) simulations and workloads.

Tutorials, examples, collections, and everything else that falls into the categories: pattern classification, machine learning, and data mining

**Tutorials, examples, collections, and everything else that falls into the categories: pattern classification, machine learning, and data mining.** S

Sebastian Raschka 4k Dec 30, 2022
Educational python for Neural Networks, written in pure Python/NumPy.

Educational python for Neural Networks, written in pure Python/NumPy.

127 Oct 27, 2022
AI and Machine Learning with Kubeflow, Amazon EKS, and SageMaker

Data Science on AWS - O'Reilly Book Get the book on Amazon.com Book Outline Quick Start Workshop (4-hours) In this quick start hands-on workshop, you

Data Science on AWS 2.8k Jan 03, 2023
A machine learning project that predicts the price of used cars in the UK

Car Price Prediction Image Credit: AA Cars Project Overview Scraped 3000 used cars data from AA Cars website using Python and BeautifulSoup. Cleaned t

Victor Umunna 7 Oct 13, 2022
Dieses Projekt ermöglicht es den Smartmeter der EVN (Netz Niederösterreich) über die Kundenschnittstelle auszulesen.

SmartMeterEVN Dieses Projekt ermöglicht es den Smartmeter der EVN (Netz Niederösterreich) über die Kundenschnittstelle auszulesen. Smart Meter werden

greenMike 43 Dec 04, 2022
The Fuzzy Labs guide to the universe of open source MLOps

Open Source MLOps This is the Fuzzy Labs guide to the universe of free and open source MLOps tools. Contents What is MLOps, anyway? Data version contr

Fuzzy Labs 352 Dec 29, 2022
Machine Learning approach for quantifying detector distortion fields

DistortionML Machine Learning approach for quantifying detector distortion fields. This project is a feasibility study for training a surrogate model

Joel Bernier 1 Nov 05, 2021
Create large-scale ML-driven multiscale simulation ensembles to study the interactions

MuMMI RAS v0.1 Released: Nov 16, 2021 MuMMI RAS is the application component of the MuMMI framework developed to create large-scale ML-driven multisca

4 Feb 16, 2022
Fit interpretable models. Explain blackbox machine learning.

InterpretML - Alpha Release In the beginning machines learned in darkness, and data scientists struggled in the void to explain them. Let there be lig

InterpretML 5.2k Jan 09, 2023
[HELP REQUESTED] Generalized Additive Models in Python

pyGAM Generalized Additive Models in Python. Documentation Official pyGAM Documentation: Read the Docs Building interpretable models with Generalized

daniel servén 747 Jan 05, 2023
Causal Inference and Machine Learning in Practice with EconML and CausalML: Industrial Use Cases at Microsoft, TripAdvisor, Uber

Causal Inference and Machine Learning in Practice with EconML and CausalML: Industrial Use Cases at Microsoft, TripAdvisor, Uber

EconML/CausalML KDD 2021 Tutorial 124 Dec 28, 2022
PySpark + Scikit-learn = Sparkit-learn

Sparkit-learn PySpark + Scikit-learn = Sparkit-learn GitHub: https://github.com/lensacom/sparkit-learn About Sparkit-learn aims to provide scikit-lear

Lensa 1.1k Jan 04, 2023
A Python package to preprocess time series

Disclaimer: This package is WIP. Do not take any APIs for granted. tspreprocess Time series can contain noise, may be sampled under a non fitting rate

Maximilian Christ 57 Dec 17, 2022
ThunderGBM: Fast GBDTs and Random Forests on GPUs

Documentations | Installation | Parameters | Python (scikit-learn) interface What's new? ThunderGBM won 2019 Best Paper Award from IEEE Transactions o

Xtra Computing Group 648 Dec 16, 2022
This is the code repository for LRM Stochastic watershed model.

LRM-Squannacook Input data for generating stochastic streamflows are observed and simulated timeseries of streamflow. their format needs to be CSV wit

1 Feb 14, 2022
Machine Learning University: Accelerated Natural Language Processing Class

Machine Learning University: Accelerated Natural Language Processing Class This repository contains slides, notebooks and datasets for the Machine Lea

AWS Samples 2k Jan 01, 2023
Massively parallel self-organizing maps: accelerate training on multicore CPUs, GPUs, and clusters

Somoclu Somoclu is a massively parallel implementation of self-organizing maps. It exploits multicore CPUs, it is able to rely on MPI for distributing

Peter Wittek 239 Nov 10, 2022
A library of extension and helper modules for Python's data analysis and machine learning libraries.

Mlxtend (machine learning extensions) is a Python library of useful tools for the day-to-day data science tasks. Sebastian Raschka 2014-2021 Links Doc

Sebastian Raschka 4.2k Dec 29, 2022