Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 2.15 KB

README.md

File metadata and controls

43 lines (33 loc) · 2.15 KB

regression-algorithm

Including some experimental code for the LOWESS, Liner, and Polynomial Regression algorithm.

Demo

1. LOWESS

LOWESS

2. Liner Regression

Liner Regression

3. Polynomial Regression

Polynomial Regression

4. Exponentially-Weighted Moving Average

Exponentially-Weighted Moving Average with Window Holt Winters EWMA

Dependency

It's based on SciPy

1. Ubuntu

sudo apt-get install python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose

2. Redhat/CentOS

sudo yum install numpy scipy python-matplotlib ipython python-pandas sympy python-nose

3. Windows/Mac

The easiest way to install the packages of the SciPy stack is to download one of these Python distributions, which includes all the key packages:

  • Anaconda: A free distribution for the SciPy stack. Supports Linux, Windows and Mac.
  • Enthought Canopy: The free and commercial versions include the core SciPy stack packages. Supports Linux, Windows and Mac.
  • Python(x,y): A free distribution including the SciPy stack, based around the Spyder IDE. Windows only.
  • WinPython: A free distribution including the SciPy stack. Windows only.
  • Pyzo: A free distribution based on Python 3 (see Note on Python 3) with the IEP editor. Supports Linux and Windows.
  • Algorete Loopy: A free, community oriented distribution for the SciPy stack maintained by researches at Dartmouth College. Loopy supports both Python 2 and 3 on Linux, Windows and Mac OSX. The distribution is derived from Anaconda with additional packages (e.g. Space Physics, BioInformatics).