I am having trouble computing the computational cost for grid search. Can someone please help with that? Also, can you please mention how to calculate the number of steps for gd and sgd?
Thanks a lot!
Hi, I am not 100% sure but I would compute it as following:
If you want to test \( M \) possible values for each dimension of \( \mathbf{w} \) in \( R^D \), then:
Therefore, the full complexity of the grid search would be, according to me:
$$ \mathcal{O}(M^D\cdot N \cdot D) $$
Computaional cost for grid search
I am having trouble computing the computational cost for grid search. Can someone please help with that?
Also, can you please mention how to calculate the number of steps for gd and sgd?
Thanks a lot!
1
Hi, I am not 100% sure but I would compute it as following:
If you want to test \( M \) possible values for each dimension of \( \mathbf{w} \) in \( R^D \), then:
Therefore, the full complexity of the grid search would be, according to me:
$$ \mathcal{O}(M^D\cdot N \cdot D) $$
Add comment