package ANN
access public

 Methods

__construct()

__construct(integer $intMaxClassifiers) 

Parameters

$intMaxClassifiers

integer

Exceptions

\ANN\Exception

__invoke()

__invoke(string | array $mixedValues) : array
uses \ANN\getOutputValue()

Parameters

$mixedValues

stringarray

Returns

array

addClassifier()

addClassifier(string $strValue) 
uses \ANN\existsClassifier()

Parameters

$strValue

string

Exceptions

\ANN\Exception

getOutputValue()

getOutputValue(string | array $mixedValues) : array
uses \ANN\calculateOutputValues()

Parameters

$mixedValues

stringarray

Exceptions

\ANN\Exception

Returns

array

getRealOutputValue()

getRealOutputValue(array $arrValues) : array

Parameters

$arrValues

array

Returns

array

loadFromFile()

loadFromFile(string $strFilename) : \ANN\Network | \ANN\InputValue | \ANN\OutputValue | \ANN\Values | \ANN\StringValue | \ANN\Classification | \ANN\InterfaceLoadable
InheritedStatic
uses \ANN\Exception::__construct()
inherited_from \ANN\Filesystem::loadFromFile()

Parameters

$strFilename

string

(Default: null)

Exceptions

\ANN\Exception

Returns

saveToFile()

saveToFile(string $strFilename) 
Inherited
uses \ANN\Exception::__construct()
inherited_from \ANN\Filesystem::saveToFile()

Parameters

$strFilename

string

(Default: null)

Exceptions

\ANN\Exception

calculateOutputValues()

calculateOutputValues(array $arrValues) : array

Parameters

$arrValues

array

Exceptions

\ANN\Exception

Returns

array

existsClassifier()

existsClassifier(string $strValue) : boolean

Parameters

$strValue

string

Returns

boolean

 Properties

 

$arrClassifiers : array
 

$intMaxClassifiers : integer