K-means algorithm in MapReduce using R language and a text file as input

99 views
Skip to first unread message

Rania Mkhinini Gahar

unread,
Sep 6, 2015, 6:08:39 PM9/6/15
to RHadoop
Hi,
I have tested the K-means example in the following link :
and it runs successfully.
My question here is how could I modify this script to be run with a  big text file as input  in the function "kmeans.mr" and thank you for advance.

Saar Golde

unread,
Sep 10, 2015, 2:58:50 PM9/10/15
to rha...@googlegroups.com
You should use the text file as an input, and use the appropriate input.format. 


--
post: rha...@googlegroups.com ||
unsubscribe: rhadoop+u...@googlegroups.com ||
web: https://groups.google.com/d/forum/rhadoop?hl=en-US
---
You received this message because you are subscribed to the Google Groups "RHadoop" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rhadoop+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages