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

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

src/a/i/AIQ-HEAD/agents/Q_l.py   AIQ(Download)
    def __init__( self, refm, disc_rate, init_Q, Lambda, alpha, epsilon, gamma=0 ):
 
        Agent.__init__( self, refm, disc_rate )
 
        self.num_states  = refm.getNumObs() # assuming that states = observations

src/a/i/AIQ-HEAD/agents/HLQ_l.py   AIQ(Download)
    def __init__( self, refm, disc_rate, sel_mode, init_Q, Lambda, epsilon=0, gamma=0 ):
 
        Agent.__init__( self, refm, disc_rate )
 
        self.num_states = refm.getNumObs() # assuming that states = observations

src/a/i/AIQ-HEAD/agents/Freq.py   AIQ(Download)
    def __init__( self, refm, disc_rate, epsilon ):
 
        Agent.__init__( self, refm, disc_rate )
 
        self.obs_symbols = refm.getNumObsSyms()

src/a/i/AIQ-HEAD/agents/Random.py   AIQ(Download)
    def __init__( self, refm, disc_rate ):
        Agent.__init__( self, refm, disc_rate )
 
    def __str__( self ):
        return "Random()"

src/a/i/AIQ-HEAD/agents/MC_AIXI.py   AIQ(Download)
    def __init__( self, refm, disc_rate, sims, depth, horizon, \
                  epsilon=0.05, threads=1, memory=32 ):
 
        Agent.__init__( self, refm, disc_rate )
 

src/a/i/AIQ-HEAD/agents/Manual.py   AIQ(Download)
    def __init__( self, refm, disc_rate ):
        Agent.__init__( self, refm, disc_rate )
 
        if self.num_actions > 10:
            print "Error: Manual agent only handles 10 or less actions!"