 An alternative method is to search directly in (some subset of) the policy space, in which case the problem becomes a case of stochastic optimization.The two approaches available are gradient-based and gradient-free methods.Gradient-based methods ("policy gradient methods") start with a mapping from a finite-dimensional (parameter) space to the space of policies