All Projects → while → FTRLProximal

while / FTRLProximal

Licence: other
R package for online training of regression models using FTRL Proximal

Programming Languages

r
7636 projects
c
50402 projects - #5 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to FTRLProximal

Sales-Prediction
In depth analysis and forecasting of product sales based on the items, stores, transaction and other dependent variables like holidays and oil prices.
Stars: ✭ 56 (+366.67%)
Mutual labels:  prediction, regression-models
joineRML
R package for fitting joint models to time-to-event data and multivariate longitudinal data
Stars: ✭ 24 (+100%)
Mutual labels:  prediction, regression-models
prediction-builder
A library for machine learning that builds predictions using a linear regression.
Stars: ✭ 107 (+791.67%)
Mutual labels:  prediction
Word-Prediction-Ngram
Next Word Prediction using n-gram Probabilistic Model with various Smoothing Techniques
Stars: ✭ 25 (+108.33%)
Mutual labels:  prediction
The-Purchase-and-Redemption-Forecast-Challenge-baseline
天池“资金流入流出预测——挑战baseline”的解决方案,线上效果143.5
Stars: ✭ 78 (+550%)
Mutual labels:  prediction
dominance-analysis
This package can be used for dominance analysis or Shapley Value Regression for finding relative importance of predictors on given dataset. This library can be used for key driver analysis or marginal resource allocation models.
Stars: ✭ 111 (+825%)
Mutual labels:  regression-models
sg-food-ml
This script is used to scrap images from the Internet to classify 5 common noodle "mee" dishes in Singapore. Wanton Mee, Bak Chor Mee, Lor Mee, Prawn Mee and Mee Siam.
Stars: ✭ 18 (+50%)
Mutual labels:  prediction
PlasFlow
Software for prediction of plasmid sequences in metagenomic assemblies
Stars: ✭ 74 (+516.67%)
Mutual labels:  prediction
Tensorflow-Wide-Deep-Local-Prediction
This project demonstrates how to run and save predictions locally using exported tensorflow estimator model
Stars: ✭ 28 (+133.33%)
Mutual labels:  prediction
blockchain-predictor
Deep leraning cryptocurrency prediction with blockchain-based dataset
Stars: ✭ 34 (+183.33%)
Mutual labels:  prediction
ANTsR
Advanced Normalization Tools in R
Stars: ✭ 101 (+741.67%)
Mutual labels:  prediction
clarktech-ncaab-predictor
A machine learning project to predict NCAA Men's Basketball outcomes
Stars: ✭ 24 (+100%)
Mutual labels:  prediction
Online-Category-Learning
ML algorithm for real-time classification
Stars: ✭ 67 (+458.33%)
Mutual labels:  online-algorithms
auditor
Model verification, validation, and error analysis
Stars: ✭ 56 (+366.67%)
Mutual labels:  regression-models
engine
Benefit from new browsers' technologies to speed up your site
Stars: ✭ 39 (+225%)
Mutual labels:  prediction
calcuMLator
An intelligently dumb calculator that uses machine learning
Stars: ✭ 30 (+150%)
Mutual labels:  regression-models
Deep-learning-model-deploy-with-django
Serving a keras model (neural networks) in a website with the python Django-REST framework.
Stars: ✭ 76 (+533.33%)
Mutual labels:  prediction
rollRegres
R package for fast rolling and expanding linear regression models
Stars: ✭ 20 (+66.67%)
Mutual labels:  regression-models
SGP.NET
C# SGP4 Satellite Prediction Library. Load satellites from TLEs, convert between coordinate systems and reference frames, observe satellites from ground stations, and more.
Stars: ✭ 15 (+25%)
Mutual labels:  prediction
Age-Prediction
This Project is an applicaton based on Computer vision and Machine learning implementation using regression supervised classification.
Stars: ✭ 26 (+116.67%)
Mutual labels:  regression-models

FTRL Proximal

Build Status codecov CRAN_Status_Badge CRAN Downloads

This is an R package of the FTRL Proximal algorithm for online learning of elastic net logistic regression models.

For more info on the algorithm please see Ad Click Prediction: a View from the Trenches by McMahan et al. (2013).

Installation

Easiest way to install is from within R using the latest CRAN version:

install.packages("FTRLProximal")

If you want the latest build from git you can install it directly from github using devtools:

devtools::install_github("while/FTRLProximal")

Usage

Simplest use case is to use the model similar to normal glm with a model formula.

# Set up dataset
p <- mlbench::mlbench.2dnormals(100,2)
dat <- as.data.frame(p)

# Train model
mdl <- ftrlprox(classes ~ ., dat, lambda = 1e-2, alpha = 1, a = 0.3)

# Print resulting coeffs
print(mdl)

It is also possible to update the trained model object once it is trained.

# Set up first dataset
p <- mlbench.2dnormals(100,2)
dat <- as.data.frame(p)

# Convert data.frame to model.matrix
X <- model.matrix(classes ~ ., dat)

# Train on first dataset
mdl <- ftrlprox(X, dat$classes, lambda = 1e-2, alpha = 1, a = 0.3)

# Generate more of the same data after the first training session
p <- mlbench.2dnormals(100,2)
dat <- as.data.frame(p)

# Update model using the new data.
mdl <- update(mdl, X, dat$classes)

For more example please see the documentation.

Changelog

0.3

  • Added prediction type "class".

0.2

  • Changed from using explicit lambda1 and lambda2 parameters to using lambda and mixing parameter alpha.
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].