The DAIMC algorithm integrates weighted semi-nonnegative matrix factorization (semi-NMF) to address incomplete
multi-view clustering challenges. It leverages instance alignment information to learn a unified latent feature
matrix across views and employs L2,1-Norm regularized regression to establish a consensus basis matrix, minimizing
the impact of missing instances.
Parameters:
n_clusters (int, default=8) -- The number of clusters to generate.
Configure whether metadata should be requested to be passed to the fit method.
Note that this method is only relevant when this estimator is used as a
sub-estimator within a meta-estimator and metadata routing is enabled
with enable_metadata_routing=True (see sklearn.set_config()).
Please check the User Guide on how the routing
mechanism works.
The options for each parameter are:
True: metadata is requested, and passed to fit if provided. The request is ignored if metadata is not provided.
False: metadata is not requested and the meta-estimator will not pass it to fit.
None: metadata is not requested, and the meta-estimator will raise an error if the user provides it.
str: metadata should be passed to the meta-estimator with this given alias instead of the original name.
The default (sklearn.utils.metadata_routing.UNCHANGED) retains the
existing request. This allows you to change the request for some
parameters and not others.
Added in version 1.3.
Parameters:
Xs (str, True, False, or None, default=sklearn.utils.metadata_routing.UNCHANGED) -- Metadata routing for Xs parameter in fit.
Configure whether metadata should be requested to be passed to the fit method.
Note that this method is only relevant when this estimator is used as a
sub-estimator within a meta-estimator and metadata routing is enabled
with enable_metadata_routing=True (see sklearn.set_config()).
Please check the User Guide on how the routing
mechanism works.
The options for each parameter are:
True: metadata is requested, and passed to fit if provided. The request is ignored if metadata is not provided.
False: metadata is not requested and the meta-estimator will not pass it to fit.
None: metadata is not requested, and the meta-estimator will raise an error if the user provides it.
str: metadata should be passed to the meta-estimator with this given alias instead of the original name.
The default (sklearn.utils.metadata_routing.UNCHANGED) retains the
existing request. This allows you to change the request for some
parameters and not others.
Added in version 1.3.
Parameters:
Xs (str, True, False, or None, default=sklearn.utils.metadata_routing.UNCHANGED) -- Metadata routing for Xs parameter in fit.
neighbor_mode (str, default='KNN') -- Indicates how to construct the graph. Options are 'KNN' (default), and 'Supervised'.
weight_mode (str, default='Binary') -- Indicates how to assign weights for each edge in the graph. Options
are 'Binary' (default), 'Cosine' and 'HeatKernel'.
max_iter (int, default=100) -- Maximum number of iterations.
miu (float, default=0.01) -- Constant for updating variables during the learning process.
rho (float, default=100) -- Constant for updating variables during the learning process.
random_state (int, default=None) -- Determines the randomness. Use an int to make the randomness deterministic.
engine (str, default='octave') -- Engine to use for computing the model. Currently only 'octave' is supported.
Configure whether metadata should be requested to be passed to the fit method.
Note that this method is only relevant when this estimator is used as a
sub-estimator within a meta-estimator and metadata routing is enabled
with enable_metadata_routing=True (see sklearn.set_config()).
Please check the User Guide on how the routing
mechanism works.
The options for each parameter are:
True: metadata is requested, and passed to fit if provided. The request is ignored if metadata is not provided.
False: metadata is not requested and the meta-estimator will not pass it to fit.
None: metadata is not requested, and the meta-estimator will raise an error if the user provides it.
str: metadata should be passed to the meta-estimator with this given alias instead of the original name.
The default (sklearn.utils.metadata_routing.UNCHANGED) retains the
existing request. This allows you to change the request for some
parameters and not others.
Added in version 1.3.
Parameters:
Xs (str, True, False, or None, default=sklearn.utils.metadata_routing.UNCHANGED) -- Metadata routing for Xs parameter in fit.
Configure whether metadata should be requested to be passed to the fit method.
Note that this method is only relevant when this estimator is used as a
sub-estimator within a meta-estimator and metadata routing is enabled
with enable_metadata_routing=True (see sklearn.set_config()).
Please check the User Guide on how the routing
mechanism works.
The options for each parameter are:
True: metadata is requested, and passed to fit if provided. The request is ignored if metadata is not provided.
False: metadata is not requested and the meta-estimator will not pass it to fit.
None: metadata is not requested, and the meta-estimator will raise an error if the user provides it.
str: metadata should be passed to the meta-estimator with this given alias instead of the original name.
The default (sklearn.utils.metadata_routing.UNCHANGED) retains the
existing request. This allows you to change the request for some
parameters and not others.
Added in version 1.3.
Parameters:
Xs (str, True, False, or None, default=sklearn.utils.metadata_routing.UNCHANGED) -- Metadata routing for Xs parameter in fit.
IntegrAO first combines partially overlapping sample graphs from diverse sources and utilizes graph neural
networks to produce unified sample embeddings.
This class provides training, validation, testing, and prediction logic compatible with the
Lightning Trainer.
Late Fusion Incomplete Multi-View Clustering (LF-IMVC). [14][15]
LF-IMVC jointly learns a consensus clustering matrix, imputes each incomplete base matrix, and optimizes the
corresponding permutation matrices to integrate the incomplete clustering matrices generated by incomplete views.
Parameters:
n_clusters (int, default=8) -- The number of clusters to generate.
kernel (callable, default=kernels.Sum(kernels.DotProduct(), kernels.WhiteKernel())) -- Specifies the kernel type to be used in the algorithm.
lambda_reg (float, default=1.) -- Regularization parameter. The algorithm demonstrated stable performance across a wide range of
this hyperparameter.
max_iter (int, default=100) -- Maximum number of iterations.
random_state (int, default=None) -- Determines the randomness. Use an int to make the randomness deterministic.
engine (str, default=python) -- Engine to use for computing the model. Current options are 'octave' or 'python'.
Configure whether metadata should be requested to be passed to the fit method.
Note that this method is only relevant when this estimator is used as a
sub-estimator within a meta-estimator and metadata routing is enabled
with enable_metadata_routing=True (see sklearn.set_config()).
Please check the User Guide on how the routing
mechanism works.
The options for each parameter are:
True: metadata is requested, and passed to fit if provided. The request is ignored if metadata is not provided.
False: metadata is not requested and the meta-estimator will not pass it to fit.
None: metadata is not requested, and the meta-estimator will raise an error if the user provides it.
str: metadata should be passed to the meta-estimator with this given alias instead of the original name.
The default (sklearn.utils.metadata_routing.UNCHANGED) retains the
existing request. This allows you to change the request for some
parameters and not others.
Added in version 1.3.
Parameters:
Xs (str, True, False, or None, default=sklearn.utils.metadata_routing.UNCHANGED) -- Metadata routing for Xs parameter in fit.
Multiple Kernel K-Means with Incomplete Kernels (MKKM-IK). [16][17]
MKKM-IK integrates imputation and clustering into a single optimization procedure. Thus, the clustering result
guides the missing kernel imputation, and the latter is used to conduct the subsequent clustering. Both procedures
will be performed until convergence.
Parameters:
n_clusters (int, default=8) -- The number of clusters to generate.
kernel (callable, default=None) -- Specifies the kernel type to be used in the algorithm. It uses dot product kernel by default.
kernel_initialization (str, default="zeros") -- Specifies the algorithm to initialize the kernel. It should be one of ['zeros', 'mean', 'knn', 'em', 'laplacian'].
lambda_reg (float, default=1.) -- Regularization parameter. The algorithm demonstrated stable performance across a wide range of
this hyperparameter.
qnorm (float, default=2.) -- Regularization parameter. The algorithm demonstrated stable performance across a wide range of
this hyperparameter.
random_state (int, default=None) -- Determines the randomness. Use an int to make the randomness deterministic.
engine (str, default='octave') -- Engine to use for computing the model. Current options are 'octave'.
Configure whether metadata should be requested to be passed to the fit method.
Note that this method is only relevant when this estimator is used as a
sub-estimator within a meta-estimator and metadata routing is enabled
with enable_metadata_routing=True (see sklearn.set_config()).
Please check the User Guide on how the routing
mechanism works.
The options for each parameter are:
True: metadata is requested, and passed to fit if provided. The request is ignored if metadata is not provided.
False: metadata is not requested and the meta-estimator will not pass it to fit.
None: metadata is not requested, and the meta-estimator will raise an error if the user provides it.
str: metadata should be passed to the meta-estimator with this given alias instead of the original name.
The default (sklearn.utils.metadata_routing.UNCHANGED) retains the
existing request. This allows you to change the request for some
parameters and not others.
Added in version 1.3.
Parameters:
Xs (str, True, False, or None, default=sklearn.utils.metadata_routing.UNCHANGED) -- Metadata routing for Xs parameter in fit.
Multi Omic Clustering by Non-Exhaustive Types (MONET). [18][19]
MONET operates in two distinct phases to extract meaningful information from multi-omics datasets. In the first
phase, it constructs an edge-weighted graph for each omic, where the nodes represent individual samples, and the
weights indicate the similarity between samples within that particular omic. Moving on to the second phase, MONET
identifies modules by identifying dense subgraphs that are shared across multiple omic graphs.
The resulting output comprises a collection of modules, each representing a subset of samples. These modules are
mutually exclusive, meaning that samples are assigned to only one module. It is important to note that not all
samples are necessarily assigned to a module; those remaining unassigned are referred to as "lonely" samples.
Each module, denoted as M, is characterized by its constituent samples, referred to as samples(M), and the set of
omics it encompasses, denoted as omics(M). Intuitively, samples(M) exhibit similarity with one another
specifically within the omics(M) context.
Parameters:
n_clusters (Ignored) -- Ignored.
num_repeats (int (default=15)) -- Times the algorithm will be repeated in order to avoid suboptimal (local maximum) solutions. The best solution
will be returned.
similarity_mode (str (default='prob')) -- One of ['prob', 'corr']. If 'corr', the weighting scheme is computed basen on correlation; if 'prob',
a probabilistic formulation is used.
init_modules (dict (default=None)) -- an optional module initialization for MONET. A dict mapping between module names to sample ids. All modules
are initialized to cover all views. Set to None to use MONET's seed finding algorithm for initialization.
iters (int (default=500)) -- Maximal number of iterations.
num_of_seeds (int (default=10)) -- Number of seeds to create in MONET's module initialization algorithm.
num_of_samples_in_seed (int (default=10)) -- Number of samples to put in each seeds to create in MONET's module initialization algorithm.
min_mod_size (int (default=10)) -- Minimal size (number of samples) for a MONET module.
max_samples_per_action (int (default=10)) -- Maximal number of samples in a single MONET action (maximal number of samples added to a module or replaced
between modules in a single action).
percentile_remove_edge (int (default=None)) -- Only edges with weight percentile above (for positive weights) or below (for negative weights) this percentile
are kept in the graph. For example, percentile_remove_edge=90 keeps only the 10% edges with highest positive
weight and lowest negative weight in the graph. one keeps all edges in the graph.
random_state (int (default=None)) -- Determines the randomness. Use an int to make the randomness deterministic.
n_jobs (int (default=None)) -- The number of jobs to run in parallel. None means 1 unless in a joblib.parallel_backend context. -1 means
using all processors.
Module names to Module objects mapping. Every module instance includes its set of
samples (under the "samples" attribute) and its set of views (the "views" attribute).
Configure whether metadata should be requested to be passed to the fit method.
Note that this method is only relevant when this estimator is used as a
sub-estimator within a meta-estimator and metadata routing is enabled
with enable_metadata_routing=True (see sklearn.set_config()).
Please check the User Guide on how the routing
mechanism works.
The options for each parameter are:
True: metadata is requested, and passed to fit if provided. The request is ignored if metadata is not provided.
False: metadata is not requested and the meta-estimator will not pass it to fit.
None: metadata is not requested, and the meta-estimator will raise an error if the user provides it.
str: metadata should be passed to the meta-estimator with this given alias instead of the original name.
The default (sklearn.utils.metadata_routing.UNCHANGED) retains the
existing request. This allows you to change the request for some
parameters and not others.
Added in version 1.3.
Parameters:
Xs (str, True, False, or None, default=sklearn.utils.metadata_routing.UNCHANGED) -- Metadata routing for Xs parameter in fit.
MRGCN encodes and reconstructs data and similarity relationships from multiple sources simultaneously,
consolidating them into a shared latent embedding space. Additionally, MRGCN utilizes an indicator matrix to
represent the presence of missing modalities, effectively merging the processing of complete and incomplete multi-modal
data within a single unified framework.
Incomplete samples should be filled with 0.
This class provides training, validation, testing, and prediction logic compatible with the
Lightning Trainer.
Parameters:
n_clusters (int, default=8) -- The number of clusters to generate.
Xs (list of array-likes objects, default=None) -- Multi-modal dataset. It will be used to create the neural network architecture.
k_num (int, default=10) -- Number of neighbors to use.
NEighborhood based Multi-Omics clustering (NEMO). [22][23]
NEMO is a method used for clustering data from multiple modalities sources. This algorithm operates
through three main stages. Initially, it constructs a similarity matrix for each modality that represents the
similarities between different samples. Then, it merges these individual modality matrices into a unified one,
combining the information from all modalities. Finally, the algorithm performs the actual clustering process on this
integrated network, grouping similar samples together based on their multi-modal data patterns.
Parameters:
n_clusters (int or list-of-int) -- The number of clusters to generate. If it is a list, the number of clusters will be estimated by the algorithm
with this range of number of clusters to choose between.
num_neighbors (list or int, default=None) -- The number of neighbors to use for each modality. It can either be a number, a list of numbers or None. If it is a
number, this is the number of neighbors used for all modalities. If this is a list, the number of neighbors are
taken for each modality from that list. If it is None, each modality chooses the number of neighbors to be the number
of samples divided by num_neighbors_ratio.
num_neighbors_ratio (int, default=6) -- The number of clusters to generate. If it is not provided, it will be estimated by the algorithm.
metric (str or list-of-str, default="sqeuclidean") -- Distance metric to compute. Must be one of available metrics in :py:func`scipy.spatial.distance.pdist`. If
multiple arrays a provided an equal number of metrics may be supplied.
random_state (int, default=None) -- Determines the randomness. Use an int to make the randomness deterministic.
engine (str, default='python') -- Engine to use for computing the model. Must be one of ["python", "r"].
Configure whether metadata should be requested to be passed to the fit method.
Note that this method is only relevant when this estimator is used as a
sub-estimator within a meta-estimator and metadata routing is enabled
with enable_metadata_routing=True (see sklearn.set_config()).
Please check the User Guide on how the routing
mechanism works.
The options for each parameter are:
True: metadata is requested, and passed to fit if provided. The request is ignored if metadata is not provided.
False: metadata is not requested and the meta-estimator will not pass it to fit.
None: metadata is not requested, and the meta-estimator will raise an error if the user provides it.
str: metadata should be passed to the meta-estimator with this given alias instead of the original name.
The default (sklearn.utils.metadata_routing.UNCHANGED) retains the
existing request. This allows you to change the request for some
parameters and not others.
Added in version 1.3.
Parameters:
Xs (str, True, False, or None, default=sklearn.utils.metadata_routing.UNCHANGED) -- Metadata routing for Xs parameter in fit.
OMVC aims to learn latent feature matrices for all views while driving them towards a consensus. To enhance the
robustness of these learned matrices, it incorporates lasso regularization. Additionally, to mitigate the impact of
incomplete data, it introduces dynamic weight adjustment.
Parameters:
n_clusters (int, default=8) -- The number of clusters to generate.
max_iter (int, default=3) -- Maximum number of iterations.
tol (float, default=1e-4) -- Tolerance of the stopping condition.
block_size (int, default=50) -- Size of the chunk.
Configure whether metadata should be requested to be passed to the fit method.
Note that this method is only relevant when this estimator is used as a
sub-estimator within a meta-estimator and metadata routing is enabled
with enable_metadata_routing=True (see sklearn.set_config()).
Please check the User Guide on how the routing
mechanism works.
The options for each parameter are:
True: metadata is requested, and passed to fit if provided. The request is ignored if metadata is not provided.
False: metadata is not requested and the meta-estimator will not pass it to fit.
None: metadata is not requested, and the meta-estimator will raise an error if the user provides it.
str: metadata should be passed to the meta-estimator with this given alias instead of the original name.
The default (sklearn.utils.metadata_routing.UNCHANGED) retains the
existing request. This allows you to change the request for some
parameters and not others.
Added in version 1.3.
Parameters:
Xs (str, True, False, or None, default=sklearn.utils.metadata_routing.UNCHANGED) -- Metadata routing for Xs parameter in fit.
OPIMC deals with large scale incomplete multi-view clustering problem by considering the instance missing
information with the help of regularized matrix factorization and weighted matrix factorization.
Parameters:
n_clusters (int, default=8) -- The number of clusters to generate.
Configure whether metadata should be requested to be passed to the fit method.
Note that this method is only relevant when this estimator is used as a
sub-estimator within a meta-estimator and metadata routing is enabled
with enable_metadata_routing=True (see sklearn.set_config()).
Please check the User Guide on how the routing
mechanism works.
The options for each parameter are:
True: metadata is requested, and passed to fit if provided. The request is ignored if metadata is not provided.
False: metadata is not requested and the meta-estimator will not pass it to fit.
None: metadata is not requested, and the meta-estimator will raise an error if the user provides it.
str: metadata should be passed to the meta-estimator with this given alias instead of the original name.
The default (sklearn.utils.metadata_routing.UNCHANGED) retains the
existing request. This allows you to change the request for some
parameters and not others.
Added in version 1.3.
Parameters:
Xs (str, True, False, or None, default=sklearn.utils.metadata_routing.UNCHANGED) -- Metadata routing for Xs parameter in fit.
One-Stage Incomplete Multi-View Clustering via Late Fusion (OS-LF-IMVC). [29][30]
OS-LF-IMVC integrates the processes of imputing incomplete views and clustering into a cohesive optimization
procedure. This approach enables the direct utilization of the learned consensus partition matrix to enhance
the final clustering task.
Parameters:
n_clusters (int, default=8) -- The number of clusters to generate.
kernel (callable, default=kernels.Sum(kernels.DotProduct(), kernels.WhiteKernel())) -- Specifies the kernel type to be used in the algorithm.
lambda_reg (float, default=1.) -- Regularization parameter. The algorithm demonstrated stable performance across a wide range of
this hyperparameter.
random_state (int, default=None) -- Determines the randomness. Use an int to make the randomness deterministic.
engine (str, default='octave') -- Engine to use for computing the model. Current options are 'octave'.
Configure whether metadata should be requested to be passed to the fit method.
Note that this method is only relevant when this estimator is used as a
sub-estimator within a meta-estimator and metadata routing is enabled
with enable_metadata_routing=True (see sklearn.set_config()).
Please check the User Guide on how the routing
mechanism works.
The options for each parameter are:
True: metadata is requested, and passed to fit if provided. The request is ignored if metadata is not provided.
False: metadata is not requested and the meta-estimator will not pass it to fit.
None: metadata is not requested, and the meta-estimator will raise an error if the user provides it.
str: metadata should be passed to the meta-estimator with this given alias instead of the original name.
The default (sklearn.utils.metadata_routing.UNCHANGED) retains the
existing request. This allows you to change the request for some
parameters and not others.
Added in version 1.3.
Parameters:
Xs (str, True, False, or None, default=sklearn.utils.metadata_routing.UNCHANGED) -- Metadata routing for Xs parameter in fit.
The objective of PIMVC is to simultaneously discover the projection matrix for each modality and establish a unified
feature representation shared across incomplete multiple views, facilitating clustering. Essentially, PIMVC
transforms the traditional multi-modality matrix factorization model into a multi-modality projection learning model. By
consolidating various modality-specific objective losses into a cohesive subspace of equal dimensions, it adeptly
handles the challenge where a single modality might overly influence consensus representation learning due to
imbalanced information across views stemming from diverse dimensions. Furthermore, to capture the data geometric
structure, PIMVC incorporates a penalty term for graph regularization.
Parameters:
n_clusters (int, default=8) -- The number of clusters to generate.
neighbor_mode (str, default='KNN') -- Indicates how to construct the graph. Options are 'KNN' (default), and 'Supervised'.
weight_mode (str, default='Binary') -- Indicates how to assign weights for each edge in the graph. Options are 'Binary' (default), 'Cosine' and 'HeatKernel'.
max_iter (int, default=100) -- Maximum number of iterations.
random_state (int, default=None) -- Determines the randomness. Use an int to make the randomness deterministic.
engine (str, default='octave') -- Engine to use for computing the model. Currently only 'octave' is supported.
Configure whether metadata should be requested to be passed to the fit method.
Note that this method is only relevant when this estimator is used as a
sub-estimator within a meta-estimator and metadata routing is enabled
with enable_metadata_routing=True (see sklearn.set_config()).
Please check the User Guide on how the routing
mechanism works.
The options for each parameter are:
True: metadata is requested, and passed to fit if provided. The request is ignored if metadata is not provided.
False: metadata is not requested and the meta-estimator will not pass it to fit.
None: metadata is not requested, and the meta-estimator will raise an error if the user provides it.
str: metadata should be passed to the meta-estimator with this given alias instead of the original name.
The default (sklearn.utils.metadata_routing.UNCHANGED) retains the
existing request. This allows you to change the request for some
parameters and not others.
Added in version 1.3.
Parameters:
Xs (str, True, False, or None, default=sklearn.utils.metadata_routing.UNCHANGED) -- Metadata routing for Xs parameter in fit.
Scalable Incomplete Multiview Clustering with Adaptive Data Completion (SIMC-ADC). [33][34]
The SIMC-ADC algorithm captures the complementary information from different views by building a view-specific
anchor graph. The anchor graph construction and a structure alignment are jointly optimized to enhance
clustering quality.
Parameters:
n_clusters (int, default=8) -- The number of clusters to generate.
lambda_parameter (float, default=1) -- Balance the influence between anchor graph generation and alignment term.
n_anchors (int, default=None) -- Number of anchors. If None, use n_clusters.
beta (float, default=1) -- Balance the influence between anchor graph generation and alignment term.
gamma (float, default=1) -- Balance the influence between anchor graph generation and alignment term.
random_state (int, default=None) -- Determines the randomness. Use an int to make the randomness deterministic.
engine (str, default=python) -- Engine to use for computing the model. Current options are 'octave' or 'python'.
Configure whether metadata should be requested to be passed to the fit method.
Note that this method is only relevant when this estimator is used as a
sub-estimator within a meta-estimator and metadata routing is enabled
with enable_metadata_routing=True (see sklearn.set_config()).
Please check the User Guide on how the routing
mechanism works.
The options for each parameter are:
True: metadata is requested, and passed to fit if provided. The request is ignored if metadata is not provided.
False: metadata is not requested and the meta-estimator will not pass it to fit.
None: metadata is not requested, and the meta-estimator will raise an error if the user provides it.
str: metadata should be passed to the meta-estimator with this given alias instead of the original name.
The default (sklearn.utils.metadata_routing.UNCHANGED) retains the
existing request. This allows you to change the request for some
parameters and not others.
Added in version 1.3.
Parameters:
Xs (str, True, False, or None, default=sklearn.utils.metadata_routing.UNCHANGED) -- Metadata routing for Xs parameter in fit.
Subtyping Tool for Multi-Omic Data (SUMO). [35][36]
SUMO, originally designed for molecular subtyping in multi-omics datasets, utilizes a state-of-the-art
nonnegative matrix factorization (NMF) algorithm to identify clusters of samples with similar characteristics.
The authors strongly suggest removing features and samples with a large fraction of missing values (>10%); log
transform or a variant stabilizing transform when using count data as input; and standardize each input feature. For
more information, read the sumo's documentation: https://python-sumo.readthedocs.io/en/latest/index.html.
Parameters:
n_clusters (int, default=8) -- The number of clusters to generate. If it is not provided, it will use the default one from the algorithm.
method (str or list of str, default='euclidean') -- either one method of sample-sample similarity calculation, or list of methods for every modality (available
methods: ['euclidean', 'cosine', 'pearson', 'spearman']).
missing (float or list of float, default=[0.1]) -- acceptable fraction of available values for assessment of distance/similarity between pairs of samples - either
one value or list for every modality.
neighbours (float, default=0.1) -- fraction of nearest neighbours to use for sample similarity calculation using Euclidean distance
similarity.
alpha (float, default=0.5) -- hypherparameter of RBF similarity kernel, for Euclidean distance similarity.
sparsity (float or list of float, default=[0.1]) -- either one value or list of sparsity penalty values for H matrix (sumo will try different values and select
the best results).
repetitions (int, default=60) -- Number of repetitions.
cluster_method (str, default="max_value") -- Method of cluster extraction. Options are 'max_value' or'spectral'.
max_iter (int, default=500) -- Maximum number of iterations for factorization.
tol (float, default=1e-5) -- If objective cost function value fluctuation is smaller than this value, stop iterations before
reaching max_iter.
subsample (float, default=0.05) -- Fraction of samples randomly removed from each run, cannot be greater than 0.5.
calc_cost (int, default=20) -- Number of steps between every calculation of objective cost function.
h_init (int, default=None) -- index of adjacency matrix to use for H matrix initialization (by default using average adjacency).
rep (int, default=5) -- number of times consensus matrix is created for the purpose of assessing clustering quality.
random_state (int, default=None) -- Determines the randomness. Use an int to make the randomness deterministic.
Configure whether metadata should be requested to be passed to the fit method.
Note that this method is only relevant when this estimator is used as a
sub-estimator within a meta-estimator and metadata routing is enabled
with enable_metadata_routing=True (see sklearn.set_config()).
Please check the User Guide on how the routing
mechanism works.
The options for each parameter are:
True: metadata is requested, and passed to fit if provided. The request is ignored if metadata is not provided.
False: metadata is not requested and the meta-estimator will not pass it to fit.
None: metadata is not requested, and the meta-estimator will raise an error if the user provides it.
str: metadata should be passed to the meta-estimator with this given alias instead of the original name.
The default (sklearn.utils.metadata_routing.UNCHANGED) retains the
existing request. This allows you to change the request for some
parameters and not others.
Added in version 1.3.
Parameters:
Xs (str, True, False, or None, default=sklearn.utils.metadata_routing.UNCHANGED) -- Metadata routing for Xs parameter in fit.