public final class AllItemSimilarities extends Object implements Callable<Object>
A simple command-line program that will compute most similar items for all items. 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 item ID is written on line to start.
Following that, similar items are written in item,value format on subsequent lines. The next
item ID follows and so on.
Example usage:
java -Xmx2g -cp myrrix-serving-x.y.jar net.myrrix.web.AllItemSimilarities
--localInputDir=[work dir] --howMany=[# similar items] --rescorerProviderClass=[your class(es)]
AllRecommendations| Constructor and Description |
|---|
AllItemSimilarities(AllConfig config) |
public AllItemSimilarities(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.