(Libraries)
Line 18: Line 18:
  
 
* Script to convert data from the LIBSVM to the FANN format
 
* Script to convert data from the LIBSVM to the FANN format
 +
<nowiki>
 +
#!/usr/bin/perl
 +
#
 +
# Usage: ./transform.pl <filename> <nfeatures> <noutputs>
 +
#
 +
$filename = $ARGV[0];
 +
$nfeatures = $ARGV[1];
 +
$noutputs = $ARGV[2];
 +
open(DATA,$filename);
 +
 +
@lines = <DATA>;
 +
 +
$size = $#lines +1;
 +
print "$size $nfeatures $noutputs\n";
 +
 +
foreach $line(@lines)
 +
{
 +
@fields = split (" ", $line);
 +
$i=0;
 +
$label="";
 +
foreach $field(@fields)
 +
{
 +
if ($i == 0)
 +
{
 +
$label = $field;
 +
$i++;
 +
}
 +
else
 +
{
 +
($num, $feature) = split (":",$field);
 +
print "$feature ";
 +
}
 +
}
 +
print "\n$label\n";
 +
}
 +
close (DATA);
 +
 +
</nowiki>
  
 
== Mathematical Open-Source Packages ==
 
== Mathematical Open-Source Packages ==

Revision as of 07:55, 24 March 2008

Open-Source Mathematical Software

  • A.I Solver Studio 1.0 [1] - This is a very simple to use pattern recognition tool. The tool uses artificial intelligence techniques like neural networks and genetic algorithms to find an optimal solution to classification problems. This description was extracted from the download site of the tool.
  • Multiple links to pattern recognition tools [2] - This site contains a list of commercial and freeware pattern recognition tools. Some of the applications that you can find deal with character recognition, face recognition, speech recognition, computer vision, and coin recognition.
  • Classifiers Source Code[3]

Clustering Tools

  • Efficient Algorithms for K-Means [4]

Libraries

  • LIBSVM - A Library for Support Vector Machines
  • FANN - A Library for Artificial Neural Networks - It's a open source C library with bindings from most of the popular programming languages, such as C/C++, perl, python, matlab, etc...
  • Script to convert data from the LIBSVM to the FANN format

#!/usr/bin/perl # # Usage: ./transform.pl <filename> <nfeatures> <noutputs> # $filename = $ARGV[0]; $nfeatures = $ARGV[1]; $noutputs = $ARGV[2]; open(DATA,$filename); @lines = <DATA>; $size = $#lines +1; print "$size $nfeatures $noutputs\n"; foreach $line(@lines) { @fields = split (" ", $line); $i=0; $label=""; foreach $field(@fields) { if ($i == 0) { $label = $field; $i++; } else { ($num, $feature) = split (":",$field); print "$feature "; } } print "\n$label\n"; } close (DATA);

Mathematical Open-Source Packages

  • Scilab_Old Kiwi - A opensource matlab-like software environment developed at INRIA

Packages available from www.kernel-machines.org

  • LibSVM (C++)
  • SVMLight (C)
  • Torch (C++)
  • Spider (Matlab)
  • Weka (Java)

Alumni Liaison

To all math majors: "Mathematics is a wonderfully rich subject."

Dr. Paul Garrett