$config
$config : array
Holds the config from the config.json files
$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
Prepare a specified model
\Symfony\Component\Console\Input\InputInterface | $input | The input object |
\Symfony\Component\Console\Output\OutputInterface | $output | The output object |
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