Algorithm::HITS::Lite - HITS algorithm implementation not requiring PDL
my $ah = Algorithm::HITS::Lite->new(network => $adjm); my ($hub,$auth) = $ah->iterate(10);
The required parameter $adjm is the 'Adjency Matrix' presentation of network, must be a hashref of hashref.
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.
Internally used, return Square Sum of all numbers in @list.
Algorithm::HITS, Algorithm::PageRank
Copyright 2004 by Kang-min Liu <gugod@gugod.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See <http://www.perl.com/perl/misc/Artistic.html>
To install Algorithm::HITS::Lite, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Algorithm::HITS::Lite
CPAN shell
perl -MCPAN -e shell install Algorithm::HITS::Lite
For more information on module installation, please visit the detailed CPAN module installation guide.