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

model.matrixFactorization.FactorizationModel 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.model.matrixFactorization;

/**
 * 

Interface for matrix factorization model based collaborative filtering. It has two * methods:

*
    *
  1. train: computes factorization process.
  2. *
  3. getPrediction: get rating prediction of an user to an item.
  4. *
* * @author Fernando Ortega * */ public interface FactorizationModel { /** * Runs matrix factorization process. Parallelization must be implemented * inside this method. */ public void train (); /** * Get rating prediction of an user to an item * @param userIndex User index * @param itemIndex Item index * @return Rating prediction */ public double getPrediction (int userIndex, int itemIndex); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy