All Projects → PorkShoulderHolder → python-libmf

PorkShoulderHolder / python-libmf

Licence: other
No description or website provided.

Programming Languages

C++
36643 projects - #6 most used programming language
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to python-libmf

OLSTEC
OnLine Low-rank Subspace tracking by TEnsor CP Decomposition in Matlab: Version 1.0.1
Stars: ✭ 30 (+25%)
Mutual labels:  matrix-factorization, online-learning
Nmflibrary
MATLAB library for non-negative matrix factorization (NMF): Version 1.8.1
Stars: ✭ 153 (+537.5%)
Mutual labels:  matrix-factorization, online-learning
base58
Fast implementation of base58 encoding on golang.
Stars: ✭ 121 (+404.17%)
Mutual labels:  fast
PHDMF
This is a new deep learning model for recommender system, which we called PHD
Stars: ✭ 33 (+37.5%)
Mutual labels:  matrix-factorization
fundamental-tools
Web applications with ABAP, done simple.
Stars: ✭ 42 (+75%)
Mutual labels:  fast
qpage
👨‍💻 Free Project For Creating Academic Homepage Without Any Code In 3min
Stars: ✭ 87 (+262.5%)
Mutual labels:  fast
Maat
Validation and transformation library powered by deductive ascending parser. Made to be extended for any kind of project.
Stars: ✭ 27 (+12.5%)
Mutual labels:  fast
TypeKitchen
TypeKitchen is a set of small libraries for fast metaprogramming in .NET Standard.
Stars: ✭ 14 (-41.67%)
Mutual labels:  fast
dowels
🔨 a tiny but powerful javascript library that performs client-side routing, templating, and REST API communication to help you get your single-page web applications running in seconds
Stars: ✭ 13 (-45.83%)
Mutual labels:  fast
DynAdjust
Least squares adjustment software
Stars: ✭ 43 (+79.17%)
Mutual labels:  fast
jobflow
runs stuff in parallel (like GNU parallel, but much faster and memory-efficient)
Stars: ✭ 67 (+179.17%)
Mutual labels:  fast
chclient
Fast http client for SELECT queries in clickhouse
Stars: ✭ 44 (+83.33%)
Mutual labels:  fast
zsh-config
Faster and enjoyable ZSH (maybe) !!!
Stars: ✭ 64 (+166.67%)
Mutual labels:  fast
rec-a-sketch
content discovery... IN 3D
Stars: ✭ 45 (+87.5%)
Mutual labels:  matrix-factorization
komihash
Very fast, high-quality hash function (non-cryptographic, C) + PRNG
Stars: ✭ 68 (+183.33%)
Mutual labels:  fast
contentfully
A simple but performant REST client for Contentful.
Stars: ✭ 13 (-45.83%)
Mutual labels:  fast
ImmediateReflection
.NET library that aims to provide faster usage of C# reflection features. Especially the usage of constructor and members accessors (get/set). It also provides an ObjectWrapper object allowing to use Reflection in a faster way. And finally it offers the possibility to create strongly typed delegates.
Stars: ✭ 30 (+25%)
Mutual labels:  fast
route
A fast router for PHP
Stars: ✭ 27 (+12.5%)
Mutual labels:  fast
litchi
这是一款分布式的java游戏服务器框架
Stars: ✭ 97 (+304.17%)
Mutual labels:  fast
AutoMagic
A magically fast, lightweight and customizable javascript library.
Stars: ✭ 16 (-33.33%)
Mutual labels:  fast

install with pip

pip install libmf

Or install with setup.py

python setup.py install

Or compile from source

Still easy, you just need a standard c++ compiler, and you need to make sure that your mf.py file can find the libmf.so file

$ cd python-libmf
$ g++ --std=c++11 src/*.cpp -shared -o libmf.so

That should create a python-libmf.so file which mf.py will use to interface with libmf. Make sure you know where this file is, because mf.py needs to reference it.

After compilation try running:

$ python tests/mf_tests.py

if these work then you are good to go!

>>> from libmf import mf
>>> engine = mf.MF()
>>> engine.fit(data)
>>> engine.dict(ind)

data is a sparse numpy array consisting of data matrix indices x and y and a corresponding value. So each row is: (x,y,v). data.shape => (x, 3) where x is the number of observations

ind is a sparse numpy array of indices specifying where we want to predict unobserved values

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].