Package org.apache.mahout.cf.taste.hadoop.als

Examples of org.apache.mahout.cf.taste.hadoop.als.PredictionJob$FeaturesMapper


    Path tempDir = new Path(parsedArgs.get("--tempDir"));
    Path predictions = new Path(tempDir, "predictions");
    Path errors = new Path(tempDir, "errors");

    ToolRunner.run(getConf(), new PredictionJob(), new String[] { "--output", predictions.toString(),
        "--pairs", parsedArgs.get("--pairs"), "--userFeatures", parsedArgs.get("--userFeatures"),
        "--itemFeatures", parsedArgs.get("--itemFeatures"),
        "--tempDir", tempDir.toString() });

    Job estimationErrors = prepareJob(new Path(parsedArgs.get("--pairs") + ',' + predictions), errors,
View Full Code Here

TOP

Related Classes of org.apache.mahout.cf.taste.hadoop.als.PredictionJob$FeaturesMapper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.