Skip to content

philipperemy/fractional-differentiation-time-series

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fractional Differentiation on Time Series (original implementation)

As described in Advances of Machine Learning by Marcos Prado.

SP500 returns with fractional differentiation

This example reproduces the visual seen in the book of Marcos Prado.

Installation

Via PyPI.

pip install fracdiff2

API

As straightforward as possible.

from fracdiff2 import frac_diff_ffd
import numpy as np

x = np.random.uniform(size=(1000,))
frac_diff_ffd(x, d=0.5)

References

Note

This repository was written in 2018. It seems like a new faster library was created in 2022: fracdiff. It is worth checking it out.

About

As described in Advances of Machine Learning by Marcos Prado.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages