Hi, I as looking for how to use stochastic gradient descent and I found that it can be done by setting `MetricSamplingStrategyType`

as `RANDOM`

and that the adaptative gain factor can be done by setting `EstimateLearningRateType`

as `EachIteration`

.

My problem is that I looked in the documentation and in the simpleitk papers and didn’t find the methods for calculating the gradient and the gain factor. So, does anyone know where I can find this?

Thanks.