mlpy.knowledgerep.cbr.engine.CaseBase.retain

CaseBase.retain(case, case_matches)[source]

Retain new case.

Retain new case depending on the revise outcomes and the CBR policy regarding case retention.

Parameters:

case : Case

The query case.

case_matches : dict[int, CaseMatch]

The corrected solution