Algorithm::HITS - Perl implementation of HITS algorithm
This module implements the HITS algorithm (Kleinberg's hypertext-induced topic selection).
use Algorithm::HITS; $h = new Algorithm::HITS;
$h->graph( [ 0 => 1, 0 => 2, 1 => 0, 1 => 2, 2 => 1, ] );
Iterate 1000 times.
Default value is 1
Return hub vector and authority vector in PDL object format.
Set initial authority vector. Vector is normalized to unit Euclidean length.
Set initial hub vector. Vector is normalized to unit Euclidean length.
Thanks goes to Hugo Zanghi for pointing out the bug in normalizing vectors.
Copyright (C) 2004 by Yung-chung Lin (a.k.a. xern) <email@example.com>
This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself