Skip to content

Releases: Techtonique/unifiedml

v0.2.1

04 Apr 13:57

Choose a tag to compare

New release on CRAN.
Read this vignette to see the examples.

The philosophy behind the package:

set.seed(123)
X <- MASS::Boston[, -ncol(MASS::Boston)]
y <- MASS::Boston$medv

# glmnet regression
mod <- Model$new(glmnet::glmnet)  # No task parameter needed!
mod$fit(X, y, alpha = 0, lambda = 0.1)
print(head(mod$predict(X)))