|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcolibri.test.recommenders.rec5.Houses5
public class Houses5
Conversational (type A) flats recommender using Navigation by Asking and KNN retrieval.
This recommender combines Navigation by Asking and Nearest Neighbour retrieval.
To select the attribute asked to the user, it applies the Similarity Influence method.
Then, the NN scoring method is executed and the retrieved items are presented to the
user. If the user does not find the desired item, the system asks again for the value
of another attribute.
Note!: the Similarity influence method runs very slowly. To speed up the execution, only
200 items are loaded.
Summary:
jcolibri.extensions.recommendation
ObtainQueryWithAttributeQuestionMethod
,
SimilarityInfluence
,
NNScoringMethod
,
SelectCases
,
DisplayCasesTableMethod
Constructor Summary | |
---|---|
Houses5()
|
Method Summary | |
---|---|
void |
configure()
Configures the application: case base, connectors, etc. |
void |
cycle(CBRQuery query)
Executes a CBR cycle with the given query. |
static void |
main(java.lang.String[] args)
|
void |
postCycle()
Runs the code to shutdown the application. |
CBRCaseBase |
preCycle()
Runs the precyle where typically cases are read and organized into a case base. |
void |
sequence1(CBRQuery query)
|
void |
sequence2(CBRQuery query)
|
void |
sequence3(UserChoice choice,
java.util.Collection<CBRCase> retrievedCases)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Houses5()
Method Detail |
---|
public void configure() throws ExecutionException
StandardCBRApplication
configure
in interface StandardCBRApplication
ExecutionException
public void cycle(CBRQuery query) throws ExecutionException
StandardCBRApplication
cycle
in interface StandardCBRApplication
ExecutionException
public void sequence1(CBRQuery query) throws ExecutionException
ExecutionException
public void sequence2(CBRQuery query) throws ExecutionException
ExecutionException
public void sequence3(UserChoice choice, java.util.Collection<CBRCase> retrievedCases) throws ExecutionException
ExecutionException
public void postCycle() throws ExecutionException
StandardCBRApplication
postCycle
in interface StandardCBRApplication
ExecutionException
public CBRCaseBase preCycle() throws ExecutionException
StandardCBRApplication
preCycle
in interface StandardCBRApplication
ExecutionException
public static void main(java.lang.String[] args)
|
GAIA - Group for Artificial Intelligence Applications http://gaia.fdi.ucm.es |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |