Algorithm::HITS::Lite - HITS algorithm implementation not requiring PDL
my $ah = Algorithm::HITS::Lite->new(network => $adjm); my ($hub,$auth) = $ah->iterate(10);
new(network => $adjm)
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.
Copyright 2004 by Kang-min Liu <email@example.com>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.