Back to Aurora Vision Library website

You are here: Start » Function Reference » Data Classification » Multilayer Perceptron » MLP_Respond

MLP_Respond


Header: AVL.h
Namespace: avl
Module: FoundationPro

Calculates multilayer perceptron answer.

Syntax

C++
C#
 
void avl::MLP_Respond
(
	const avl::MlpModel& inMlpModel,
	const atl::Array<float>& inInputVector,
	atl::Array<float>& outResponseVector
)

Parameters

Name Type Default Description
Input value inMlpModel const MlpModel& Trained MlpModel object
Input value inInputVector const Array<float>& Input vector of features used to calculate classifier response
Output value 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.

See Also

  • MLP_Train – Creates and trains multilayer perceptron classifier.
  • MLP_Init – Creates multilayer perceptron model.