Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    Statistics::MaxEntropy 0.9

    Download button

    No screenshots available
    Downloads: 334  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Hugo WL ter Doest | More programs
    GPL / FREE
    May 23rd, 2007, 12:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Statistics::MaxEntropy description

    MaxEntropy is a Perl5 module for Maximum Entropy Modeling and Feature Induction.

    MaxEntropy is a Perl5 module for Maximum Entropy Modeling and Feature Induction.

    SYNOPSIS

    use Statistics::MaxEntropy;

    # debugging messages; default 0
    $Statistics::MaxEntropy::debug = 0;

    # maximum number of iterations for IIS; default 100
    $Statistics::MaxEntropy::NEWTON_max_it = 100;

    # minimal distance between new and old x for Newton's method;
    # default 0.001
    $Statistics::MaxEntropy::NEWTON_min = 0.001;

    # maximum number of iterations for Newton's method; default 100
    $Statistics::MaxEntropy::KL_max_it = 100;

    # minimal distance between new and old x; default 0.001
    $Statistics::MaxEntropy::KL_min = 0.001;

    # the size of Monte Carlo samples; default 1000
    $Statistics::MaxEntropy::SAMPLE_size = 1000;

    # creation of a new event space from an events file
    $events = Statistics::MaxEntropy::new($file);

    # Generalised Iterative Scaling, "corpus" means no sampling
    $events->scale("corpus", "gis");

    # Improved Iterative Scaling, "mc" means Monte Carlo sampling
    $events->scale("mc", "iis");

    # Feature Induction algorithm, also see Statistics::Candidates POD
    $candidates = Statistics::Candidates->new($candidates_file);
    $events->fi("iis", $candidates, $nr_to_add, "mc");

    # writing new events, candidates, and parameters files
    $events->write($some_other_file);
    $events->write_parameters($file);
    $events->write_parameters_with_names($file);

    # dump/undump the event space to/from a file
    $events->dump($file);
    $events->undump($file);

    This module is an implementation of the Generalised and Improved Iterative Scaling (GIS, IIS) algorithms and the Feature Induction (FI) algorithm as defined in (Darroch and Ratcliff 1972) and (Della Pietra et al. 1997). The purpose of the scaling algorithms is to find the maximum entropy distribution given a set of events and (optionally) an initial distribution.

    Also a set of candidate features may be specified; then the FI algorithm may be applied to find and add the candidate feature(s) that give the largest `gain' in terms of Kullback Leibler divergence when it is added to the current set of features.

    Events are specified in terms of a set of feature functions (properties) f_1...f_k that map each event to {0,1}: an event is a string of bits. In addition of each event its frequency is given. We assume the event space to have a probability distribution that can be described by
    The module requires the Bit::SparseVector module by Steffen Beyer and the Data::Dumper module by Gurusamy Sarathy. Both can be obtained from CPAN just like this module.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    Maximum Entropy Modeling | Feature Induction | Perl module | Statistics::MaxEntro | Entropy | Modeling

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM