Giter Club home page Giter Club logo

stpy's Introduction

Stochastic Process Library for Python (stpy)

Repository Icon

stpy is a python library and allows for efficient and easy implentation of fitting, analysis and uncertainty quantification of machine learning models. Particular emphasis is put on

  • Gaussian process (various kernels and kernel arirthmetic supported)
  • Embedding approximation such as
    • Fourier features
    • Nystrom features
    • Bernstein polynomials
    • Different polynomial features
    • shape constrained features
  • Poisson Point Process & Cox Point Process
  • Multiple Kernel Learning
  • Dirichlet & Categorical Mixtures

We are inspired by scikit-learn, a influential python package, and we implement it with procedures add_data and fit workflow. This library is direct competitor to gpytorch where our library is easier, according to our opinion, easier to use and optimize hyperparameters.

Installation

First clone the repository:

git clone https://github.com/Mojusko/stpy

Inside the project directory, run

pip install -e .

The -e option installs the package in "editable" mode, where pip links to your local copy of the repository, instead of copying the files to the your site-packages directory. That way, a simple git pull will update the package. The project requires Python 3.6, and the dependencies should be installed with the package (let me know if it doesn't work for you).

Tutorials

  • Gaussian process
    1. Fitting the model through evidence maximization ref
    2. Comparison of sampling with Fourier Features ref
  • Poisson point process
    1. Fitting a poisson process
  • Regularized Kernel Ridge Regression
    1. fitting & creating uncertainty sets
    2. Setting a basis

Requires

Projects using stpy

  1. sensepy - poisson sensing library
  2. mutedpy - active learning and analysis of mutational data for protein engineering
  3. doexpy - modern experiment design library

Licence

Copyright (c) 2021 Mojmir Mutny

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software to use the Software but not distribute further.

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Contributions

Mojmir Mutny

stpy's People

Stargazers

 avatar

Watchers

 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.