timers-rs 0.1.3

Time series library for analysts, ML engineers, and data scientists. This package was actually built as a course module.
Documentation
  • Coverage
  • 0%
    0 out of 38 items documented0 out of 23 items with examples
  • Size
  • Source code size: 22.69 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.32 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • ravinthiranpartheepan1407/timers
    0 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ravinthiranpartheepan1407

This package was actually built as a course module. In the course, I cover the math behind each time series model and build everything from scratch without using any external crates. Check out this course here: https://www.udemy.com/course/build-an-open-source-time-series-lib-from-scratch-in-rust/?referralCode=802A036F5A6D7453BCBD

Library Modules:

arima arma autocorrelation autoregressive sarima seasonality ses sma stationarity trend whitenoise wma

Sample Usage:

use timers_rs::autocorrelation::autocorrelation;
use timers_rs::ses;

fn main() {

    let series = vec![10.0, 12.0, 14.0, 16.0, 18.0, 20.0];

    let model = ses::ExponentialSmoothing{
        alpha: 0.5,
        beta: Some(0.0),
    };

    let single_exponential_smoothing = model.single_exponential_smoothing(&series);
    println!("Single Exponential Smoothing: {:?}", single_exponential_smoothing);

    let autocorrelation_result = autocorrelation(&series, 2);
    println!("Autocorrealtion Result {}", autocorrelation_result);

}