Learn R Programming

fastml (version 0.5.0)

get_default_engine: Get Default Engine

Description

Returns the default engine corresponding to the specified algorithm.

Usage

get_default_engine(algo)

Value

A character string containing the default engine name associated with the provided algorithm.

Arguments

algo

A character string specifying the name of the algorithm. The value should match one of the supported algorithm names.

Details

The function uses a switch statement to select the default engine based on the given algorithm. If the provided algorithm does not have a defined default engine, the function terminates with an error.