$classifiers
$classifiers : array
Holds classifier instances
$classifier : \Camspiers\StatisticalClassifier\Classifier\Classifier
Holds the classifier instance for caching
execute(\Symfony\Component\Console\Input\InputInterface $input, \Symfony\Component\Console\Output\OutputInterface $output) : null
Start a classifier server
\Symfony\Component\Console\Input\InputInterface | $input | The input object |
\Symfony\Component\Console\Output\OutputInterface | $output | The output object |
getClassifierByType(string $classifierType) : \Camspiers\StatisticalClassifier\Classifier\Classifier
Get a classifier from the container using a service name
string | $classifierType | The service name |
The classifier
configureClassifier() : \Camspiers\StatisticalClassifier\Console\Command\Command
Adds options nessacary for calling getClassifier in a command
This command to allow chaining
configureModel() : \Camspiers\StatisticalClassifier\Console\Command\Command
Adds arguments required for using a specified model in a command
This command to allow chaining
configurePrepare() : \Camspiers\StatisticalClassifier\Console\Command\Command
Adds options to allow automatically prepare the model
This command to allow chaining
getModel(string $name, bool $svm) : \Camspiers\StatisticalClassifier\Model\CachedModel
Get an CachedModel based off a model name and the Cache instance
string | $name | The name of the model |
bool | $svm |
The cached model
getDataSource(mixed $name) : \Camspiers\StatisticalClassifier\DataSource\DataArray
mixed | $name |
getContainer() : \Camspiers\StatisticalClassifier\Console\Command\Symfony\Component\DependencyInjection\ContainerInterface
Return the dependency injection container fetching it off the app if it doesn't exist
The container
getClassifier(\Symfony\Component\Console\Input\InputInterface $input) : \Camspiers\StatisticalClassifier\Classifier\Classifier
Returns a classifier based of the commands input and the specified model (if exists)
\Symfony\Component\Console\Input\InputInterface | $input | The commands input |
The built classifier