From eadce0ca4f9aa004d2ade83652d5c4f43ed0d8f3 Mon Sep 17 00:00:00 2001 From: Max Zwiessele Date: Wed, 22 Oct 2014 15:31:52 +0100 Subject: [PATCH] [stochastics] added doc --- GPy/inference/optimization/stochastics.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/GPy/inference/optimization/stochastics.py b/GPy/inference/optimization/stochastics.py index abde20d3..c9804e98 100644 --- a/GPy/inference/optimization/stochastics.py +++ b/GPy/inference/optimization/stochastics.py @@ -23,6 +23,11 @@ class StochasticStorage(object): class SparseGPMissing(StochasticStorage): def __init__(self, model, batchsize=1): + """ + Here we want to loop over all dimensions everytime. + Thus, we can just make sure the loop goes over self.d every + time. + """ self.d = xrange(model.Y_normalized.shape[1]) class SparseGPStochastics(StochasticStorage):