Property | Type | Description | |
---|---|---|---|
Dispose | void | ||
EvaluateInput | List |
||
EvaluateRecord | bool | ||
ModelEvaluator | System |
Method | Description | |
---|---|---|
DisposeAll ( ) : void |
Disposes of all models
|
|
Evaluate ( List |
Evaluated a vector and returns the output vector
|
|
Evaluate ( string record ) : bool |
Evaluates a record containing the input data and the expected outcome value
|
|
Initialize ( int numConcurrentModels, string modelFilePath, int numThreads = 1 ) : void |
Initializes the Model Evaluator to process multiple models concurrently
|
Method | Description | |
---|---|---|
Dispose ( ) : void |
Disposes of the resources
|
|
EvaluateInput ( List |
Evaluates an input vector against the model as the first defined input layer, and returns the first defined output layer
|
|
EvaluateRecord ( string record ) : bool |
Evaluates a test record
|
|
ModelEvaluator ( string modelFilePath, int numThreads, int id ) : System |
Creates an instance of the ModelEvaluator class. The id is used only for debugging purposes |
public static Evaluate ( List |
||
inputs | List |
The input vector |
return | List |
public static Evaluate ( string record ) : bool | ||
record | string | A tab-delimited string with the first entry being the expected value. |
return | bool |
public static Initialize ( int numConcurrentModels, string modelFilePath, int numThreads = 1 ) : void | ||
numConcurrentModels | int | The number of concurrent models |
modelFilePath | string | The model file path to load the model from |
numThreads | int | |
return | void |