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

All Samples(5)  |  Call(3)  |  Derive(0)  |  Import(2)

src/p/y/pylearn2-HEAD/pylearn2/training_algorithms/tests/test_sgd.py   pylearn2(Download)
from pylearn2.space import CompositeSpace, Conv2DSpace, VectorSpace
from pylearn2.termination_criteria import EpochCounter
from pylearn2.testing.cost import CallbackCost, SumOfParams
from pylearn2.testing.datasets import ArangeDataset
from pylearn2.train import Train
    # queried from the training set, and the expected number of updates
    # are applied.
    cost = SumOfCosts([SumOfParams(), (0., DummyCost())])
 
    scales = [.01, .02, .05, 1., 5.]
    # queried from the training set, and the expected number of updates
    # are applied.
    cost = SumOfCosts([SumOfParams(), (0., DummyCost())])
 
    scales = [.01, .02, .05, 1., 5.]

src/p/y/pylearn2-HEAD/pylearn2/training_algorithms/tests/test_learning_rule.py   pylearn2(Download)
from pylearn2.models.model import Model
from pylearn2.space import VectorSpace
from pylearn2.testing.cost import SumOfParams
from pylearn2.testing.datasets import ArangeDataset
from pylearn2.training_algorithms.sgd import SGD
    # queried from the training set, and the expected number of updates
    # are applied.
    cost = SumOfCosts([SumOfParams(), (0., DummyCost())])
 
    scales = [ .01, .02, .05, 1., 5. ]