mlpy.knowledgerep.cbr.engine.CaseBase.reuse

CaseBase.reuse(case, case_matches)[source]

Performs the reuse step

Performs new generalizations and specializations as a consequence of the solution transformation.

Parameters:

case : Case

The query case.

case_matches : dict[int, CaseMatch]

The solution to the problem-solving experience.

Returns:

dict[int, CaseMatch] :

The revised solution to the problem-solving experience.