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. localPCAsThe 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. clusteridsCluster assignments.Methods in elki.clustering.dbscan with parameters of type WritableDataStore Modifier and Type Method Description protected voidGriDBSCAN.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. clusteridsCluster assignment storage. -
Uses of WritableDataStore in elki.clustering.em
Methods in elki.clustering.em with parameters of type WritableDataStore Modifier and Type Method Description doubleBetulaGMM. 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> doubleEM. 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 doubleKDTreeEM. 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> voidEM. 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. lowerLower bounds(package private) WritableDataStore<double[]>YinYangKMeans.Instance. lowerLower boundsMethods in elki.clustering.kmeans with parameters of type WritableDataStore Modifier and Type Method Description doubleFuzzyCMeans. assignProbabilitiesToInstances(Relation<V> relation, double[][] centers, WritableDataStore<double[]> probClusterIGivenX)Calculates the weights of all points and clusters.private doubleFuzzyCMeans. 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. lowerLower bounds(package private) WritableDataStore<double[]>SphericalSimplifiedElkanKMeans.Instance. usimSimilarity 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. assignmentDistances 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. commonPreferenceVectorsPreference vectors.private WritableDataStore<long[]>DiSH.Instance. commonPreferenceVectorsShared preference vectors.private WritableDataStore<long[]>HiSC.Instance. commonPreferenceVectorsShared preference vectors.protected WritableDataStore<long[]>DiSH.Instance. preferenceVectorsThe precomputed preference vectors.protected WritableDataStore<long[]>HiSC.Instance. preferenceVectorsThe data store.private WritableDataStore<long[]>DiSH.Instance. tmpPreferenceVectorsTemporary storage for new preference vectors.Methods in elki.clustering.subspace with parameters of type WritableDataStore Modifier and Type Method Description private voidP3C. 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 voidP3C. 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 interfaceWritableDBIDDataStoreData store specialized for doubles.interfaceWritableDoubleDataStoreData store specialized for doubles.interfaceWritableIntegerDataStoreData 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 aWritableDataStoreinstance 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 classArrayDBIDStoreA class to answer representation queries using the stored Array.classArrayDoubleStoreA class to answer representation queries using the stored Array.classArrayIntegerStoreA class to answer representation queries using the stored Array.protected classArrayRecordStore.StorageAccessor<T>Access a single record in the given data.classArrayStore<T>A class to answer representation queries using the stored Array.classMapIntegerDBIDDBIDStoreWritable data store for double values.classMapIntegerDBIDDoubleStoreWritable data store for double values.classMapIntegerDBIDIntegerStoreWritable data store for double values.protected classMapIntegerDBIDRecordStore.StorageAccessor<T>Access a single record in the given data.classMapIntegerDBIDStore<T>A class to answer representation queries using a map.protected classMapRecordStore.StorageAccessor<T>Access a single record in the given data.(package private) classMapStore<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. positionsCurve position storage(package private) WritableDataStore<int[]>SpacefillingKNNPreprocessor. positionsCurve position storageprotected WritableDataStore<KNNList>AbstractMaterializeKNNPreprocessor. storageThe data store.private WritableDataStore<ModifiableDoubleDBIDList>MaterializeKNNAndRKNNPreprocessor. storageRkNNAdditional data storage for RkNN.private WritableDataStore<KNNHeap>NNDescent. storestore for neighborsMethods in elki.index.preprocessed.knn with parameters of type WritableDataStore Modifier and Type Method Description private voidNNDescent. addpair(WritableDataStore<HashSetModifiableDBIDs> newNeighbors, DBIDRef o1, DBIDRef o2)private voidNNDescent. clearAll(DBIDs ids, WritableDataStore<HashSetModifiableDBIDs> sets)Clear (but reuse) all sets in the given storage.private intNNDescent. processNewNeighbors(WritableDataStore<HashSetModifiableDBIDs> flag, HashSetModifiableDBIDs newFwd, HashSetModifiableDBIDs oldFwd, HashSetModifiableDBIDs newRev, HashSetModifiableDBIDs oldRev)Process new neighbors.private voidNNDescent. reverse(WritableDataStore<HashSetModifiableDBIDs> sampleNewHash, WritableDataStore<HashSetModifiableDBIDs> newReverseNeighbors, WritableDataStore<HashSetModifiableDBIDs> oldReverseNeighbors)calculates new and old neighbors for databaseprivate intNNDescent. 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. storageThe data store. -
Uses of WritableDataStore in elki.outlier
Methods in elki.outlier with parameters of type WritableDataStore Modifier and Type Method Description private voidDWOF. clusterData(DBIDs ids, RangeSearcher<DBIDRef> rnnQuery, WritableDoubleDataStore radii, WritableDataStore<ModifiableDBIDs> labels)This method applies a density based clustering algorithm.private intDWOF. 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 voidINFLO. computeINFLO(Relation<O> relation, ModifiableDBIDs pruned, KNNSearcher<DBIDRef> knnq, WritableDataStore<ModifiableDBIDs> rNNminuskNNs, WritableDoubleDataStore inflos, DoubleMinMax inflominmax)Compute the final INFLO scores.private voidINFLO. computeNeighborhoods(Relation<O> relation, DataStore<SetDBIDs> knns, ModifiableDBIDs pruned, WritableDataStore<ModifiableDBIDs> rNNminuskNNs)Compute the reverse kNN minus the kNN.protected voidKDEOS. computeOutlierScores(KNNSearcher<DBIDRef> knnq, DBIDs ids, WritableDataStore<double[]> densities, WritableDoubleDataStore kdeos, DoubleMinMax minmax)Compute the final KDEOS scores.protected voidKDEOS. estimateDensities(Relation<O> rel, KNNSearcher<DBIDRef> knnq, DBIDs ids, WritableDataStore<double[]> densities)Perform the kernel density estimation step.protected voidLOCI. 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. storeStore 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 ArrayModifiableDBIDsSameSizeKMeans. 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 voidSameSizeKMeans. 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 voidSameSizeKMeans. updateDistances(Relation<V> relation, double[][] means, WritableDataStore<SameSizeKMeans.Meta> metas, NumberVectorDistance<? super V> df)Compute the distances of each object to all means.
-