Save a trained model to disk
Examples
m <- morie_ml_train(morie_ml_model("linear", "gd"),
mtcars[c("hp", "wt")], mtcars$mpg)
f <- file.path(tempdir(), "model")
morie_ml_save(m, f)
Save a trained model to disk
m <- morie_ml_train(morie_ml_model("linear", "gd"),
mtcars[c("hp", "wt")], mtcars$mpg)
f <- file.path(tempdir(), "model")
morie_ml_save(m, f)