Simplify command IDs
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Родитель
fe50f3435d
Коммит
133db59252
|
@ -24,7 +24,7 @@ When enough data is collected – which is roughly three to four weeks (!) – a
|
|||
training run can be started. The training is invoked via the OCC command line tool:
|
||||
|
||||
```bash
|
||||
php -f occ suspiciouslogin:train:mlp
|
||||
php -f occ suspiciouslogin:train
|
||||
```
|
||||
|
||||
This command uses several sensible default that should work for instances of any size.
|
||||
|
@ -35,7 +35,7 @@ of the input training set, but is usually between two to 15 minutes.
|
|||
The full list of parameters, their description and default values can be seen with
|
||||
|
||||
```bash
|
||||
php -f occ suspiciouslogin:train:mlp --help
|
||||
php -f occ suspiciouslogin:train --help
|
||||
```
|
||||
|
||||
### Hyper parameter optimization (optional)
|
||||
|
@ -44,7 +44,7 @@ To find the best possible parameters for the training it's possible to start a *
|
|||
parameter optimization* run via the CLI:
|
||||
|
||||
```bash
|
||||
php -f occ suspiciouslogin:optimize:mlp
|
||||
php -f occ suspiciouslogin:optimize
|
||||
```
|
||||
|
||||
This command uses the heuristic *simulated annealing* algorithm to find optimal
|
||||
|
|
|
@ -34,8 +34,8 @@
|
|||
|
||||
<commands>
|
||||
<command>OCA\SuspiciousLogin\Command\ETL</command>
|
||||
<command>OCA\SuspiciousLogin\Command\OptimizeMLP</command>
|
||||
<command>OCA\SuspiciousLogin\Command\Optimize</command>
|
||||
<command>OCA\SuspiciousLogin\Command\Predict</command>
|
||||
<command>OCA\SuspiciousLogin\Command\TrainMLP</command>
|
||||
<command>OCA\SuspiciousLogin\Command\Train</command>
|
||||
</commands>
|
||||
</info>
|
||||
|
|
|
@ -30,7 +30,7 @@ use Symfony\Component\Console\Input\InputInterface;
|
|||
use Symfony\Component\Console\Input\InputOption;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
class OptimizeMLP extends Command {
|
||||
class Optimize extends Command {
|
||||
|
||||
use ModelStatistics;
|
||||
|
||||
|
@ -38,7 +38,7 @@ class OptimizeMLP extends Command {
|
|||
private $optimizer;
|
||||
|
||||
public function __construct(Optimizer $optimizer) {
|
||||
parent::__construct("suspiciouslogin:optimize:mlp");
|
||||
parent::__construct("suspiciouslogin:optimize");
|
||||
$this->optimizer = $optimizer;
|
||||
|
||||
$this->addOption(
|
|
@ -31,7 +31,7 @@ use Symfony\Component\Console\Input\InputInterface;
|
|||
use Symfony\Component\Console\Input\InputOption;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
class TrainMLP extends Command {
|
||||
class Train extends Command {
|
||||
|
||||
use ModelStatistics;
|
||||
|
||||
|
@ -39,7 +39,7 @@ class TrainMLP extends Command {
|
|||
private $trainer;
|
||||
|
||||
public function __construct(Trainer $optimizer) {
|
||||
parent::__construct("suspiciouslogin:train:mlp");
|
||||
parent::__construct("suspiciouslogin:train");
|
||||
$this->trainer = $optimizer;
|
||||
|
||||
$this->addOption(
|
Загрузка…
Ссылка в новой задаче