Uses of Interface
elki.database.datastore.WritableDataStore
-
Packages that use WritableDataStore Package Description elki.algorithm Miscellaneous algorithms.elki.clustering.correlation Correlation clustering algorithms.elki.clustering.dbscan DBSCAN and its generalizations.elki.clustering.dbscan.parallel Parallel versions of Generalized DBSCAN.elki.clustering.em Expectation-Maximization clustering algorithm for Gaussian Mixture Modeling (GMM).elki.clustering.kmeans K-means clustering and variations.elki.clustering.kmeans.spherical Spherical k-means clustering and variations.elki.clustering.silhouette Silhouette clustering algorithms.elki.clustering.subspace Axis-parallel subspace clustering algorithms.elki.database.datastore General data store layer API (along the lines ofMap<DBID, T>
- use everywhere!)elki.database.datastore.memory Memory data store implementation for ELKI.elki.index.preprocessed.knn Indexes providing KNN and rKNN data.elki.index.preprocessed.snn Indexes providing nearest neighbor sets.elki.outlier Outlier detection algorithms.elki.outlier.lof LOF family of outlier detection algorithms.elki.parallel.processor Processor API of ELKI, and some essential shared processors.tutorial.clustering Classes from the tutorial on implementing a custom k-means variation. -
-
Uses of WritableDataStore in elki.algorithm
Methods in elki.algorithm that return WritableDataStore Modifier and Type Method Description WritableDataStore<KNNList>
KNNJoin. run(Relation<? extends SpatialComparable> relation, DBIDs ids)
Inner run method.WritableDataStore<KNNList>
KNNJoin. run(AbstractRStarTree<?,?,?> idx, DBIDs ids)
Inner run method. -
Uses of WritableDataStore in elki.clustering.correlation
Fields in elki.clustering.correlation declared as WritableDataStore Modifier and Type Field Description protected WritableDataStore<PCAFilteredResult>
HiCO.Instance. localPCAs
The storage for precomputed local PCAs -
Uses of WritableDataStore in elki.clustering.dbscan
Fields in elki.clustering.dbscan declared as WritableDataStore Modifier and Type Field Description private WritableDataStore<Assignment>
GriDBSCAN.Instance. clusterids
Cluster assignments.Methods in elki.clustering.dbscan with parameters of type WritableDataStore Modifier and Type Method Description protected void
GriDBSCAN.Instance. mergeClusterInformation(ModifiableDBIDs cellids, WritableIntegerDataStore temporary, WritableDataStore<Assignment> clusterids)
Merge cluster information. -
Uses of WritableDataStore in elki.clustering.dbscan.parallel
Fields in elki.clustering.dbscan.parallel declared as WritableDataStore Modifier and Type Field Description private WritableDataStore<Assignment>
ParallelGeneralizedDBSCAN.Instance. clusterids
Cluster assignment storage. -
Uses of WritableDataStore in elki.clustering.em
Methods in elki.clustering.em with parameters of type WritableDataStore Modifier and Type Method Description double
BetulaGMM. assignProbabilitiesToInstances(Relation<? extends NumberVector> relation, java.util.List<? extends BetulaClusterModel> models, WritableDataStore<double[]> probClusterIGivenX)
Assigns the current probability values to the instances in the database and compute the expectation value of the current mixture of distributions.static <O> double
EM. assignProbabilitiesToInstances(Relation<? extends O> relation, java.util.List<? extends EMClusterModel<? super O,?>> models, WritableDataStore<double[]> probClusterIGivenX, WritableDoubleDataStore loglikelihoods)
Assigns the current probability values to the instances in the database and compute the expectation value of the current mixture of distributions.private double
KDTreeEM. makeStats(KDTreeEM.KDTree node, int[] indices, WritableDataStore<double[]> probs)
Calculates the statistics on the kd-tree needed for the calculation of the new modelsstatic <O> void
EM. recomputeCovarianceMatrices(Relation<? extends O> relation, WritableDataStore<double[]> probClusterIGivenX, java.util.List<? extends EMClusterModel<? super O,?>> models, double prior)
Recompute the covariance matrixes. -
Uses of WritableDataStore in elki.clustering.kmeans
Fields in elki.clustering.kmeans declared as WritableDataStore Modifier and Type Field Description (package private) WritableDataStore<double[]>
SimplifiedElkanKMeans.Instance. lower
Lower bounds(package private) WritableDataStore<double[]>
YinYangKMeans.Instance. lower
Lower boundsMethods in elki.clustering.kmeans with parameters of type WritableDataStore Modifier and Type Method Description double
FuzzyCMeans. assignProbabilitiesToInstances(Relation<V> relation, double[][] centers, WritableDataStore<double[]> probClusterIGivenX)
Calculates the weights of all points and clusters.private double
FuzzyCMeans. updateMeans(Relation<V> relation, WritableDataStore<double[]> probClusterIGivenX, double[][] means, int d)
Updates the means according to the weighted means of all data points. -
Uses of WritableDataStore in elki.clustering.kmeans.spherical
Fields in elki.clustering.kmeans.spherical declared as WritableDataStore Modifier and Type Field Description (package private) WritableDataStore<double[]>
EuclideanSphericalSimplifiedElkanKMeans.Instance. lower
Lower bounds(package private) WritableDataStore<double[]>
SphericalSimplifiedElkanKMeans.Instance. usim
Similarity upper bound. -
Uses of WritableDataStore in elki.clustering.silhouette
Fields in elki.clustering.silhouette declared as WritableDataStore Modifier and Type Field Description protected WritableDataStore<FastMSC.Record>
FastMSC.Instance. assignment
Distances and nearest medoids. -
Uses of WritableDataStore in elki.clustering.subspace
Fields in elki.clustering.subspace declared as WritableDataStore Modifier and Type Field Description private WritableDataStore<long[]>
DiSH.DiSHClusterOrder. commonPreferenceVectors
Preference vectors.private WritableDataStore<long[]>
DiSH.Instance. commonPreferenceVectors
Shared preference vectors.private WritableDataStore<long[]>
HiSC.Instance. commonPreferenceVectors
Shared preference vectors.protected WritableDataStore<long[]>
DiSH.Instance. preferenceVectors
The precomputed preference vectors.protected WritableDataStore<long[]>
HiSC.Instance. preferenceVectors
The data store.private WritableDataStore<long[]>
DiSH.Instance. tmpPreferenceVectors
Temporary storage for new preference vectors.Methods in elki.clustering.subspace with parameters of type WritableDataStore Modifier and Type Method Description private void
P3C. assignUnassigned(Relation<? extends NumberVector> relation, WritableDataStore<double[]> probClusterIGivenX, java.util.List<MultivariateGaussianModel> models, ModifiableDBIDs unassigned)
Assign unassigned objects to best candidate based on shortest Mahalanobis distance.private void
P3C. computeFuzzyMembership(Relation<? extends NumberVector> relation, java.util.ArrayList<P3C.Signature> clusterCores, ModifiableDBIDs unassigned, WritableDataStore<double[]> probClusterIGivenX, java.util.List<MultivariateGaussianModel> models, int dim)
Computes a fuzzy membership with the weights based on which cluster cores each data point is part of.private java.util.ArrayList<P3C.ClusterCandidate>
P3C. hardClustering(WritableDataStore<double[]> probClusterIGivenX, java.util.List<P3C.Signature> clusterCores, DBIDs dbids)
Creates a hard clustering from the specified soft membership matrix.Constructors in elki.clustering.subspace with parameters of type WritableDataStore Constructor Description DiSHClusterOrder(ArrayModifiableDBIDs ids, WritableDoubleDataStore reachability, WritableDBIDDataStore predecessor, WritableIntegerDataStore corrdim, WritableDataStore<long[]> commonPreferenceVectors)
Constructor. -
Uses of WritableDataStore in elki.database.datastore
Subinterfaces of WritableDataStore in elki.database.datastore Modifier and Type Interface Description interface
WritableDBIDDataStore
Data store specialized for doubles.interface
WritableDoubleDataStore
Data store specialized for doubles.interface
WritableIntegerDataStore
Data store specialized for doubles.Methods in elki.database.datastore that return WritableDataStore Modifier and Type Method Description <T> WritableDataStore<T>
WritableRecordStore. getStorage(int col, java.lang.Class<? super T> datatype)
Get aWritableDataStore
instance for a particular record column.<T> WritableDataStore<T>
DataStoreFactory. makeStorage(DBIDs ids, int hints, java.lang.Class<? super T> dataclass)
Make a new storage, to associate the given ids with an object of class dataclass.static <T> WritableDataStore<T>
DataStoreUtil. makeStorage(DBIDs ids, int hints, java.lang.Class<? super T> dataclass)
Make a new storage, to associate the given ids with an object of class dataclass. -
Uses of WritableDataStore in elki.database.datastore.memory
Classes in elki.database.datastore.memory that implement WritableDataStore Modifier and Type Class Description class
ArrayDBIDStore
A class to answer representation queries using the stored Array.class
ArrayDoubleStore
A class to answer representation queries using the stored Array.class
ArrayIntegerStore
A class to answer representation queries using the stored Array.protected class
ArrayRecordStore.StorageAccessor<T>
Access a single record in the given data.class
ArrayStore<T>
A class to answer representation queries using the stored Array.class
MapIntegerDBIDDBIDStore
Writable data store for double values.class
MapIntegerDBIDDoubleStore
Writable data store for double values.class
MapIntegerDBIDIntegerStore
Writable data store for double values.protected class
MapIntegerDBIDRecordStore.StorageAccessor<T>
Access a single record in the given data.class
MapIntegerDBIDStore<T>
A class to answer representation queries using a map.protected class
MapRecordStore.StorageAccessor<T>
Access a single record in the given data.(package private) class
MapStore<T>
A class to answer representation queries using a map.Methods in elki.database.datastore.memory that return WritableDataStore Modifier and Type Method Description <T> WritableDataStore<T>
ArrayRecordStore. getStorage(int col, java.lang.Class<? super T> datatype)
<T> WritableDataStore<T>
MapIntegerDBIDRecordStore. getStorage(int col, java.lang.Class<? super T> datatype)
<T> WritableDataStore<T>
MapRecordStore. getStorage(int col, java.lang.Class<? super T> datatype)
<T> WritableDataStore<T>
MemoryDataStoreFactory. makeStorage(DBIDs ids, int hints, java.lang.Class<? super T> dataclass)
-
Uses of WritableDataStore in elki.index.preprocessed.knn
Fields in elki.index.preprocessed.knn declared as WritableDataStore Modifier and Type Field Description (package private) WritableDataStore<int[]>
NaiveProjectedKNNPreprocessor. positions
Curve position storage(package private) WritableDataStore<int[]>
SpacefillingKNNPreprocessor. positions
Curve position storageprotected WritableDataStore<KNNList>
AbstractMaterializeKNNPreprocessor. storage
The data store.private WritableDataStore<ModifiableDoubleDBIDList>
MaterializeKNNAndRKNNPreprocessor. storageRkNN
Additional data storage for RkNN.private WritableDataStore<KNNHeap>
NNDescent. store
store for neighborsMethods in elki.index.preprocessed.knn with parameters of type WritableDataStore Modifier and Type Method Description private void
NNDescent. addpair(WritableDataStore<HashSetModifiableDBIDs> newNeighbors, DBIDRef o1, DBIDRef o2)
private void
NNDescent. clearAll(DBIDs ids, WritableDataStore<HashSetModifiableDBIDs> sets)
Clear (but reuse) all sets in the given storage.private int
NNDescent. processNewNeighbors(WritableDataStore<HashSetModifiableDBIDs> flag, HashSetModifiableDBIDs newFwd, HashSetModifiableDBIDs oldFwd, HashSetModifiableDBIDs newRev, HashSetModifiableDBIDs oldRev)
Process new neighbors.private void
NNDescent. reverse(WritableDataStore<HashSetModifiableDBIDs> sampleNewHash, WritableDataStore<HashSetModifiableDBIDs> newReverseNeighbors, WritableDataStore<HashSetModifiableDBIDs> oldReverseNeighbors)
calculates new and old neighbors for databaseprivate int
NNDescent. sampleNew(DBIDs ids, WritableDataStore<HashSetModifiableDBIDs> sampleNewNeighbors, WritableDataStore<HashSetModifiableDBIDs> newNeighborHash, int items)
samples newNeighbors for every object -
Uses of WritableDataStore in elki.index.preprocessed.snn
Fields in elki.index.preprocessed.snn declared as WritableDataStore Modifier and Type Field Description protected WritableDataStore<ArrayDBIDs>
SharedNearestNeighborPreprocessor. storage
The data store. -
Uses of WritableDataStore in elki.outlier
Methods in elki.outlier with parameters of type WritableDataStore Modifier and Type Method Description private void
DWOF. clusterData(DBIDs ids, RangeSearcher<DBIDRef> rnnQuery, WritableDoubleDataStore radii, WritableDataStore<ModifiableDBIDs> labels)
This method applies a density based clustering algorithm.private int
DWOF. updateSizes(DBIDs ids, WritableDataStore<ModifiableDBIDs> labels, WritableIntegerDataStore newSizes)
This method updates each object's cluster size after the clustering step. -
Uses of WritableDataStore in elki.outlier.lof
Methods in elki.outlier.lof with parameters of type WritableDataStore Modifier and Type Method Description protected void
INFLO. computeINFLO(Relation<O> relation, ModifiableDBIDs pruned, KNNSearcher<DBIDRef> knnq, WritableDataStore<ModifiableDBIDs> rNNminuskNNs, WritableDoubleDataStore inflos, DoubleMinMax inflominmax)
Compute the final INFLO scores.private void
INFLO. computeNeighborhoods(Relation<O> relation, DataStore<SetDBIDs> knns, ModifiableDBIDs pruned, WritableDataStore<ModifiableDBIDs> rNNminuskNNs)
Compute the reverse kNN minus the kNN.protected void
KDEOS. computeOutlierScores(KNNSearcher<DBIDRef> knnq, DBIDs ids, WritableDataStore<double[]> densities, WritableDoubleDataStore kdeos, DoubleMinMax minmax)
Compute the final KDEOS scores.protected void
KDEOS. estimateDensities(Relation<O> rel, KNNSearcher<DBIDRef> knnq, DBIDs ids, WritableDataStore<double[]> densities)
Perform the kernel density estimation step.protected void
LOCI. precomputeInterestingRadii(DBIDs ids, RangeSearcher<DBIDRef> rangeQuery, WritableDataStore<LOCI.DoubleIntArrayList> interestingDistances)
Preprocessing step: determine the radii of interest for each point. -
Uses of WritableDataStore in elki.parallel.processor
Fields in elki.parallel.processor declared as WritableDataStore Modifier and Type Field Description (package private) WritableDataStore<T>
WriteDataStoreProcessor. store
Store to write toConstructors in elki.parallel.processor with parameters of type WritableDataStore Constructor Description WriteDataStoreProcessor(WritableDataStore<T> store)
Constructor. -
Uses of WritableDataStore in tutorial.clustering
Methods in tutorial.clustering that return WritableDataStore Modifier and Type Method Description protected WritableDataStore<SameSizeKMeans.Meta>
SameSizeKMeans. initializeMeta(Relation<V> relation, double[][] means)
Initialize the metadata storage.Methods in tutorial.clustering with parameters of type WritableDataStore Modifier and Type Method Description protected ArrayModifiableDBIDs
SameSizeKMeans. initialAssignment(java.util.List<ModifiableDBIDs> clusters, WritableDataStore<SameSizeKMeans.Meta> metas, DBIDs ids)
protected double[][]
SameSizeKMeans. refineResult(Relation<V> relation, double[][] means, java.util.List<ModifiableDBIDs> clusters, WritableDataStore<SameSizeKMeans.Meta> metas, ArrayModifiableDBIDs tids)
Perform k-means style iterations to improve the clustering result.protected void
SameSizeKMeans. transfer(WritableDataStore<SameSizeKMeans.Meta> metas, SameSizeKMeans.Meta meta, ModifiableDBIDs src, ModifiableDBIDs dst, DBIDRef id, int dstnum)
Transfer a single element from one cluster to another.protected void
SameSizeKMeans. updateDistances(Relation<V> relation, double[][] means, WritableDataStore<SameSizeKMeans.Meta> metas, NumberVectorDistance<? super V> df)
Compute the distances of each object to all means.
-