MCPcopy Create free account

hub / github.com/ChongYou/subspace-clustering / functions

Functions21 in github.com/ChongYou/subspace-clustering

↓ 3 callersMethod__init__
(self, n_clusters=8, affinity='symmetrize', random_state=None, n_init=20, n_jobs=1)
cluster/selfrepresentation.py:48
↓ 2 callersMethod_self_representation
(self, X)
cluster/selfrepresentation.py:501
↓ 2 callersFunctionclustering_accuracy
Clustering Accuracy between two clusterings. Clustering Accuracy is a measure of the similarity between two labels of the same data. Assume th
metrics/cluster/accuracy.py:10
↓ 2 callersMethodfit
Compute representation matrix, then apply spectral clustering Parameters ---------- X : array-like or sparse matrix, shape
cluster/selfrepresentation.py:55
↓ 1 callersMethod_representation_to_affinity
Compute affinity matrix from representation matrix.
cluster/selfrepresentation.py:87
↓ 1 callersMethod_spectral_clustering
(self)
cluster/selfrepresentation.py:98
↓ 1 callersFunctionactive_support_elastic_net
An active support based algorithm for solving the elastic net optimization problem min_{c} tau ||c||_1 + (1-tau)/2 ||c||_2^2 + alpha / 2 ||y
cluster/selfrepresentation.py:110
↓ 1 callersFunctiondim_reduction
Dimension reduction by principal component analysis Let X^T = U S V^T be the SVD of X^T in which the singular values are in ascending order. The ou
decomposition/dim_reduction.py:4
↓ 1 callersFunctionelastic_net_subspace_clustering
Elastic net subspace clustering (EnSC) [1]. Compute self-representation matrix C from solving the following optimization problem min_{c_j}
cluster/selfrepresentation.py:192
↓ 1 callersFunctiongen_union_of_subspaces
This funtion generates a union of subspaces under random model, i.e., subspaces are independently and uniformly distributed in the ambient space
gen_union_of_subspaces.py:6
↓ 1 callersFunctionleast_squares_subspace_clustering
Least squares subspace clustering. Compute self-representation matrix C by solving the following optimization problem min_{c_j} ||c_j||
cluster/selfrepresentation.py:505
↓ 1 callersFunctionsparse_subspace_clustering_orthogonal_matching_pursuit
Sparse subspace clustering by orthogonal matching pursuit (SSC-OMP) Compute self-representation matrix C by solving the following optimization pr
cluster/selfrepresentation.py:404
Method__init__
(self, n_clusters=8, affinity='symmetrize', random_state=None, n_init=20, n_jobs=1, gamma=50.0, gamma_nz=True,
cluster/selfrepresentation.py:385
Method__init__
(self, n_clusters=8, affinity='symmetrize', random_state=None, n_init=10, n_jobs=1, n_nonzero=10, thr=1.0e-6)
cluster/selfrepresentation.py:496
Method__init__
(self, n_clusters=8, affinity='symmetrize', random_state=None, n_init=None, n_jobs=1, gamma=10.0, exclude_self
cluster/selfrepresentation.py:579
Method_self_representation
(self, X)
cluster/selfrepresentation.py:397
Method_self_representation
(self, X)
cluster/selfrepresentation.py:584
Methodfit_self_representation
Compute representation matrix without apply spectral clustering. Parameters ---------- X : array-like or sparse matrix, sha
cluster/selfrepresentation.py:73
Functionself_representation_connectivity
Connectivity for self-expressive subspace clustering. Connectivity is a measure of how well points within each class is connected to each othe
metrics/cluster/accuracy.py:105
Functionself_representation_loss
Self-representation error for self-expressive subspace clustering. Self-representation error is a measure of whether the representation matri
metrics/cluster/accuracy.py:48
Functionself_representation_sparsity
Evaluation of sparsity for self-expressive subspace clustering methods. Parameters ---------- representation_matrix : array, shape = [n_sa
metrics/cluster/accuracy.py:90