@Reference(authors="Hans-Peter Kriegel, Peer Kr\u00f6ger, Erich Schubert, Arthur Zimek", title="A General Framework for Increasing the Robustness of PCA-based Correlation Clustering Algorithms", booktitle="Proc. 20th Intl. Conf. on Scientific and Statistical Database Management (SSDBM)", url="https://doi.org/10.1007/978-3-540-69497-7_27", bibkey="DBLP:conf/ssdbm/KriegelKSZ08") public class AutotuningPCA extends PCARunner
The number of points used depends on when the strong eigenvectors exhibit the clearest correlation.
Reference:
A General Framework for Increasing the Robustness of PCA-Based Correlation
Clustering Algorithms
Hans-Peter Kriegel and Peer Kröger and Erich Schubert and Arthur Zimek
Proc. 20th Int. Conf. on Scientific and Statistical Database Management
(SSDBM)
Modifier and Type | Class and Description |
---|---|
private static class |
AutotuningPCA.Cand
Candidate
|
static class |
AutotuningPCA.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private EigenPairFilter |
filter
Filter to select eigenvectors.
|
covarianceMatrixBuilder
Constructor and Description |
---|
AutotuningPCA(CovarianceMatrixBuilder covarianceMatrixBuilder,
EigenPairFilter filter)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
private void |
assertSortedByDistance(DoubleDBIDList results)
Ensure that the results are sorted by distance.
|
private double |
computeExplainedVariance(double[] eigenValues,
int filteredEigenPairs)
Compute the explained variance for a filtered EigenPairs.
|
PCAResult |
processIds(DBIDs ids,
Relation<? extends NumberVector> database)
Run PCA on a collection of database IDs.
|
PCAResult |
processQueryResult(DoubleDBIDList results,
Relation<? extends NumberVector> database)
Run PCA on a QueryResult Collection.
|
private static double[] |
reversed(double[] a)
Sort an array of doubles in descending order.
|
getCovarianceMatrixBuilder, processCovarMatrix, processEVD, setCovarianceMatrixBuilder
private EigenPairFilter filter
public AutotuningPCA(CovarianceMatrixBuilder covarianceMatrixBuilder, EigenPairFilter filter)
covarianceMatrixBuilder
- Covariance matrix builderfilter
- Filter to select eigenvectorspublic PCAResult processIds(DBIDs ids, Relation<? extends NumberVector> database)
PCARunner
processIds
in class PCARunner
ids
- a collection of idsdatabase
- the database usedpublic PCAResult processQueryResult(DoubleDBIDList results, Relation<? extends NumberVector> database)
PCARunner
processQueryResult
in class PCARunner
results
- a collection of QueryResultsdatabase
- the database usedprivate static double[] reversed(double[] a)
a
- Valuesprivate double computeExplainedVariance(double[] eigenValues, int filteredEigenPairs)
eigenValues
- Eigen valuesfilteredEigenPairs
- Filtered eigenpairsprivate void assertSortedByDistance(DoubleDBIDList results)
results
- Results to processCopyright © 2019 ELKI Development Team. License information.