Arff::Util - ARFF files processing utilities. This is a moose-based class.
Version 1.2
Quick summary of what the module does.
use ARFF::Util; my $arff_object = ARFF::Util->new(); # load .arff formatted file into the buffer, and return pointer to buffer $arff_hash = $arff_object->load_arff($file_address); # save given buffer into the .arff formatted file $arff_object->save_arff($arff_hash, $file_address);
ARFF::Util provides a collection of methods for processing ARFF formatted files. "An ARFF (Attribute-Relation File Format) file is an ASCII text file that describes a list of instances sharing a set of attributes." for more information about ARFF format visit http://www.cs.waikato.ac.nz/~ml/weka/arff.html
This is a buffer hash Structure of hash: relation -> { attributes => [ { attribute_name => x1, attribute_type => x2, },... ] records => [ { attribute_name1 => value1, attribute_name2 => value2,... },... ] data_record_count => x }
Number of errors occured during the parsing or saving
Set it to one to see detail info
Get arff file path and load it in buffer
Save given buffer into the .arff formatted file.
Ehsan Emadzadeh, <ehsan0emadzadeh at yahoo.com>
Contributing developer:
- Ondrej Dusek
Please report any bugs or feature requests to bug-arff-util at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Arff-Util. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can contact me: eemadzadeh [at] gmail
or
You can find documentation for this module with the perldoc command.
perldoc Arff::Util
You can also look for information at:
Copyright 2008 Ehsan Emadzadeh, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.