Class: ModelSet

ModelSet()

new ModelSet()

Creates a set of machine learning objects using constructors from emscripten. Could be any mix of regression and classification. This is only useful when importing JSON from Wekinator.
Source:

Methods

addkNNModel(model)

Add a kNN model to a modelSet. //TODO: this doesn't need it's own function
Parameters:
Name Type Description
model
Source:

addNNModel(model)

Add a NN model to a modelSet. //TODO: this doesn't need it's own function
Parameters:
Name Type Description
model
Source:

process(input) → {Array}

Deprecated! Use run() instead.
Parameters:
Name Type Description
input Array An array of features to be processed
Source:
Returns:
output - One number for each model in the set
Type
Array

run(input) → {Array}

Applies regression and classification algorithms to an input vector.
Parameters:
Name Type Description
input Array An array of features to be processed.
Source:
Returns:
output - One number for each model in the set
Type
Array