Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> Need advice for Implementing classification algorithms in MapReduce


Copy link to this message
-
Need advice for Implementing classification algorithms in MapReduce
In-order to learn MapReduce algorithm,I usually try it from scratch.
What I follow is for classification algorithms-

*First I build a model *
*hadoop jar myjar.jar edu.ModelDriver <Modelinput> <Modeloutput>*

*secondly I will write a prediction class in MR*
*hadoop jar myjar.jar edu.PredictDriver <Testinput> <TestOutput>
<Modeloutput>*

  *<Modeloutput> is supplied as an argument to get the model results for
prediction.*

Is this a better way ?

or Should I follow the below way -

*hadoop jar myjar.jar edu.Driver train="traininput.txt"
test="testinput.txt" output=outputlocation*
Which is the standard way?
Please suggest

*Thanks & Regards *
*Unmesha Sreeveni U.B*
*Hadoop, Bigdata Developer*
*Center for Cyber Security | Amrita Vishwa Vidyapeetham*
http://www.unmeshasreeveni.blogspot.in/

 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB