Training Pipeline
Training with Experimental Data
hyperparameter_tuning(batch_size_num, learning_rate_num, cfg_ml_train)
Training with a specific batch_size and learning_rate combination
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
batch_size_num
|
int
|
batch size |
required |
learning_rate_num
|
int
|
learning rate |
required |
Returns:
| Name | Type | Description |
|---|---|---|
float |
float
|
best validation accuracy for the specific combination |
Source code in scripts/ml_training.py
load_classfication_model(cfg_ml_train)
Evaluating the performance on the model with best hyperparameters
Returns:
| Type | Description |
|---|---|
None
|
None |
Source code in scripts/ml_training.py
run_experiment(cfg_ml_train)
Finding the best batch size and learning rate combination
Returns:
| Name | Type | Description |
|---|---|---|
tuple |
tuple
|
best parameters (batch_size, learning_rate) |
Source code in scripts/ml_training.py
train_best_model(cfg_ml_train)
Training the model with the best parameters
Returns:
| Type | Description |
|---|---|
None
|
None |