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

All Samples(8)  |  Call(0)  |  Derive(4)  |  Import(4)

src/p/y/pylearn2-HEAD/pylearn2/training_algorithms/sgd.py   pylearn2(Download)
from pylearn2.space import CompositeSpace, NullSpace
from pylearn2.train_extensions import TrainExtension
from pylearn2.training_algorithms.training_algorithm import TrainingAlgorithm
from pylearn2.training_algorithms.learning_rule import Momentum
from pylearn2.training_algorithms.learning_rule import MomentumAdjustor \
class SGD(TrainingAlgorithm):
    """
    SGD = (Minibatch) Stochastic Gradient Descent.
    A TrainingAlgorithm that does stochastic gradient descent on minibatches
    of training examples.

src/p/y/pylearn2-HEAD/pylearn2/training_algorithms/default.py   pylearn2(Download)
 
from pylearn2.monitor import Monitor
from pylearn2.training_algorithms.training_algorithm import TrainingAlgorithm
from pylearn2.utils import safe_zip
from pylearn2.utils.data_specs import DataSpecsMapping
 
class DefaultTrainingAlgorithm(TrainingAlgorithm):

src/p/y/pylearn2-HEAD/pylearn2/training_algorithms/bgd.py   pylearn2(Download)
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
from pylearn2.train_extensions import TrainExtension
class BGD(TrainingAlgorithm):
    """
    Batch Gradient Descent training algorithm class
 
    Parameters

src/p/y/pylearn2-HEAD/pylearn2/tests/test_train.py   pylearn2(Download)
from pylearn2.models.model import Model
from pylearn2.space import VectorSpace
from pylearn2.training_algorithms.training_algorithm import TrainingAlgorithm
 
class DummyModel(Model):
class DummyAlgorithm(TrainingAlgorithm):
    pass
 
def test_serialization_guard():