NAME
Arff::Util - ARFF files processing utilities. This is a moose-based class.
VERSION
Version 1.2
SYNOPSIS
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);
DESCRIPTION
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
EXPORT
Object Attributes
relation
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
}
error_count
Number of errors occured during the parsing or saving
debug_mode
Set it to one to see detail info
FUNCTIONS
load_arff
Get arff file path and load it in buffer
save_arff
Save given buffer into the .arff formatted file.
AUTHORS
Ehsan Emadzadeh, <ehsan0emadzadeh at yahoo.com>
Contributing developer:
- Ondrej Dusek
BUGS
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.
SUPPORT
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:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
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.