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 the file indicated by --outFile. The format mirrors that of the Computation
Layer. Each line begins with a user ID, followed by tab, followed "[item1:sim1,item2:sim2,...]"
Example usage:
java -cp myrrix-serving-x.y.jar net.myrrix.web.AllRecommendations
--localInputDir=[work dir] --outFile=out.txt --howMany=[# recs]
--rescorerProviderClass=[your class(es)]
AllItemSimilarities| Constructor and Description |
|---|
AllRecommendations(AllConfig config) |
public AllRecommendations(AllConfig config)
public Object call() throws IOException, InterruptedException, NotReadyException, ExecutionException
call in interface Callable<Object>IOExceptionInterruptedExceptionNotReadyExceptionExecutionExceptionCopyright © 2012-2013 Myrrix Ltd. All Rights Reserved.