\Camspiers\StatisticalClassifier\ModelSVMCachedModel

Summary

Methods
Properties
Constants
__construct()
setModel()
setMaps()
getCategoryMap()
getTokenMap()
isPrepared()
setPrepared()
getModel()
No public properties found
No constants found
No protected methods found
$categoryMap
$tokenMap
$prepared
$model
N/A
No private methods found
No private properties found
N/A

Properties

$categoryMap

$categoryMap : array

Type

array

$tokenMap

$tokenMap : array

Type

array

$prepared

$prepared : boolean

This is an status variable indicating that the nessacary processing has occured on the model

Type

boolean

$model

$model : array

The built model

Type

array

Methods

__construct()

__construct(mixed $modelFilename, \CacheCache\Cache $cache)

Parameters

mixed $modelFilename
\CacheCache\Cache $cache

setModel()

setModel(mixed $model) : mixed|void

Parameters

mixed $model

Returns

mixed|void

setMaps()

setMaps(mixed $categoryMap, mixed $tokenMap)

Parameters

mixed $categoryMap
mixed $tokenMap

getCategoryMap()

getCategoryMap() : array

Returns

array

getTokenMap()

getTokenMap() : array

Returns

array

isPrepared()

isPrepared()

setPrepared()

setPrepared(mixed $prepared) : mixed|void

Parameters

mixed $prepared

Returns

mixed|void

getModel()

getModel() : array

Returns

array