ARFF class

Represents an ARFF (Attribute-Relation File Format) object.

This class provides methods to handle ARFF files, including obtaining input and output layer neurons for a machine learning model.

Constructors

ARFF(String relation, List<ARFFAttributes> attributesList, List<List<ARFFData>> data)
Creates an ARFF object with the specified relation, attributesList, and data.

Properties

attributesList List<ARFFAttributes>
A list of attributes in the ARFF file.
getter/setter pair
data List<List<ARFFData>>
A list of data entries in the ARFF file.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
relation String
The relation name of the ARFF file.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getInputLayerNeurons({required String className}) List<Neuron>
Gets the input layer neurons by excluding the provided class attribute className.
getOutputLayerNeurons({required String className}) List<Neuron>
Gets the output layer neurons based on the provided class attribute className.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited