Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.545.112 Times

Text::NSP::Measures::2D::Dice::jaccard 1.03

  Date Added: November 07, 2010  |  Visits: 736

Text::NSP::Measures::2D::Dice::jaccard

Report Broken Link
Printer Friendly Version


Product Homepage
Download (93 downloads)



Text::NSP::Measures::2D::Dice::jaccard is a Perl module that implements the jaccard coefficient. SYNOPSIS Basic Usage use Text::NSP::Measures::2D::Dice::jaccard; my $npp = 60; my $n1p = 20; my $np1 = 20; my $n11 = 10; $jaccard_value = calculateStatistic( n11=>$n11, n1p=>$n1p, np1=>$np1, npp=>$npp); if( ($errorCode = getErrorCode())) { print STDERR $errorCode." - ".getErrorMessage()."n""; } else { print getStatisticName."value for bigram is ".$jaccard_value."n""; } Assume that the frequency count data associated with a bigram < word1 >< word2 > is stored in a 2x2 contingency table: word2 ~word2 word1 n11 n12 | n1p ~word1 n21 n22 | n2p -------------- np1 np2 npp where n11 is the number of times < word1 >< word2 > occur together, and n12 is the number of times < word1 > occurs with some word other than word2, and n1p is the number of times in total that word1 occurs as the first word in a bigram. The Jaccard Coefficient is the ratio of number of times the words occur together to the number of times atleast any one of the words occur. It is defined as: n11 --------------- n11 + n12 + n21 The Jaccard coefficient can also be computed by applying a transformation to the dice coefficient: $jaccard = $dice/(2-$dice) We use this computation of jaccard in our implementation. Methods calculateStatistic() - method to calculate the jaccard coefficient value INPUT PARAMS : $count_values .. Reference of an hash containing the count values computed by the count.pl program. RETURN VALUES : $jaccard .. Jaccard Coefficient value for this bigram. getStatisticName() - Returns the name of this statistic INPUT PARAMS : none RETURN VALUES : $name .. Name of the measure..

Requirements: No special requirements
Platforms: Linux
Keyword: Coefficient Jaccard Jaccard Coefficient Libraries Nsp Number Perl Module Programming Times Value
Users rating: 0/10

License: Freeware Size: 962.56 KB
USER REVIEWS
More Reviews or Write Review


TEXT::NSP::MEASURES::2D::DICE::JACCARD RELATED
Libraries  -  Text::NSP::Measures::2D::Fisher2::twotailed 1.03
Text::NSP::Measures::2D::Fisher2::twotailed is a Perl module implementation of the two-sided Fishers exact test. SYNOPSIS Basic Usage use Text::NSP::Measures::2D::Fisher2::twotailed; my $npp = 60; my $n1p = 20; my $np1 = 20; my $n11 = 10;...
952.32 KB  
Libraries  -  Text::NSP::Measures::2D::CHI::x2 1.03
Text::NSP::Measures::2D::CHI::x2 is a Perl module that implements Pearsons chi squared measure of association for bigrams. SYNOPSIS Basic Usage use Text::NSP::Measures::2D::CHI::x2; my $npp = 60; my $n1p = 20; my $np1 = 20; my $n11 = 10;...
952.32 KB  
Libraries  -  Text::NSP::Measures::2D::Fisher::left 1.03
Text::NSP::Measures::2D::Fisher::left is a Perl module implementation of the left sided Fishers exact test. SYNOPSIS Basic Usage use Text::NSP::Measures::2D::Fisher::left; my $npp = 60; my $n1p = 20; my $np1 = 20; my $n11 = 10;...
952.32 KB  
Libraries  -  Text::NSP::Measures::2D::Fisher::twotailed 1.03
Text::NSP::Measures::2D::Fisher::twotailed is a Perl module implementation of the two-sided Fishers exact test. SYNOPSIS Basic Usage use Text::NSP::Measures::2D::Fisher::twotailed; my $npp = 60; my $n1p = 20; my $np1 = 20; my $n11 = 10;...
952.32 KB  
Libraries  -  Text::NSP::Measures::2D::Fisher2::right 1.03
Text::NSP::Measures::2D::Fisher2::right is a Perl module implementation of the right sided Fishers exact test. SYNOPSIS Basic Usage use Text::NSP::Measures::2D::Fisher2::right; my $npp = 60; my $n1p = 20; my $np1 = 20; my $n11 = 10;...
952.32 KB  
Libraries  -  Alien Perl module 0.91
Alien Perl module package contains external libraries wrapped up for your viewing pleasure! SYNOPSIS perldoc Alien; Alien is a package that exists just to hold together an idea, the idea of Alien:: packages, so there is no code here, just...
10.24 KB  
Libraries  -  Lingua::ID::Nums2Words 0.01
Lingua::ID::Nums2Words is a Perl module to convert number to Indonesian verbage. SYNOPSIS use Lingua::ID::Nums2Words ; print nums2words(123) ; # "seratus dua puluh tiga" print nums2words_simple(123) ; # "satu dua tiga" nums2words...
3.07 KB  
Libraries  -  Statistics::Descriptive 2.6
Statistics::Descriptive is a Perl module of basic descriptive statistical functions. SYNOPSIS use Statistics::Descriptive; $stat = Statistics::Descriptive::Full->new(); $stat->add_data(1,2,3,4); $mean = $stat->mean(); $var =...
11.26 KB  
Libraries  -  OpenGeoDB Perl module 0.4
OpenGeDB Perl module is a module to access the OpenGeoDB database and calculate all ZIP codes in a certain radius..
3.07 KB  
Libraries  -  Tie::CountLoop 1.5
Tie::CountLoop is a Perl module that helps you have a counter looping in a scalar with min max and increment value. SYNOPSIS use Tie::CountLoop; tie my $counter , Tie::CountLoop,15 ,-1 ,15 ,7 ,0; my $t = tied $counter; $t->increment( 1 );...
3.07 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB