flowplugins Package

crossvalidation Module

class fastr.resources.plugins.flowplugins.crossvalidation.CrossValidation[source]

Bases: flowinterface.FlowPlugin

Advanced flow plugin that generated a cross-validation data flow. The node need an input with data and an input number of folds. Based on that the outputs test and train will be supplied with a number of data sets.

__abstractmethods__ = frozenset()
__module__ = 'fastr.resources.plugins.flowplugins.crossvalidation'
static execute(payload)[source]
fastr.resources.plugins.flowplugins.crossvalidation.kfold(n_items, n_folds)[source]