package ANN
access public

 Methods

__construct()

__construct(float $floatMin, float $floatMax, boolean $boolOverride) 

Parameters

$floatMin

float

$floatMax

float

$boolOverride

boolean

(Default: FALSE)

Exceptions

\ANN\Exception If $boolOverride is FALSE, an exception will be thrown if getOutputValue() will be called with outranged values. If $boolOverride is TRUE, no exception will be thrown in this case, but lower values are replaced by $floatMin and upper values are replaced by $floatMax.

getOutputValue()

getOutputValue(float $floatValue) : float
uses \ANN\calculateOutputValue()

Parameters

$floatValue

float

Exceptions

\ANN\Exception

Returns

float(0..1)

getRealOutputValue()

getRealOutputValue(float $floatValue) : float

Parameters

$floatValue

float

(0..1)

Exceptions

\ANN\Exception

Returns

float

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

calculateOutputValue()

calculateOutputValue(float $floatValue) : float

Parameters

$floatValue

float

Returns

float

 Properties

 

$boolOverride : boolean
 

$floatMax : float
 

$floatMin : float