Did I find the right examples for you? yes no

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

src/p/y/python-rl-HEAD/pyrl/agents/planners/fitted_qiteration.py   python-rl(Download)
 
        """
        self.randParameter('iterations', args, sample=numpy.random.randint(500))
        self.randParameter('support_size', args, sample=numpy.random.randint(500))
        # Randomize basis parameters
        if self.fa_name == 'fourier':
            self.randParameter('fourier_order', args, sample=numpy.random.randint(1,5)*2 + 1)
        elif self.fa_name == 'rbf':
            self.randParameter('rbf_number', args, sample=numpy.random.randint(100))
            self.randParameter('rbf_beta', args)