Commit Graph

28 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
Hye Sung Jung 3424f72469 DOC spelling fixes (#16247) 2020-01-28 12:52:17 +11: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
Lars Buitinck 541987802f P3K range vs. xrange 2013-02-14 02:05:35 +01:00
Andreas Mueller 38b455d541 Cosmit pep8 2012-12-25 13:16:05 +01:00
Andreas Mueller dcc1c7431c COSMIT + MISC pep8, pyflakes, typos and some other cleanup of examples. 2012-04-29 23:13:06 +02:00
Jaques Grobler da56baabe5 DPGMM and VBGMM API change, example updated 2012-04-22 19:38:57 +02:00
Jaques Grobler 7752db8b82 DPGMM API updated, along with plot_gmm_sin example 2012-04-22 19:38:57 +02:00
Jaques Grobler 8ba6995693 mixture/plot_gmm* examples updated
* plot_gmm_sin will get another update when
   DPGMM and VBGMM get their API's updated too
2012-04-22 19:38:57 +02:00
GaelVaroquaux b187b9e9b1 DOC: more examples for DPGMM 2012-02-05 23:28:19 +01:00
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 5ecb141d85 Hopefully clarified notations in dpgmm 2011-12-28 15:50:09 +01:00
bthirion 86559e55f6 detail fixed in an example 2011-12-26 19:29:06 +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
Alexandre Passos 70acebe8c7 Adding a squiggly curve example for the mixture models 2011-04-24 17:36:45 -03:00