.. Copyright 2021 IRT Saint-Exupéry, https://www.irt-saintexupery.com This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. .. _gen_clustering_algos: Clustering algorithms ===================== .. warning:: Some algorithms may require the :ref:`installation ` of |g| with :ref:`all its features ` and some others may depend on :ref:`plugins `. .. note:: All the features of the wrapped optimization libraries may not be exposed through |g|. .. raw:: html .. _GaussianMixture_options: GaussianMixture --------------- Module: :class:`gemseo.mlearning.cluster.gaussian_mixture` .. raw:: html
Required parameters
  • **data** : *Dataset* The learning dataset. .. raw:: html
Optional parameters
  • **n_components** : *int, optional* The number of components of the Gaussian mixture. By default it is set to 5. .. raw:: html
  • **transformer** : *Mapping[str, TransformerType] | None, optional* The strategies to transform the variables. The values are instances of :class:`.Transformer` while the keys are the names of either the variables or the groups of variables, e.g. "inputs" or "outputs" in the case of the regression algorithms. If a group is specified, the :class:`.Transformer` will be applied to all the variables of this group. If None, do not transform the variables. By default it is set to None. .. raw:: html
  • **var_names** : *Iterable[str] | None, optional* The names of the variables. If None, consider all variables mentioned in the learning dataset. By default it is set to None. .. raw:: html
  • ****parameters** : *int | float | str | bool | None* The parameters of the machine learning algorithm. .. raw:: html
.. _KMeans_options: KMeans ------ Module: :class:`gemseo.mlearning.cluster.kmeans` .. raw:: html
Required parameters
  • **data** : *Dataset* The learning dataset. .. raw:: html
Optional parameters
  • **n_clusters** : *int, optional* The number of clusters of the K-means algorithm. By default it is set to 5. .. raw:: html
  • **random_state** : *int | None, optional* If None, use a random generation of the initial centroids. If not None, the integer is used to make the initialization deterministic. By default it is set to 0. .. raw:: html
  • **transformer** : *Mapping[str, TransformerType] | None, optional* The strategies to transform the variables. The values are instances of :class:`.Transformer` while the keys are the names of either the variables or the groups of variables, e.g. "inputs" or "outputs" in the case of the regression algorithms. If a group is specified, the :class:`.Transformer` will be applied to all the variables of this group. If None, do not transform the variables. By default it is set to None. .. raw:: html
  • **var_names** : *Iterable[str] | None, optional* The names of the variables. If None, consider all variables mentioned in the learning dataset. By default it is set to None. .. raw:: html
  • ****parameters** : *int | float | bool | str | None* The parameters of the machine learning algorithm. .. raw:: html
.. _MLPredictiveClusteringAlgo_options: MLPredictiveClusteringAlgo -------------------------- Module: :class:`gemseo.mlearning.cluster.cluster` .. raw:: html
Required parameters
  • **data** : *Dataset* The learning dataset. .. raw:: html
Optional parameters
  • **transformer** : *Mapping[str, TransformerType] | None, optional* The strategies to transform the variables. The values are instances of :class:`.Transformer` while the keys are the names of either the variables or the groups of variables, e.g. "inputs" or "outputs" in the case of the regression algorithms. If a group is specified, the :class:`.Transformer` will be applied to all the variables of this group. If None, do not transform the variables. By default it is set to None. .. raw:: html
  • **var_names** : *Iterable[str] | None, optional* The names of the variables. If None, consider all variables mentioned in the learning dataset. By default it is set to None. .. raw:: html
  • ****parameters** : *MLAlgoParameterType* The parameters of the machine learning algorithm. .. raw:: html