Commit Graph

23 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
Olivier Grisel a86fd7f5e7 Add Dirichlet process prior to BayesianGaussianMixture (#7386) 2016-09-10 15:41:52 +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
johannah f48d0a01d0 Added colorblind capability 2015-10-23 19:04:34 +02:00
bwignall 9bee5b4d2f CLN: Capitalize "Dirichlet" and "Mexican" in example docstrings 2014-06-01 17:43:21 -04:00
bwignall 34fc4d4214 CLN: Capitalize "Gaussian" in example docstrings 2014-06-01 16:53:23 -04:00
Rajat Khanduja 2244098532 Updated examples to use pyplot for plotting instead of pylab
Some examples not updated because scripts throw error (probably not
because of the change)
2014-05-15 02:18:07 +05:30
bthirion 3242c6a041 removed get_means, set_means, get_weights, set_weights 2012-02-02 15:16:26 +01:00
bthirion 8db0338bfd replace log_weights_ by weights_, which makes the API more consistent 2012-01-10 00:27:23 +01:00
bthirion 06c48ff65d ENH: Removal of properties from GMM -- unfinished 2012-01-09 10:34:18 +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
Gael varoquaux c86a507a7c MISC: Prettify GMM example 2011-05-02 19:15:38 +02:00
Gael varoquaux f66733b792 DOC: Improve the GMM vs DPGMM example 2011-04-24 17:09:40 +02:00
Gael varoquaux affa6a98ff COSMIT 2011-04-24 01:27:08 +02:00
Alexandre Passos f2fc81e4fb Editing a single example for the GMM and DPGMM explaining the difference 2011-04-15 09:14:24 -03: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