| 90 | |
| 91 | // ~/Documents/workspace/hadoop-0.21.0/bin/hadoop jar ~/Documents/workspace/Logistic/WinVectorLogistic.jar logisticscore model.ser ~/Documents/workspace/Logistic/test/com/winvector/logistic/uciCarTest.tsv scoreDir |
| 92 | public static void main(final String[] args) throws Exception { |
| 93 | final MapReduceScore mrl = new MapReduceScore(); |
| 94 | final int code = ToolRunner.run(null,mrl,args); |
| 95 | if(code!=0) { |
| 96 | final Log log = LogFactory.getLog(MapReduceScore.class); |
| 97 | log.fatal("MapReduceScore error, return code: " + code); |
| 98 | ToolRunner.printGenericCommandUsage(System.out); |
| 99 | } |
| 100 | } |
| 101 | |
| 102 | } |