Package org.tribuo.impl
package org.tribuo.impl
Provides implementations of base classes and interfaces from
org.tribuo.
It contains two base implementations of Example, one using
primitive arrays and one using a List of Feature objects.
The array implementation should be preferred for performance reasons until Feature becomes a value type. There are
two subclasses of ArrayExample, one which provides an example name, and
the other stores the feature indices. The latter is a performance optimisation and should not be used without
proper consideration.
-
ClassesClassDescriptionArrayExample<T extends Output<T>>An
Examplebacked by two arrays, one of String and one of double.BinaryFeaturesExample<T extends Output<T>>AnExamplebacked by a single array of feature names.IndexedArrayExample<T extends Output<T>>A version of ArrayExample which also has the id numbers.A tuple of the feature name, id and value.ListExample<T extends Output<T>>This class will not be performant until value types are available in Java.