List of usage examples for org.apache.mahout.cf.taste.recommender IDRescorer interface-usage
From source file com.staticvillage.recommender.LocalRescorer.java
/** * Created by joelparrish on 12/28/14. */ public class LocalRescorer implements IDRescorer { private FastIDSet local;
From source file net.myrrix.online.example.rescorer.SimilarToItemRescorer.java
/**
* Rescores candidate recommendations based on similarity to a given item. This can be useful to demote items
* that are less similar to an item currently "in focus". For example, a product recommender might rescore
* recommendations this way when the user is browsing a product page. Note that this will <em>exclude</em>
* the given item from recommendations too.
*
From source file net.myrrix.online.ExampleRescorer.java
/**
* A simple sketch of a {@link IDRescorer} that reloads some kind of data periodically from a
* remote resource.
*
* @author Sean Owen
* @since 1.0
From source file net.myrrix.online.MultiRescorer.java
/**
* Convenience implementation that will aggregate the behavior of multiple {@link IDRescorer}s.
* It will filter an item if any of the given instances filter it, and will rescore by applying
* the rescorings in the given order.
*
* @author Sean Owen
From source file net.myrrix.online.SimpleModRescorer.java
final class SimpleModRescorer implements IDRescorer, Rescorer<LongPair> { private final int modulus; SimpleModRescorer(int modulus) { this.modulus = modulus;
From source file org.plista.kornakapi.core.recommender.FixedCandidatesIDRescorer.java
/** an {@link IDRescorer} that filters all items not in a given candidate set */ public class FixedCandidatesIDRescorer implements IDRescorer { private final FastIDSet candidates; public FixedCandidatesIDRescorer(FastIDSet candidates) {
From source file recommender.CustomRescorer.java
/** * * @author Daniele Cenni, daniele.cenni@unifi.it */ public class CustomRescorer implements IDRescorer {
From source file smartcityrecommender.CustomRescorer.java
/** * * @author Daniele Cenni, daniele.cenni@unifi.it */ public class CustomRescorer implements IDRescorer {