Package ai.libs.jaicore.ml.core.dataset
Interface AILabeledAttributeArrayDataset<I extends ILabeledAttributeArrayInstance<L>,L>
-
- All Superinterfaces:
java.util.Collection<I>,IDataset<I>,java.lang.Iterable<I>
- All Known Subinterfaces:
AINumericLabeledAttributeArrayDataset<I,L>,ILabeledAttributeArrayDataset<L>,INumericLabeledIAttributeDataset<L>,IOrderedLabeledAttributeArrayDataset<I,L>
- All Known Implementing Classes:
SimpleDataset,TimeSeriesDataset,WekaInstances
public interface AILabeledAttributeArrayDataset<I extends ILabeledAttributeArrayInstance<L>,L> extends IDataset<I>
Common interface of a dataset defining methods to access meta-data and instances contained in the dataset. Moreover, methods for serialization and deserialization are defined.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<IAttributeType<?>>getAttributeTypes()Returns the list of attribute types.intgetNumberOfAttributes()Getter for the number of attributes (excluding target attribute).IAttributeType<L>getTargetType()Returns the attribute type of the target attribute.-
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toArray
-
Methods inherited from interface ai.libs.jaicore.ml.core.dataset.IDataset
createEmpty, getFrequency
-
-
-
-
Method Detail
-
getTargetType
IAttributeType<L> getTargetType()
Returns the attribute type of the target attribute.- Returns:
- The attribute type of the target attribute.
-
getAttributeTypes
java.util.List<IAttributeType<?>> getAttributeTypes()
Returns the list of attribute types.- Returns:
- The list of attribute types.
-
getNumberOfAttributes
int getNumberOfAttributes()
Getter for the number of attributes (excluding target attribute).- Returns:
- The number of attributes.
-
-