← 开源
geffy

tffm

TensorFlow implementation of an arbitrary order Factorization Machine

Model DevelopmentClassical MLJupyter Notebook
在 GitHub 打开
增长势头
+-124 小时新增 Star-0.1%
776
Star
172
Fork
+-1
本周
6
贡献者
创建于 2016-05-02 · 更新于 2026-10-16 · 今日第 19079 名
主要开发者
geffypeterewillsbabakx

geffy/tffm 排名第 19,079,有 776 个星标。

同类别比较

geffy/tffm 排名第 19,079,此处有 8 个同类条目;youngwanLEE/CenterMask 排名第 19,078。

同类别比较
名称排名指标
Chengsong-Huang/R-Zero19,048
语言:
Python
星标数:
857
分叉数:
77
简介:
[ICLR2026] codes for R-Zero: Self-Evolving Reasoning LLM from Zero Data (https://www.arxiv.org/pdf/2508.05004)
devendrachaplot/Neural-SLAM19,050
语言:
Python
星标数:
852
分叉数:
153
简介:
Pytorch code for ICLR-20 Paper "Learning to Explore using Active Neural SLAM"
kekmodel/FixMatch-pytorch19,073
语言:
Python
星标数:
797
分叉数:
184
简介:
Unofficial PyTorch implementation of "FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidence"
youngwanLEE/CenterMask19,078
语言:
Python
星标数:
781
分叉数:
122
简介:
[CVPR 2020] CenterMask : Real-Time Anchor-Free Instance Segmentation
maudzung/TTNet-Real-time-Analysis-System-for-Table-Tennis-Pytorch19,084
语言:
Python
星标数:
765
分叉数:
197
简介:
Unofficial implementation of "TTNet: Real-time temporal and spatial video analysis of table tennis" (CVPR 2020)
louaaron/Score-Entropy-Discrete-Diffusion19,095
语言:
Python
星标数:
747
分叉数:
104
简介:
[ICML 2024 Best Paper] Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution (https://arxiv.org/abs/2310.16834)
EleutherAI/sparsify19,098
语言:
Python
星标数:
741
分叉数:
105
简介:
Sparsify transformers with SAEs and transcoders
cardmagic/classifier19,099
语言:
Ruby
星标数:
741
分叉数:
125
简介:
A general classifier module to allow Bayesian and LSI classifications.
关键参数与规格
关键参数与规格
参数值
语言Jupyter Notebook
类别Model Development
子类别Classical ML
星标数776
分叉数172
贡献者6
创建日期2016-05-02
更新日期2026-10-16
1 天星标数-1
7 天星标数-1
排名19,079
上次排名13,813
排名变化-5,266
7 天星标排名17,604
上次 7 天星标排名14,214
7 天星标排名变化-3,390
总星标排名13,688
上次总星标排名13,651
总星标排名变化-37
国家Russia
README 摘录

This is a TensorFlow implementation of an arbitrary order (>=2) Factorization Machine based on paper Factorization Machines with libFM. It supports: dense and sparse inputs different (gradient-based) optimization methods classification/regression via different loss functions (logistic and mse implemented) logging via TensorBoard The inference time is linear with respect to the number of features. 7 This implementation is quite similar to the one described in Blondel's et al. paper [ but was developed independently and prior to the first appearance

of the paper. Dependencies scikit-learn numpy tqdm tensorflow 1. 3) Installation Stable version can be installed via . Usage The interface is similar to scikit-learn models. To train a 6-order FM model with rank=10 for 100 iterations with learning_rate=0. 01 use the following sample See and for more details. It's highly recommended to read for help. works too, but you must pass the flag to avoid printing insane amounts of TensorFlow logs to the screen

. Citation If you use this software in academic research, please, cite it using the following BibTeX:

常见问题

记录了多少星标和分叉?

geffy/tffm 有 776 个星标和 172 个分叉。

仓库排名是多少?

geffy/tffm 排名第 19,079。

记录的语言和类别是什么?

geffy/tffm 有 776 个星标,语言为 Jupyter Notebook,类别为 Model Development。

哪个仓库排名最接近?

geffy/tffm 与 youngwanLEE/CenterMask 比较,后者排名第 19,078,有 781 个星标。

README

This is a TensorFlow implementation of an arbitrary order (>=2) Factorization Machine based on paper Factorization Machines with libFM.

It supports:

  • dense and sparse inputs
  • different (gradient-based) optimization methods
  • classification/regression via different loss functions (logistic and mse implemented)
  • logging via TensorBoard

The inference time is linear with respect to the number of features.

Tested on Python3.5, but should work on Python2.7

This implementation is quite similar to the one described in Blondel's et al. paper [https://arxiv.org/abs/1607.07195], but was developed independently and prior to the first appearance of the paper.

Dependencies

Installation

Stable version can be installed via pip install tffm.

Usage

The interface is similar to scikit-learn models. To train a 6-order FM model with rank=10 for 100 iterations with learning_rate=0.01 use the following sample

from tffm import TFFMClassifier
model = TFFMClassifier(
    order=6,
    rank=10,
    optimizer=tf.train.AdamOptimizer(learning_rate=0.01),
    n_epochs=100,
    batch_size=-1,
    init_std=0.001,
    input_type='dense'
)
model.fit(X_tr, y_tr, show_progress=True)

See example.ipynb and gpu_benchmark.ipynb for more details.

It's highly recommended to read tffm/core.py for help.

Testing

Just run python test.py in the terminal. nosetests works too, but you must pass the --logging-level=WARNING flag to avoid printing insane amounts of TensorFlow logs to the screen.

Citation

If you use this software in academic research, please, cite it using the following BibTeX:

@misc{trofimov2016,
author = {Mikhail Trofimov, Alexander Novikov},
title = {tffm: TensorFlow implementation of an arbitrary order Factorization Machine},
year = {2016},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/geffy/tffm}},
}
排名相邻
同类项目