Git Product home page Git Product logo

firls's Introduction

firls: !!!UNDER DEVELOPMENT!!!

Python implementation of Generalised Linear Model (GLM) using numpy, numba and scipy.

Build Status Code style: black License: MIT

FIRLS is a package for solving sparse and dense penalised Generalised Linear Model. It is fully written in python. FIRLS includes these families with their natural link:

  • Gaussian | identity
  • Poisson | log
  • Negative binomial | log
  • Binomial | log
  • Bernoulli | log

For each family norm 1 and norm 2 penalty can be added.

Sparse matrix

The library support solving large sparse problems. Currently the norm 1 is not supported. A sparse version of the cyclical coordinate descent algorithm will come later.

Scikit-learn API

The package subclass BaseEstimator and LinearClassifierMixin and is usable with scikit-learn.

Dependencies

There is three main dependencies: numpy, scipy and numba. To use the scikit-learn API you will need to install it!

Installation

just do: pip install git+https://github.com/jcrichard/firls.git

References

Friedman, J., Hastie, T. and Tibshirani, R. (2010) Regularization Paths for Generalized Linear Models via Coordinate Descent, Journal of Statistics Software 33(1), pp. 1-22.

Hardin, J.W. (2018), Generalized Linear Models and Extensions: Fourth Edition, Stata Press.

firls's People

Contributors

jcrichard avatar

Stargazers

 avatar  avatar

Forkers

fagan2888

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.