data-science-from-scratch icon indicating copy to clipboard operation
data-science-from-scratch copied to clipboard

No example for minimize_stochastic

Open lafaulx opened this issue 9 years ago • 2 comments

There's no example for minimize_stochastic function and it's not clear how to use it – in batch functions you're able to pass anything as target_fn – for minimize_stochastic you should pass function that accepts 3 params+ and one of them is y (which I believe is supposed to be the value of target_fn(x)) – where am I wrong and how should I use it?

lafaulx avatar Jan 06 '16 10:01 lafaulx

Hi,

I am having the same problem. A theta parameter is required in the stocastic minimizer. Should I just set up random values?

TBOS87 avatar Apr 11 '18 08:04 TBOS87

sorry, I was to quick: i found an example with a theta put on random initial values on page 176

TBOS87 avatar Apr 11 '18 08:04 TBOS87