mlpy.mdp.continuous.casml.CbVRevisionMethod¶
-
class
mlpy.mdp.continuous.casml.
CbVRevisionMethod
(owner)[source]¶ Bases:
mlpy.knowledgerep.cbr.methods.IRevisionMethod
The revision method for the value case base implementation for
CASML
.The solutions provided by the query case is evaluated and information about whether the solution has or has not provided a desired outcome is gathered.
Parameters: owner : CaseBase
A pointer to the owning case base.
Notes
The CASML revision method for the value case base revises the state value associated with each nearest neighbor to its contribution to the error in estimating the value of :
where is the value associated with neighbor math:c_{V, k}, is the learning rate, is a geometric discount factor, and Gaussian kernel function determines the relative contribution of the k-nearest neighbors.
Methods
execute
(case, case_matches)Execute the revision step. plot_data
(case, case_matches)Plot the data.