parse_custom_classifier: Ensures a custom classifier is valid and returns its train...

Description Usage Arguments Value

View source: R/model_stage.r

Description

There can only be one function defined that contains the string "train". Similarly there can only be one such function containing "predict". If this condition is not met, this function will throw an error.

Usage

1

Arguments

provided_env

environment. The environment the classifier was loaded from.

type

character. The keyword for the classifier.

Value

a list containing keys "train" and "predict" indicating the train and predict functions.


robertzk/syberiaStages documentation built on May 27, 2019, 11:38 a.m.