Interface | Description |
---|---|
AttributeFactory |
Trait for ML attribute factories.
|
Class | Description |
---|---|
Attribute |
:: DeveloperApi ::
Abstract class for ML attributes.
|
AttributeGroup |
:: DeveloperApi ::
Attributes that describe a vector ML column.
|
AttributeKeys |
Keys used to store attributes.
|
AttributeType |
:: DeveloperApi ::
An enum-like type for attribute types:
AttributeType$.Numeric , AttributeType$.Nominal ,
and AttributeType$.Binary . |
BinaryAttribute |
:: DeveloperApi ::
A binary attribute.
|
NominalAttribute |
:: DeveloperApi ::
A nominal attribute.
|
NumericAttribute |
:: DeveloperApi ::
A numeric attribute with optional summary statistics.
|
UnresolvedAttribute |
:: DeveloperApi ::
An unresolved attribute.
|
Dataset
s as ML datasets.
Each dataset consists of typed columns, e.g., string, double, vector, etc.
However, knowing only the column type may not be sufficient to handle the data properly.
For instance, a double column with values 0.0, 1.0, 2.0, ... may represent some label indices,
which cannot be treated as numeric values in ML algorithms, and, for another instance, we may
want to know the names and types of features stored in a vector column.
ML attributes are used to provide additional information to describe columns in a dataset.
Attribute
to describe a scalar ML column, and
AttributeGroup
to describe a vector ML column.
ML attributes are stored in the metadata field of the column schema.