public final class AllRecommendations extends Object implements Callable<Object>
A simple command-line program that will compute recommendations for all users. It does not start an instance of the Serving Layer that responds to requests via HTTP. Instead it performs all computations locally, in bulk. This may be useful to create a simple batch recommendation process when that is all that's needed.
Results are written to System.out. Each user ID is written on line to start.
Following that, recommendations are written in item,value format on subsequent lines. The next
user ID follows and so on.
Example usage:
java -Xmx2g -cp myrrix-serving-x.y.jar net.myrrix.web.AllRecommendations
--localInputDir=[work dir] --howMany=[# recs] --rescorerProviderClass=[your class(es)]
AllItemSimilarities| Constructor and Description |
|---|
AllRecommendations(AllConfig config) |
public AllRecommendations(AllConfig config)
public Object call() throws InterruptedException, net.myrrix.common.NotReadyException, ExecutionException
call in interface Callable<Object>InterruptedExceptionnet.myrrix.common.NotReadyExceptionExecutionExceptionCopyright © 2012-2013. All Rights Reserved.