ARFFConverter class
The ARFFConverter class is responsible for parsing ARFF (Attribute-Relation File Format)
files and converting them into a structured ARFF object. This class reads ARFF files,
extracts the relation, attributes, and data, and organizes them into appropriate structures.
The ARFF format is commonly used for representing datasets in machine learning, and this class facilitates the conversion of ARFF files into Dart objects for further processing.
Example usage:
final converter = ARFFConverter();
final arff = await converter.parseARFFFile(fileName: 'path/to/arff/file.arff');
The parseARFFFile method reads the contents of the ARFF file, processes each line,
and constructs the ARFF object. It handles the relation, attributes, and data sections
of the ARFF file format.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parseARFFFile(
{required String fileName}) → Future< ARFF> -
parseCSVFile(
{required String fileName}) → Future< ARFF> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited