Training Lifecycle

Training in PML is a staged workflow: data ingestion, transformation, batching, optimization, and persistence.

Stage 1: Dataset preparation

Stage 2: Batch execution

Stage 3: Optimization

Stage 4: Validation and checkpoints

Best practices

Example

$pipeline = new Pml\Pipeline([
    new Pml\Transformers\StandardScaler(),
], new Pml\Estimators\Regression\GBDTRegressor());

$pipeline->train($trainDataset, epochs: 10, batchSize: 64);

When to use

When not to use