T - The type of LocalFeatureF - The type of FeatureVector.public class LocalFeatureListDataSource<T extends LocalFeature<?,? extends ArrayFeatureVector<F>>,F> extends AbstractMultiListDataSource<F,T>
DataSource for the feature vector of one or more lists of
LocalFeatures that use an ArrayFeatureVector for the feature
vector. This can be used as a convenience when you want to feed multiple
lists of local features to a clustering algorithm.data| Constructor and Description |
|---|
LocalFeatureListDataSource(List<LocalFeatureList<T>> data)
Construct with the given lists of data
|
LocalFeatureListDataSource(LocalFeatureList<T>... data)
Construct with the given lists of data
|
LocalFeatureListDataSource(LocalFeatureList<T> data)
Construct with the given list of data
|
LocalFeatureListDataSource(Map<?,LocalFeatureList<T>> data)
Construct with the given map of data.
|
| Modifier and Type | Method and Description |
|---|---|
protected F |
convert(T ele)
Convert an item's type
|
int |
numDimensions() |
createTemporaryArray, getData, getData, sizegetRandomRows, iteratorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic LocalFeatureListDataSource(LocalFeatureList<T> data)
data - the data@SafeVarargs public LocalFeatureListDataSource(LocalFeatureList<T>... data)
data - the datapublic LocalFeatureListDataSource(List<LocalFeatureList<T>> data)
data - the datapublic LocalFeatureListDataSource(Map<?,LocalFeatureList<T>> data)
data - the datapublic int numDimensions()
protected F convert(T ele)
AbstractMultiListDataSourceconvert in class AbstractMultiListDataSource<F,T extends LocalFeature<?,? extends ArrayFeatureVector<F>>>ele - the input item