ARFFAttributes constructor

ARFFAttributes(
  1. String name,
  2. String type, [
  3. List<String>? nominalValues
])

Creates an ARFF attribute with the given name, type, and optional nominalValues.

The type should be either 'numeric' or 'nominal'. If the type is 'nominal', a list of nominal values can be provided.

Implementation

ARFFAttributes(this.name, this.type, [this.nominalValues]);