knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
The goal of SuperML is to provide sckit-learn's fit
,predict
,transform
standard way of building
machine learning models in R. It is build on top of latest r-packages which provides optimized way of training machine learning models.
You can install latest stable cran version using (recommended):
install.packages("superml")
You can install latest development version from github with:
# install.packages("devtools") devtools::install_github("saraswatmks/superml")
In superml, every machine learning algorithm is called as a trainer
. Following is the list of trainers available as of today:
In addition, there are other useful functions to support modeling tasks such as:
Any machine learning model can be trained using the following steps:
data(iris) library(superml) rf <- RFTrainer$new(n_estimators = 100) rf$fit(iris, "Species") pred <- rf$predict(iris)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.