Code Monkey home page Code Monkey logo

pydlm-lite's Introduction

The lite version of the main pydlm package where the plotting functionality and the dependency on the matplotlib has been removed. Most refactoring work will be conducted on this package to improve the class on multi-threading and online learning. In the meanwhile, the main pydlm package will remain in its current structure for future development.

Going forward, the two packages will be developed under two different principles:

  1. pydlm will support more sophisticated models and more advanced algorithm such as sequential monte carlo. The algorithm will be optimized in terms of accuracy rather than latency. The primary use case is on advanced inference and data analysis with small datasets.

  2. pydlm-lite will mainly focus on normal-normal and poisson-gamma models with the fastest possible fitting algorithm. The class design will support concurrency and online updating. The primary use case is scalable anomaly detection and forecasting with millions of time series.

Updates in the github version

  • Plan to refactor the dlm class. Align with the goal to separate model and data, I'm going to refactor the dlm class such that
    1. The main dlm class will only contain model build information and is supposed to be 'const' after construction.
    2. Time series data will be passed in as an argument to the fit or forwardFilter and the fitted result will be returned as well as the model status.
    3. Model status can also be passed into fit and forwardFilter as a prior. The goal is to make the dlm class state-independent, so that the class is thread-safe and can be shared by multiple threads for parallel processing. While in progress, all the old class behavior will be kept.

Documentation

Detailed documentation is provided in PyDLM with special attention to the User manual.

pydlm-lite's People

Contributors

wwrechard avatar dtolpin avatar delicioushair avatar guo-li avatar liguopku avatar xgdgsc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.