All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rortega.cf4j-recsys.1.1.0.source-code.Partible Maven / Gradle / Ivy

Go to download

A Java's Collaborative Filtering library to carry out experiments in research of Collaborative Filtering based Recommender Systems. The library has been designed from researchers to researchers.

The newest version!
package cf4j;

/**
 * 

This interface has three methods:

*
    *
  1. beforeRun: is executed once before execute the method 'run'. It can be * used to initialize resources.
  2. *
  3. run: is executed once for each test element. Depending on how the * class is called from Processor, test elements will be users or items.
  4. *
  5. afterRun: is executed once after execute the method run. It can be * used to close resources.
  6. *
* * @see TestUsersPartible * @see TestItemsPartible * * @author Fernando Ortega */ public abstract interface Partible { /** * Is executed once before execute the method 'run'. It can be used to initialize * resources. */ public void beforeRun (); /** * Is executed once for each test element. * @param index Index of the test element. */ public abstract void run (int index); /** * Is executed once after execute the method run. It can be used to close * resources. */ public void afterRun (); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy