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

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

src/p/y/pylearn2-HEAD/pylearn2/sandbox/lisa_rl/bandit/classifier_agent.py   pylearn2(Download)
import theano.tensor as T
 
from pylearn2.sandbox.lisa_rl.bandit.agent import Agent
from pylearn2.utils import sharedX
from pylearn2.utils.rng import make_theano_rng
class ClassifierAgent(Agent):
    """
    A contextual bandit agent that knows a priori that the task is
    classification. Specifically, the actions the agent can take
    are to output k different one-hot vectors. If it outputs the

src/p/y/pylearn2-HEAD/pylearn2/sandbox/lisa_rl/bandit/average_agent.py   pylearn2(Download)
 
 
from pylearn2.sandbox.lisa_rl.bandit.agent import Agent
from pylearn2.utils import sharedX
 
class AverageAgent(Agent):