def initial_individual(self):
        """Generates an individual with random parameters within bounds."""
        ind = creator.Individual(
            [random.uniform(-1, 1)
             for _ in range(len(self._params['value_means']))])
        return ind
def initial_individual ( self ) : ind = creator . Individual ( [ random . uniform ( - 1 , 1 ) for _ in range ( len ( self . _params [ 'value_means' ] ) ) ] ) return ind
Generates an individual with random parameters within bounds.