Examples¶
We provide several examples of how to use SMAC with Python. Practical use-cases were chosen to show the variety of SMAC.
Basics¶
Quadratic Function
Support Vector Machine with Cross-Validation
Support Vector Machine with Cross-Validation
Ask-and-Tell
Custom Callback
Continue an Optimization
User Priors over the Optimum
Multi-Fidelity and Multi-Instances¶
Multi-Layer Perceptron Using Multiple Epochs
Multi-Layer Perceptron Using Multiple Epochs
Stochastic Gradient Descent On Multiple Datasets
Stochastic Gradient Descent On Multiple Datasets
Multi-Objective¶
2D Schaffer Function with Objective Weights
2D Schaffer Function with Objective Weights
ParEGO
Command-Line Interface¶
SMAC can call a target function from a script. This is useful if you want to optimize non-python code.
Call Target Function From Script
Call Target Function From Script