mlpy.agents.modules.FollowPolicyModule.change_policies¶
-
FollowPolicyModule.
change_policies
(policies)[source]¶ Exchange the list of policies.
Parameters: policies : array_like, shape (n, nfeatures, ni)
A list of policies (i.e., action sequences), where n is the number of policies, nfeatures is the number of action features, and ni is the sequence length.
Raises: IndexError
If the list is empty.