Andreas Mueller
79fa25ade3
MAINT don't print things in testing.
2015-10-15 15:23:00 -04:00
Andreas Mueller
a8626b36a6
TST/COSMIT remove nose call boilerplate
2015-05-28 14:54:01 -04:00
Sebastian Saeger
d2382e1be2
Cleaned the code. pep8, pyflakes and added comments.
2015-05-03 00:50:40 +02:00
Sebastian Saeger
43a46365cc
Removed the deprecation and added a test for a boolean flag value.
2015-05-02 20:28:18 +02:00
Sebastian Saeger
8f34306a05
Added tests for the adapted verbose flag of DPGMM.
2015-05-01 10:11:37 +02:00
Sebastian Saeger
0bb91dcfd7
Fixed pep8 and removed unused variable.
2015-05-01 10:11:37 +02:00
Sebastian Saeger
eb05c53d9f
Added tests for the verbose flag of GMM.
2015-05-01 10:11:37 +02:00
Cory Lorenz
fc87eb33ff
Add a fit_predict method for the GMM classes
...
With low iterations, the prediction might not be 100% accurate due to
the final maximization step in the EM algorithm.
2015-04-30 11:49:23 -07:00
Wei Xue
9c57ee3b5c
Raise ValueError when log_multivariate_normal_density has non positive definite covariance
2015-03-24 20:15:22 -04:00
Raghav R V
cd2ee7e454
MAINT docstring --> comments to prevent nose from using doc in verbose mode
2015-03-21 11:16:49 +05:30
Olivier Grisel
2c3e5640d9
DOC cosmetics in test docstring
2015-02-24 23:35:24 +01:00
Alexis Mignon
fa3ecbc96d
Converted docstring of 'test_positive_definite_covars' into a comment to avoid description ptoblems with nose (Related to issue #4250 )
2015-02-24 23:35:23 +01:00
Alexis Mignon
db2eddaa02
Converted test_positive_definite_covars to a generator.
2015-02-24 23:35:23 +01:00
Alexis Mignon
3e069d51ed
Clarified a comment and factorized the tests for all covariance types
2015-02-24 23:35:23 +01:00
Alexis Mignon
e0536d93b5
Cosmetic changes in the doc string. Added an indentation level
2015-02-24 23:35:23 +01:00
Alexis Mignon
739efd6e82
Added test to check that obtained covariance matrices are positive definite after learning a GMM
2015-02-24 23:35:23 +01:00
Loïc Estève
5c0c5c672c
MAINT use absolute imports in tests
...
as per the guideline in:
http://scikit-learn.org/stable/developers/#coding-guidelines
2015-02-10 13:40:31 +01:00
Andreas Mueller
364fdd6496
minor fixes, addressing @agramfort's comments.
2015-02-03 17:30:08 +01:00
wadawson
87c9ba7d26
Corrected two bugs related to 'tied' covariance_type in mixture.GMM(), added test, closes #4036
...
The first bug was with the Gaussian log-density calculation for the 'tied' covariance_type.
Rather than fix this equation I reformatted the covars data structure so that it could be fed
into the 'full' covariance_type log-density calculation. It might be a tiny bit slower but I think
it is better to have the least amount of potentially redundant code as this should minimize
the potential for such errors.
The second bug I fixed was related to the _covar_mstep_tied() function, only the first part
of the equation should be divided by X.shape[0].
2015-02-03 17:29:26 +01:00
Lars Buitinck
c6b7e3baed
FIX numerical stability in GMM with eigh sampling
2014-05-15 15:37:33 +02:00
Andreas Mueller
32eb8b57f8
ENH rename eval / pseudolikelihood to score_samples
2013-07-26 23:32:23 +02:00
Jim Holmström
f1df9ab19d
Replaced 'for i' with 'for _' at place where i is not used.
...
fix pep8 for weighted_boosting.py
2013-04-27 15:24:44 +02:00
Andreas Mueller
7d57b9e50e
COSMIT pep8, removing unused imports
2013-02-11 19:18:01 +01:00
Olivier Grisel
1967a0b323
P3K use six to have a python 2 & 3 compatible code base
2013-02-09 18:08:44 +01:00
Andreas Mueller
36e080a339
TST add regression tests for Alex' fix.
2013-01-17 17:35:31 +01:00
Andreas Mueller
754c2d9533
COSMIT pep8
2012-12-22 16:48:17 +01:00
Anze
ca60c93ee7
Replaced use of deprecated method.
2012-11-14 07:23:49 +01:00
Alexandre Gramfort
13be59db7f
TST : use nose assert_true and not python assert
2012-09-13 11:47:26 +02:00
Andreas Mueller
520da07178
ENH make GMMs and LLE cloneable.
2012-06-26 14:16:03 +02:00
Andreas Mueller
1ebcc4a486
COSMIT pep8
2012-05-15 21:18:30 +02:00
Subhodeep Moitra
598dbff146
P3K : Refactored test cases to use setUp
2012-05-11 11:21:01 +02:00
Andreas Mueller
43d1aa4d6c
COSMIT pep8
2012-04-23 21:22:27 +02:00
Jaques Grobler
a3eb84d114
modified test_gmm to match API changes in gmm.py
2012-04-22 19:38:57 +02:00
Andreas Mueller
ea5f0f3177
COSMIT pep8
2012-02-06 22:40:44 +01:00
bthirion
3242c6a041
removed get_means, set_means, get_weights, set_weights
2012-02-02 15:16:26 +01:00
bthirion
c22e71942f
ENH: enforcing skls conventions
2012-01-26 00:07:23 +01:00
bthirion
cbdcb2bce3
ENH:pep8
2012-01-25 00:05:23 +01:00
bthirion
2729f06329
Getting rid of properties in hmm, gmm, dpgmm
2012-01-11 00:42:53 +01:00
bthirion
06c48ff65d
ENH: Removal of properties from GMM -- unfinished
2012-01-09 10:34:18 +01:00
bthirion
6cd4ff619e
Several details outlined by Jake
2011-12-29 19:00:22 +01:00
bthirion
0c926b57ac
Fixed an example that happened to fail
2011-12-29 18:22:36 +01:00
bthirion
33aca24fc8
Changed the shape of spherical covariance matrices to be equal to disgonal covariance matrix, in order to avoir handling the dimension in particular
2011-12-26 19:12:38 +01:00
bthirion
5c6ea0c1e2
ENH: Added AIC/BIC + tests. Seems to work
2011-12-23 19:11:43 +01:00
bthirion
de202d7e7a
ENH: renaming cv_type and posterior to more explicit name + tested multiple init
2011-12-22 00:20:41 +01:00
bthirion
d3954a390e
added some tests to ensure that GMMs work in about all conditions
2011-12-21 19:59:57 +01:00
bthirion
aad9a42a6e
ENH: Removed X and z varaibles from dpmm cladd (should not ship the data)
2011-12-21 18:44:30 +01:00
bthirion
6a37e47983
ENH: renaming estimated variables from self._variable to self.variable_
2011-12-21 18:43:00 +01:00
bthirion
2108fcfa6f
merged with master logsum -> logsumexp
2011-12-21 18:39:59 +01:00
Andreas Mueller
1955ffdba4
COSMIT some pep8
2011-11-28 23:39:46 +01:00
Fabian Pedregosa
ddf4b72109
Move project directory from scikits.learn to sklearn
2011-09-02 12:06:57 +02:00