jcolibri.test.recommenders.rec12
Class MoviesRecommender

java.lang.Object
  extended by jcolibri.test.recommenders.rec12.MoviesRecommender
All Implemented Interfaces:
StandardCBRApplication

public class MoviesRecommender
extends java.lang.Object
implements StandardCBRApplication

Single-Shot movies recommender obtaining description from profile and scoring cases using collaborative recommendation.
This recommender uses a collaborative retrieval algorithm. These collaborative algorithms return items depending on the recommendations of other users. They require an special organization of the case base to be executed (see PearsonMatrixCaseBase). The query is obtained from a serialized profile following the behaviour of many existing on-line movies recommenders.
Summary:

This recommender implements the following template:

Read the documentation of the recommenders extension for details about templates and recommender strategies: jcolibri.extensions.recommendation

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

Constructor Summary
MoviesRecommender()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoviesRecommender

public MoviesRecommender()
Method Detail

configure

public void configure()
               throws ExecutionException
Description copied from interface: StandardCBRApplication
Configures the application: case base, connectors, etc.

Specified by:
configure in interface StandardCBRApplication
Throws:
ExecutionException

cycle

public void cycle(CBRQuery query)
           throws ExecutionException
Description copied from interface: StandardCBRApplication
Executes a CBR cycle with the given query.

Specified by:
cycle in interface StandardCBRApplication
Throws:
ExecutionException

postCycle

public void postCycle()
               throws ExecutionException
Description copied from interface: StandardCBRApplication
Runs the code to shutdown the application. Typically it closes the connector.

Specified by:
postCycle in interface StandardCBRApplication
Throws:
ExecutionException

preCycle

public CBRCaseBase preCycle()
                     throws ExecutionException
Description copied from interface: StandardCBRApplication
Runs the precyle where typically cases are read and organized into a case base.

Specified by:
preCycle in interface StandardCBRApplication
Returns:
The created case base with the cases in the storage.
Throws:
ExecutionException

main

public static void main(java.lang.String[] args)
Parameters:
args -

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