Algorithm::HITS::Lite - HITS algorithm implementation not requiring PDL


Algorithm-HITS-Lite documentation  | view source Contained in the Algorithm-HITS-Lite distribution.

Index


NAME

Top

Algorithm::HITS::Lite - HITS algorithm implementation not requiring PDL

SYNOPSIS

Top

    my $ah = Algorithm::HITS::Lite->new(network => $adjm);
    my ($hub,$auth) = $ah->iterate(10);

APIs

Top

new(network => $adjm)

The required parameter $adjm is the 'Adjency Matrix' presentation of network, must be a hashref of hashref.

iterate($k)

Iterate the process for $k timesm, default to 10 if it's not given. Return a ($hub,$auth) weight pair. Each is a hashref with keys are the same as keys in $adjm.

sqsum(@list)

Internally used, return Square Sum of all numbers in @list.

SEE ALSO

Top

Algorithm::HITS, Algorithm::PageRank

COPYRIGHT

Top


Algorithm-HITS-Lite documentation  | view source Contained in the Algorithm-HITS-Lite distribution.