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

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

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
 
    data_specs = (model.get_input_space(), model.get_input_source())
    cost = CallbackCost(visit, data_specs)
 
    # We need to include this so the test actually stops running at some point
 
        data_specs = (model.get_input_space(), model.get_input_source())
        cost = CallbackCost(visit, data_specs)
 
        # We need to include this so the test actually stops running at some