jcolibri.extensions.recommendation.navigationByProposing.queryElicitation
Class WeightedMoreLikeThis

java.lang.Object
  extended by jcolibri.extensions.recommendation.navigationByProposing.queryElicitation.WeightedMoreLikeThis
All Implemented Interfaces:
ComparisonQueryElicitation

public class WeightedMoreLikeThis
extends java.lang.Object
implements ComparisonQueryElicitation

The WeightedMoreLikeThis transfers all attributes from the selected case to the query but weights them given preference to diverse attributes among the proposed cases. The new weights are stored into a NNConfig object, so this strategy should be used with NN retrieval.

See:

L. McGinty and B. Smyth. Comparison-based recommendation. In ECCBR'02: Proceedings of the 6th European Conference on Advances in Case-Based Reasoning, pages 575-589, London, UK, 2002. Springer-Verlag.

Version:
1.0
Author:
Juan A. Recio-Garcia, Developed at University College Cork (Ireland) in collaboration with Derek Bridge.
See Also:
NNConfig

Constructor Summary
WeightedMoreLikeThis(NNConfig simConfig)
           
 
Method Summary
 void reviseQuery(CBRQuery query, CBRCase selectedCase, java.util.Collection<CBRCase> proposedCases)
          Replaces current query with the description of the selected case but weighting the attributes given preference to diverse attributes among the proposed cases.
static void weightedMoreLikeThis(CBRQuery query, CBRCase selectedCase, java.util.Collection<CBRCase> proposedCases, NNConfig simConfig)
          Replaces current query with the description of the selected case but weighting the attributes given preference to diverse attributes among the proposed cases.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeightedMoreLikeThis

public WeightedMoreLikeThis(NNConfig simConfig)
Method Detail

weightedMoreLikeThis

public static void weightedMoreLikeThis(CBRQuery query,
                                        CBRCase selectedCase,
                                        java.util.Collection<CBRCase> proposedCases,
                                        NNConfig simConfig)
Replaces current query with the description of the selected case but weighting the attributes given preference to diverse attributes among the proposed cases.


reviseQuery

public void reviseQuery(CBRQuery query,
                        CBRCase selectedCase,
                        java.util.Collection<CBRCase> proposedCases)
Replaces current query with the description of the selected case but weighting the attributes given preference to diverse attributes among the proposed cases.

Specified by:
reviseQuery in interface ComparisonQueryElicitation
Parameters:
query - to revise
selectedCase - by the user
proposedCases - to the user

GAIA - Group for Artificial Intelligence Applications
http://gaia.fdi.ucm.es