Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(3)  |  Derive(0)  |  Import(3)

src/p/y/pylearn2-HEAD/pylearn2/training_algorithms/sgd.py   pylearn2(Download)
from pylearn2.training_algorithms.learning_rule import MomentumAdjustor \
        as LRMomentumAdjustor
from pylearn2.utils.iteration import is_stochastic, has_uniform_batch_size
from pylearn2.utils import py_integer_types, py_float_types
from pylearn2.utils import safe_zip
        self.first = False
        rng = self.rng
        if not is_stochastic(self.train_iteration_mode):
            rng = None
 

src/p/y/pylearn2-HEAD/pylearn2/training_algorithms/bgd.py   pylearn2(Download)
from pylearn2.monitor import Monitor
from pylearn2.optimization.batch_gradient_descent import BatchGradientDescent
from pylearn2.utils.iteration import is_stochastic
from pylearn2.training_algorithms.training_algorithm import TrainingAlgorithm
from pylearn2.utils import safe_zip
        rng = self.rng
        train_iteration_mode = 'shuffled_sequential'
        if not is_stochastic(train_iteration_mode):
            rng = None
 

src/p/y/pylearn2-HEAD/pylearn2/monitor.py   pylearn2(Download)
from pylearn2.space import Space, CompositeSpace, NullSpace
from pylearn2.utils import function, sharedX, safe_zip, safe_izip
from pylearn2.utils.iteration import is_stochastic
from pylearn2.utils.data_specs import DataSpecsMapping
from pylearn2.utils.string_utils import number_aware_alphabetical_key
        custom_channels.update(channels)
 
        if is_stochastic(mode):
            seed = [[2013, 02, 22]]
        else: