You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spark.apache.org by Praveen Kumar Muthuswamy <mu...@gmail.com> on 2015/05/03 10:52:22 UTC

LDA and PageRank Using GraphX

Hi All,
I am looking to run LDA for topic modeling and page rank algorithms that
comes with GraphX
for some data analysis. Are there are any examples (GraphX) that I can take
a look  ?

Thanks
Praveen

Re: LDA and PageRank Using GraphX

Posted by 吴明瑜 <ti...@gmail.com>.
There is a PageRank algorithm in the lib package of graphx. And you can
find an example to invoke it in SynthBenchmark.scala in
org.apache.spark.examples.graphx.

2015-05-03 16:52 GMT+08:00 Praveen Kumar Muthuswamy <mu...@gmail.com>
:

> Hi All,
> I am looking to run LDA for topic modeling and page rank algorithms that
> comes with GraphX
> for some data analysis. Are there are any examples (GraphX) that I can take
> a look  ?
>
> Thanks
> Praveen
>



-- 
Mingyu Wu

Institute of Parallel and Distributed Systems

School of Software Engineering

Shanghai Jiao Tong University

Re: LDA and PageRank Using GraphX

Posted by Robin East <ro...@xense.co.uk>.
There is an LDA example in the MLlib examples. You can run it like this:

./bin/run-example mllib.LDAExample --stopwordFile <stopwords> <input documents>

stop words is a file of stop words, 1 on each line. Input documents are the text of each document, 1 document per line. To see all the options just run with no options or inputs.
> On 3 May 2015, at 09:52, Praveen Kumar Muthuswamy <mu...@gmail.com> wrote:
> 
> Hi All,
> I am looking to run LDA for topic modeling and page rank algorithms that
> comes with GraphX
> for some data analysis. Are there are any examples (GraphX) that I can take
> a look  ?
> 
> Thanks
> Praveen