Global Optimization with Python

  Рет қаралды 3,796

APMonitor.com

APMonitor.com

Жыл бұрын

The selection of solver parameters or initial guesses can be determined by another optimization algorithm to search in among categorical or continuous parameters. These solver parameters are called hyperparameters in Machine Learning. This tutorial is an introduction to hyperparameter optimization and the application for global optimization. A simple test optimization case with two local minima demonstrates the approach.
🏫 Course Web-site: apmonitor.com/me575/index.php...
There are several common methods for global hyperparameter optimization, each with its own strengths and weaknesses:
1️⃣ Grid search: A technique where a set of possible values for each hyperparameter is specified, and the algorithm will train and evaluate a model for each combination of hyperparameter values. Grid search can be computationally expensive, particularly when searching over many hyperparameters or a large range of values for each hyperparameter.
2️⃣ Random search: A technique where a random set of hyperparameter values is sampled from a predefined distribution for each hyperparameter. Random search is less computationally expensive than grid search, but still has a higher chance of finding a good set of hyperparameters than a simple grid search.
3️⃣ Bayesian optimization: A probabilistic model-based approach that uses Bayesian inference to model the function that maps the hyperparameters to the performance of the model. It uses the acquired knowledge to direct the search to the regions where it expects to find the best performance. Bayesian optimization cannot be parallelized and requires continuous hyperparameters (not categorical). It quickly converges to an optimal solution when there are few hyperparameters, but this efficiency degrades when the search dimension increases.
4️⃣ Genetic Algorithm: A evolutionary based algorithm that uses concepts of natural selection and genetics to optimize the parameters.
5️⃣ Gradient-based optimization: A method that uses gradient information to optimize the hyperparameters. This can be done using optimization algorithms such as gradient descent or Adam.
6️⃣ Hyperband: An algorithm that uses the idea of early stopping to decide when to stop training a model, which reduces the number of models that need to be trained and evaluated, making it faster than grid search or random search.
Which method to use depends on the problem, the complexity of the model, the computational resources available, and the desired trade-off between computation time and optimization quality.

Пікірлер: 2
@mohamedyusufmohamud8193
@mohamedyusufmohamud8193 Жыл бұрын
Dr . John D. Hedengren for your insightful lecture on global optimization with python. Your expertise in the subject and clear explanation made it easy for me to understand. Your passion for the topic really shines through and I truly appreciate the time and effort you put into creating such a valuable resource. Keep up the great work, I look forward to more of your lectures in the future.
@apm
@apm Жыл бұрын
Thanks for your kind words. I’m glad that you enjoy the content.
Schedule Optimization with Python
24:55
APMonitor.com
Рет қаралды 11 М.
Generative AI for PSE
32:44
APMonitor.com
Рет қаралды 6 М.
IQ Level: 10000
00:10
Younes Zarou
Рет қаралды 12 МЛН
这是王子儿子吗
00:27
落魄的王子
Рет қаралды 20 МЛН
World’s Largest Jello Pool
01:00
Mark Rober
Рет қаралды 114 МЛН
How to train a neuron with Python
9:15
COMMAND
Рет қаралды 282
Ethanol Bioreactor
26:49
APMonitor.com
Рет қаралды 2,2 М.
Local RAG LLM with Ollama
12:37
APMonitor.com
Рет қаралды 1,9 М.
Double Tank Level Control
17:13
APMonitor.com
Рет қаралды 2 М.
Stop, Intel’s Already Dead! - AMD Ryzen 9600X & 9700X Review
13:47
Linus Tech Tips
Рет қаралды 1,2 МЛН
RAG Similarity Search with ChromaDB
17:06
APMonitor.com
Рет қаралды 830
Machine Learning for Engineers in MATLAB
32:40
APMonitor.com
Рет қаралды 1,8 М.
The Simple Problem That still Baffles Mathematicians
8:41
The Cosmological Reality
Рет қаралды 425
Какой ноутбук взять для учёбы? #msi #rtx4090 #laptop #юмор #игровой #apple #shorts
0:18
iPhone socket cleaning #Fixit
0:30
Tamar DB (mt)
Рет қаралды 19 МЛН
Vision Pro наконец-то доработали! Но не Apple!
0:40
ÉЖИ АКСЁНОВ
Рет қаралды 803 М.
iPhone 15 Pro в реальной жизни
24:07
HUDAKOV
Рет қаралды 507 М.