public abstract class AbstractKNNClassificationMethod extends Object implements KNNClassificationMethod
| Constructor and Description |
|---|
AbstractKNNClassificationMethod() |
| Modifier and Type | Method and Description |
|---|---|
CBRCase |
getPredictedCase(CBRQuery query,
Collection<RetrievalResult> cases)
Gets the predicted solution of the given cases according
to the classification type and returns a case that has the
query description and the predicted solution.
|
abstract ClassificationSolution |
getPredictedSolution(Collection<RetrievalResult> cases)
Gets the predicted solution of the given cases according
to the classification type.
|
public AbstractKNNClassificationMethod()
public abstract ClassificationSolution getPredictedSolution(Collection<RetrievalResult> cases)
getPredictedSolution in interface KNNClassificationMethodcases - a list of cases along with similarity scores.public CBRCase getPredictedCase(CBRQuery query, Collection<RetrievalResult> cases)
getPredictedCase in interface KNNClassificationMethodquery - the query.cases - a list of cases along with similarity scores.Copyright © 2018 Group of Artificial Intelligence Applications (GAIA). All rights reserved.