Skip to content
forked from neonnnnn/pyrfm

A library for random feature maps in Python.

License

Notifications You must be signed in to change notification settings

tenglinxi/pyrfm

 
 

Repository files navigation

pyrfm

A library for random feature maps and linear models with random feature maps in Python.

Build Status Actions Status

Installation

  1. Download the source codes by

    git clone https://github.com/neonnnnn/pyrfm.git

or download as a ZIP from GitHub.

  1. Install the dependencies:

    cd pyrfm

    pip install -r requirements.txt

  2. Finally, build and install pyrfm by

    python setup.py install

For running example codes (pyrfm/benchmarks), jupyter and matplotlib are required.

Dependencies

  • Python >= 3.6 with NumPy >= 1.18, SciPy >= 1.4, Cython >= 0.29 and scikit-learn >= 0.23

Documentation

https://neonnnnn.github.io/pyrfm/

What are random feature maps?

Using random feature maps is a promising way for large-scale kernel methods. They are maps from an original feature space to a randomized feature space approximating a kernel-induced feature space. The idea is to run linear models on such randomized feature space for classification, regression, clustering, etc. When the dimension of the random feature map D is not so high and the number of training example N is large, this approach is very efficient compared to canonical kernel methods.

Authors

  • Kyohei Atarashi, 2018-present

About

A library for random feature maps in Python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 74.7%
  • Python 21.7%
  • Jupyter Notebook 2.9%
  • Makefile 0.4%
  • TeX 0.2%
  • Awk 0.1%