Learn R Programming

modelenv (version 0.2.0)

set_new_model: Register New Model

Description

This function is used to register new types of models.

Usage

set_new_model(model)

Value

NULL invisibly

Arguments

model

A single character string for the model type (e.g. "k_means", etc).

Details

This function is available for users to add their own models or engines (in a package or otherwise) so that they can be accessed using packages that use modelenv.

Examples

Run this code
if (FALSE) {
set_new_model("shallow_learning_model")
}

Run the code above in your browser using DataLab