Cluster-Similarity

 view release on metacpan or  search on metacpan

lib/Cluster/Similarity.pm  view on Meta::CPAN

  if ($PkQk > 0 ) {
    $index = $Tk / sqrt($Pk * $Qk);
  }

  $matching_index_of{$id} = $index;

  return $index;

}



1;

=head1 DIAGNOSTICS

=over

=item C<<Need reference to classification>>

When a L</"Providing the data"> method is called without enough arguments.

=item C<<Classifications must be passed as array or hash references>>

Argument of wrong type.

=item C<<Please set/load classifications before calling ... method>>

Method was called without providing classification data first, by calling one of the L</"Providing the data> methods.

=item C<<Need data for classification 1/2>>

Data for classification 1 (2 resp.) is missing.

=back

=head1 CONFIGURATION AND ENVIRONMENT

Cluster::Similarity requires no configuration files or environment variables.

=head1 DEPENDENCIES

=over

=item Carp

=item Class::Std

=item List::Util qw(sum min)

=item Math::Combinatorics

=back


=head1 INCOMPATIBILITIES

None reported.


=head1 BUGS AND LIMITATIONS

No bugs have been reported.

Please report any bugs or feature requests to
C<bug-cluster-similarity@rt.cpan.org>, or through the web interface at
L<http://rt.cpan.org>.


=head1 TO DO

=over

=item

find more suitable return values for when a given similarity measure is not applicable.

=item 

for the B<Rand adjusted> measure make the maximum index configurable.

=back

=head1 AUTHOR

Ingrid Falk, C<< <ingrid dot falk at loria dot fr> >>

=head1 BUGS

Please report any bugs or feature requests to C<bug-cluster-similarity at rt.cpan.org>, or through
the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Cluster-Similarity>.  I will be notified, and then you'll
automatically be notified of progress on your bug as I make changes.

=head1 SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Cluster::Similarity


You can also look for information at:

=over 4

=item * RT: CPAN's request tracker

L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Cluster-Similarity>

=item * AnnoCPAN: Annotated CPAN documentation

L<http://annocpan.org/dist/Cluster-Similarity>

=item * CPAN Ratings

L<http://cpanratings.perl.org/d/Cluster-Similarity>

=item * Search CPAN

L<http://search.cpan.org/dist/Cluster-Similarity/>

=back



( run in 2.456 seconds using v1.01-cache-2.11-cpan-d8267643d1d )