Back to FabImage Library website
You are here: Start » Function Reference » Data Classification » Multilayer Perceptron » MLP_Respond

MLP_Respond
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationPro |
Calculates multilayer perceptron answer.
Syntax
C++
C#
void fil::MLP_Respond ( const fil::MlpModel& inMlpModel, const ftl::Array<float>& inInputVector, ftl::Array<float>& outResponseVector )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inMlpModel | const MlpModel& | Trained MlpModel object | |
![]() |
inInputVector | const Array<float>& | Input vector of features used to calculate classifier response | |
![]() |
outResponseVector | Array<float>& | Calculated response |
Description
The operation calculates response of multilayer perceptron classifier for the input data provided in inInputVector.
The parameter inInputVector size must be equal to trained MlpModel input count. Input count is set in MLP_Init.
The operation result outResponseVector is size of output count provided during MlpModel initializing operation.

Image: Visualization of MLP_Respond filter.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Incorrect or uninitialized MlpModel in MLP_Respond. |