Giter Club home page Giter Club logo

fastfm's Introduction

A short paper describing the library is now available on arXiv http://arxiv.org/abs/1505.00641

This repository contains the python interface. Please have a look at https://github.com/ibayer/fastFM-core if you are interessed in the command line interface or the solver source code (implemented in C).

GIT CLONE INSTRUCTION

This repository relays on sub-repositories just using git clone .. doesn't fetch them.

use: git clone --recursive https://github.com/ibayer/fastFM.git

Or do the two-step dance if you wish. You need to run git submodule update --init --recursive from within the fastFM-core/ folder in order to clone them as well.

DEPENDENCIES

python libraries

  • scikit-learn
  • numpy
  • scipy
  • pandas
  • cython

install with pip install -r /fastFM/requirements.txt

C libraries

  • CXSparse (included as submodule)
  • glib-2.0

This worked on ubuntu 14.04: sudo apt-get install libglib2.0-dev libatlas-base-dev python-dev

Install fastFM (python)

First build the C libraries: (cd fastFM/; make)

For development install the lib inplace:

(Run the following command from the same directory as git clone before.)

pip install -e fastFM/

Install on OSX

Recommended way to manage dependencies is Homebrew package manager. If you have brew installed, dependencies can be installed by running command brew install glib gsl argp-standalone. (Contributed by altimin)

Install on Windows

It should be possible to compile the library on Windows. I'm developing on linux but have received multiple requests from people who want to run this library on other platforms. Please let me know about issues you ran into or how you manged to compile on other platfroms (or just open a PR) so that we include this information here.

how to run tests

pick your favorite test runner

cd /fastFM/fastFM/tests/; py.test or

cd /fastFM/fastFM/tests/; nosetests

Examples

Please have a look add the files in /fastFM/fastFM/tests/ for examples on how to use FMs for different tasks.

fastfm's People

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.