593b94c120
pytest / Unit Tests (push) Has been cancelled
pytest / Integration (integration_tests_a) (push) Has been cancelled
pytest / Integration (integration_tests_b) (push) Has been cancelled
pytest / Integration (integration_tests_c) (push) Has been cancelled
pytest / Integration (integration_tests_d) (push) Has been cancelled
pytest / Integration (integration_tests_e) (push) Has been cancelled
pytest / Integration (integration_tests_f) (push) Has been cancelled
pytest / Integration (integration_tests_g) (push) Has been cancelled
pytest / Integration (integration_tests_h) (push) Has been cancelled
pytest / Integration (integration_tests_i) (push) Has been cancelled
pytest / Integration (integration_tests_j) (push) Has been cancelled
pytest / Distributed (distributed_a) (push) Has been cancelled
pytest / Distributed (distributed_b) (push) Has been cancelled
pytest / Distributed (distributed_c) (push) Has been cancelled
pytest / Distributed (distributed_d) (push) Has been cancelled
pytest / Distributed (distributed_e) (push) Has been cancelled
pytest / Distributed (distributed_f) (push) Has been cancelled
pytest / Minimal Install (push) Has been cancelled
pytest / Event File (push) Has been cancelled
pytest (slow) / py-slow (push) Has been cancelled
Publish JSON Schema / publish-schema (push) Has been cancelled
Hyperparameter Optimization
Demonstrates hyperparameter optimization using Ludwig's in-built capabilities.
Preparatory Steps
- Create
datadirectory - Download Kaggle wine quality data set into the
datadirectory. Directory should appear as follows:
hyperopt/
data/
winequalityN.csv
Description
Jupyter notebook model_hyperopt_example.ipynb demonstrates several hyperparameter optimization capabilities. Key features demonstrated in the notebook:
- Training data is prepared for use
- Programmatically create Ludwig config dictionary from the training data dataframe
- Setup parameter space for hyperparameter optimization
- Perform two hyperparameter runs
- Parallel workers using random search strategy
- Serial processing using random search strategy
- Parallel workers using grid search strategy (Note: takes about 35 minutes)
- Demonstrate various Ludwig visualizations for hyperparameter optimization