Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Dec 6, 2023. It is now read-only.

A library for factorization machines and polynomial networks for classification and regression in Python.

License

NotificationsYou must be signed in to change notification settings

scikit-learn-contrib/polylearn

Repository files navigation

A library forfactorization machines andpolynomial networksfor classification and regression in Python.

Github repository.

https://travis-ci.org/scikit-learn-contrib/polylearn.svg?branch=masterhttps://ci.appveyor.com/api/projects/status/g9xnar9081l3vsw7/branch/master?svg=truehttps://coveralls.io/repos/scikit-learn-contrib/polylearn/badge.svg?branch=master&service=githubhttps://circleci.com/gh/scikit-learn-contrib/polylearn/tree/master.svg?style=shield&circle-token=:circle-token

Factorization machines and polynomial networks are machine learning modelsthat can capturefeature interaction (co-occurrence) through polynomial terms.Because feature interactions can be very sparse, it's common to uselow rank,factorized representations; this way, we can learn weights even for featureco-occurrences that haven't been observed at training time.

Factorization machines are popular for recommender systems, as they are ageneralization of matrix completion models.

This package provides:

  • coordinate descent algorithm for fitting factorization machines of degree 2 or 3,
  • coordinate descent algorithm for fitting polynomial networks of arbitrary degree,
  • scikit-learn-compatible API,
  • Cython implementations for computationally intensive parts.

Installation

Binary packages are not yet available.

The development version of polylearn can be installed from its git repository. Inthis case it is assumed that you have a workingC++ compiler.

  1. Obtain the sources by:

    git clone https://github.com/scikit-learn-contrib/polylearn.git

or, if git is unavailable,download as a ZIP from GitHub.

  1. Install the dependencies:

    # via pippip install numpy scipy scikit-learn nosepip install sklearn-contrib-lightning# via condaconda install numpy scipy scikit-learn noseconda install -c conda-forge sklearn-contrib-lightning
  2. Build and install polylearn:

    cd polylearnpython setup.py buildsudo python setup.py install

References

The solvers implemented are introduced in[1]. Factorization machines are introducedin[2] and polynomial networks in[3].

[1]Mathieu Blondel, Masakazu Ishihata, Akinori Fujino, Naonori Ueda.Polynomial Networks and Factorization Machines: New Insights andEfficient Training Algorithms. In: Proc. of ICML 2016.[PDF]
[2]Steffen Rendle.Factorization machines. In: Proc. of IEEE ICDM 2010.[PDF]
[3]Roi Livni, Shai Shalev-Shwartz, Ohad Shamir.On the computational efficiency of training neural networks.In: Proc. of NIPS 2014.[arXiv]

Authors

  • Vlad Niculae, 2016-present

About

A library for factorization machines and polynomial networks for classification and regression in Python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp