Commit Graph

17 Commits

Author SHA1 Message Date
Dimitri Papadopoulos Orfanos d4d5f8c7e0
MAINT consistent use of `print(__doc__)` in examples (#21307)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-10-22 15:33:22 +02:00
Thomas J. Fan 70a185ae59
MAINT Enable and run black on examples (#20502) 2021-10-07 10:13:00 +02:00
Thierry 0625e0384e Integration of the new GaussianMixture class.
Depreciation of the GMM class.

Modification of the GaussianMixture class.
  Some functions from the original GSoC code have been removed, renamed or simplified.
  Some new functions have been introduced (as the 'check_parameters' function).
  Some parameters names have been changed :
   - covars_ -> covariances_ : to be coherent with sklearn/covariances
  Addition of the parameter 'warm_start' allowing to fit data by using the previous computation.

The old examples have been modified to replace the deprecated GMM class by the new GaussianMixture class.
Every exemple use the eigenvectors norm to solve the scale ellipse problem (Issues 6548).

Correction of all commentaries from the PR
- Rename MixtureBase -> BaseMixture
- Remove n_features_
- Fix some problems
- Add some tests

Correction of the bic/aic test.

Fix the test_check_means and test_check_covariances.

Remove all references to the deprecated GMM class.

Remove initialized_.
Add and correct docstring.

Correct the order of random_state.

Fix small typo.

Some fix in prevision of the integration of the new BayesianGaussianMixture class.

Modification in preparation of the integration of the BayesianGaussianMixture class.
Add 'best_n_iter' attribute.
Fix some bugs and tests.

Change the parameter order in the documentation.

Change best_n_iter_ name to n_iter_.

Fix of the warm_start problem.
Fix the divergence error message.
Correction of the random state init in the test file.
Fix the testing problems.

Update and add comments into the monotonic test.
2016-04-21 18:08:54 +02:00
bwignall 34fc4d4214 CLN: Capitalize "Gaussian" in example docstrings 2014-06-01 16:53:23 -04:00
Rajat Khanduja 7d10d98492 Fixed some PEP8 violations even present in master branch, in examples/
This fixes some of the violations that were not caused by the change to pyplot
from pylab.
2014-05-15 09:35:24 +05:30
Olivier Grisel b2c5f4d9e7 Better title 2013-10-30 21:10:28 +01:00
Laurent Pierron 48c2c15f57 Improve the GMM PDF example. 2013-10-28 17:07:26 +01:00
Andreas Mueller 32eb8b57f8 ENH rename eval / pseudolikelihood to score_samples 2013-07-26 23:32:23 +02:00
Andreas Mueller 38b455d541 Cosmit pep8 2012-12-25 13:16:05 +01:00
bthirion 74b95bb865 merged with master 2011-12-24 20:03:07 +01:00
Jake Vanderplas 96d6060cd7 pep8 2011-12-23 10:12:26 -08:00
bthirion de202d7e7a ENH: renaming cv_type and posterior to more explicit name + tested multiple init 2011-12-22 00:20:41 +01:00
Fabian Pedregosa ddf4b72109 Move project directory from scikits.learn to sklearn 2011-09-02 12:06:57 +02:00
Fabian Pedregosa 68f27e3790 Revert "Move project directory from scikits.learn to sklearn"
This reverts commit fd0d3b879d.
2011-09-02 12:03:18 +02:00
Fabian Pedregosa fd0d3b879d Move project directory from scikits.learn to sklearn 2011-09-02 11:38:24 +02:00
Fabian Pedregosa c77bf7b14c Rename n_states --> n_components in mixture & hmm + cosmetic changes. 2011-07-20 15:41:35 +02:00
Fabian Pedregosa f00bdfa5b0 Rename scikits.learn.gmm to scikits.learn.mixture.
In the future mixture will become a directory, but for now there are
just GMMs.
2010-11-23 15:15:38 +01:00