mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stéphane Campinas <stephane.campi...@deri.org>
Subject Re: Pagerank
Date Wed, 19 Oct 2011 20:13:10 GMT
On 19/10/11 21:08, Sebastian Schelter wrote:
> Hi Stephane,
>
> This is achieved by the addition of the dampingVector in line 99.
>
> http://svn.apache.org/viewvc/mahout/trunk/core/src/main/java/org/apache/mahout/graph/linkanalysis/RandomWalk.java?view=markup
>
> --sebastian
>
> 2011/10/19 Stéphane Campinas<stephane.campinas@deri.org>:
>> Hi,
>>
>> I have a question regarding the code of the PageRankJob class [1]. I do not
>> see where
>> the "stochasticity adjustment" [2] is done in the code. It seems that a row
>> of zeros is not
>> replaced by 1/n*Ones(), with n the number of vertices and Ones() the vector
>> with only 1
>> as values.
>> Could you tell me where this operation is done ?
>>
>> Thanks
>>
>> [1]
>> http://www.google.com/codesearch#6LK_nEANBKE/core/src/main/java/org/apache/mahout/graph/linkanalysis/PageRankJob.java&type=cs&l=221
>> <http://www.google.com/codesearch#6LK_nEANBKE/core/src/main/java/org/apache/mahout/graph/linkanalysis/PageRankJob.java&type=cs&l=221>
>> [2]
>> http://books.google.com/books?id=hxvB14-I0twC&lpg=PA37&ots=7VPrLh9q3U&dq=%22stochasticity%20adjustment%22&pg=PA37#v=onepage&q=%22stochasticity%20adjustment%22&f=false
>> <http://books.google.com/books?id=hxvB14-I0twC&lpg=PA37&ots=7VPrLh9q3U&dq=%22stochasticity%20adjustment%22&pg=PA37#v=onepage&q=%22stochasticity%20adjustment%22&f=false>
>>
>> --
>> Campinas Stéphane
>>
Ok, thank you Sebastian

-- 
Campinas Stéphane

Mime
View raw message