Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coreylynch/pyFM
/ functions
Functions
9 in github.com/coreylynch/pyFM
⨍
Functions
9
◇
Types & classes
1
↓ 4 callers
Method
_bool_to_int
Map bool to int for cython
pyfm/pylibfm.py:126
↓ 3 callers
Function
_make_dataset
Create ``Dataset`` abstraction for sparse and dense inputs.
pyfm/pylibfm.py:236
↓ 1 callers
Method
_get_learning_rate_type
Map learning rate string to int for cython
pyfm/pylibfm.py:110
↓ 1 callers
Method
_get_task
Map task string to int for cython
pyfm/pylibfm.py:118
↓ 1 callers
Method
_prepare_y
Maps labels to [-1, 1] space
pyfm/pylibfm.py:133
↓ 1 callers
Method
_validate_params
Validate input params.
pyfm/pylibfm.py:100
Method
__init__
(self, num_factors=10, num_iter=1, k0=True,
pyfm/pylibfm.py:52
Method
fit
Fit factorization machine using Stochastic Gradient Descent with Adaptive Regularization. Parameters ---------- X : {array-li
pyfm/pylibfm.py:139
Method
predict
Predict using the factorization machine Parameters ---------- X : sparse matrix, shape = [n_samples, n_features] or
pyfm/pylibfm.py:217