Skip to content

swaroop9ai9/raptorarima

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Raptor ARIMA Model Python API

  • This API Supports to model time series data using box-jenkins model.

Python Installation:

  • Command for installation: 'pip3 install raptorarima'

Usage

The ARIMA Model is an implementation from scratch which using MA, AR and differencing to model the Data.

Define the p,d,q parameters.
q = 1
d = 0
p = 3

m = ARIMA(q, d, p)
pred = m.fit_predict(x)

Installation

git clone https://github.com/swaroop9ai9/Fintech/raptor_arima_api.git
cd raptor arima
python setup.py install

Requirements

  • pandas
  • numpy
  • random

Note

Make sure to use Time series Data Values.

Steps to create pip package

  1. Prepare directory with setup.py, packagename(apiname(init.py[with main code]),other py files which supports the init.py file.)
  2. Upload the package to Git
  3. cd packagename
  4. chmod +x apiname #makes it an executable
  5. python3 setup.py bdist_wheel [
  • build: build package information.
  • dist: Contains your .whl file. A WHL file is a package saved in the Wheel format, which is the standard built-package format used for Python distributions. You can directly install a .whl file using pip install some_package.whl on your system
  • project.egg.info: An egg package contains compiled bytecode, package information, dependency links, and captures the info used by the setup.py test command when running tests.]
  1. [Optional] to check install on local machine python -m pip install dist/packagename-0.1-py3-none-any.whl

  2. python3 -m twine upload dist/* [in order to upload the package] (Will ask your username and password in pypi)

  3. Login to pypi account to view the uploaded package

About

Implementation of Arima model from scratch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages