| Package | Description |
|---|---|
| es.ucm.fdi.gaia.jcolibri.method.reuse.classification | |
| es.ucm.fdi.gaia.jcolibri.method.revise.classification |
| Modifier and Type | Method and Description |
|---|---|
ClassificationSolution |
UnanimousVotingMethod.getPredictedSolution(Collection<RetrievalResult> cases)
Predicts the class that has all the votes
among the k most similar cases and is equal to the class configured
using the constructor.
|
ClassificationSolution |
SimilarityWeightedVotingMethod.getPredictedSolution(Collection<RetrievalResult> cases)
Predicts the class that has the highest value vote
among the k most similar cases, where votes are based on
similarity to the query.
|
ClassificationSolution |
KNNClassificationMethod.getPredictedSolution(Collection<RetrievalResult> cases)
Gets the predicted solution of the given cases according
to the classification type.
|
ClassificationSolution |
MajorityVotingMethod.getPredictedSolution(Collection<RetrievalResult> cases)
Predicts the class that has the highest number of votes
among the k most similar cases.
|
abstract ClassificationSolution |
AbstractKNNClassificationMethod.getPredictedSolution(Collection<RetrievalResult> cases)
Gets the predicted solution of the given cases according
to the classification type.
|
| Modifier and Type | Method and Description |
|---|---|
double |
BasicClassificationOracle.getPredictionCost(ClassificationSolution predictedSolution,
CBRCase testCase)
Calculates the cost of the given solution as a prediction for the
solution of the given case.
|
double |
ClassificationOracle.getPredictionCost(ClassificationSolution predictedSolution,
CBRCase testCase)
Calculates the cost of the given solution as a prediction for the
solution of the given case.
|
double |
BasicClassificationOracle.getPredictionCost(ClassificationSolution predictedSolution,
ClassificationSolution correctSolution)
Calculates the cost of the given test solution while bein compared
to the given correct solution.
|
double |
ClassificationOracle.getPredictionCost(ClassificationSolution predictedSolution,
ClassificationSolution correctSolution)
Calculates the cost of the given test solution while bein compared
to the given correct solution.
|
boolean |
BasicClassificationOracle.isCorrectPrediction(ClassificationSolution predictedSolution,
CBRCase testCase)
Checks if the predicted solution is the correct solution
for the given test case.
|
boolean |
ClassificationOracle.isCorrectPrediction(ClassificationSolution predictedSolution,
CBRCase testCase)
Checks if the predicted solution is the correct solution
for the given test case.
|
boolean |
BasicClassificationOracle.isCorrectPrediction(ClassificationSolution predictedSolution,
ClassificationSolution correctSolution)
Checks if the predicted solution and the correct solution
are the same.
|
boolean |
ClassificationOracle.isCorrectPrediction(ClassificationSolution predictedSolution,
ClassificationSolution correctSolution)
Checks if the predicted solution and the correct solution
are the same.
|
Copyright © 2018 Group of Artificial Intelligence Applications (GAIA). All rights reserved.