Grid Search Optimization
Learn to implement the grid search optimization algorithm.
We'll cover the following...
What is grid search optimization?
Grid search is another brute-force optimization algorithm that treats the objective function as a black box and evaluates it on a set of data points just like a random search. Grid search works by dividing the space into a grid and sampling all combinations from that.
Let’s recall the example of the interview process where the task was to find a suitable candidate for a particular role without prescreening. Let’s assume that the objective function
For each input
Now, we will evaluate the objective function on the Cartesian product