[This article was first published on T. Moudiki's Webpage - R, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.A new version of unifiedml is out; available on CRAN. unifiedml is an effort to offer a unified interface to R’s machine learning models.The main change in this version 0.2.1 is the removal of type (of prediction) from predict, and the use of... instead, which is more generic and flexible.This post contains advanced examples of use of unifiedml for classification, with ranger and xgboost. More examples have been added to the package vignettes too.install.packages("unifiedml")install.packages(c("ranger"))library("unifiedml")Loading required package: doParallelLoading required package: foreachLoading required package: iteratorsLoading required package: parallelLoading required package: R61 – ranger examplelibrary(ranger)# 2 - 'ranger' classification ---------------------------# -------------------------------# S3 wrapper for ranger# -------------------------------# Fit function remains the samemy_ranger