Lars Buitinck
f8d7bd43fd
ENH OneHotEncoder docs + TypeError + test active_features_
2012-11-07 17:02:56 +01:00
Lars Buitinck
bf87bf5893
Merge branch 'master' into pr/1279
...
Conflicts:
doc/whats_new.rst
2012-11-07 13:36:51 +01:00
Lars Buitinck
917f309559
ENH fit_transform on KMeans
...
Naive implementation for now. Fixes Issue #1157 (partly, at least).
2012-10-31 13:28:28 +01:00
Andreas Mueller
427a0e6075
ENH used asarray to avoid copy
2012-10-31 08:31:24 +00:00
Gael Varoquaux
edcfcd3f96
COSMIT: pep8 in arrayfuncs.pyx
...
Did not rebuild the C file as the changes are only cosmetic
2012-10-31 09:28:11 +01:00
Gael Varoquaux
189af52bf7
Merge pull request #1290 from tjanez/master
...
DOC: further improvements to the model selection exercise
2012-10-30 14:57:19 -07:00
Olivier Grisel
c5e780707b
Merge pull request #1292 from aymas/pass_rng_kmeans_gmm
...
FIX : pass random_state to kmeans in gmm.fit
2012-10-30 04:06:54 -07:00
Aymeric Masurelle
3adaaa7d4d
FIX : pass random_state to kmeans in gmm.fit
2012-10-30 11:33:23 +01:00
Andreas Mueller
00d1055bf9
FIX HMM test failures
2012-10-29 17:37:12 +00:00
Tadej Janež
87cf51446b
DOC: another improvement to the model selection exercise
2012-10-29 11:31:12 +01:00
Tadej Janež
e683e64d58
Merge remote-tracking branch 'upstream/master'
2012-10-29 10:25:49 +01:00
Lars Buitinck
77b4670b6a
COSMIT use np.clip in SGD
2012-10-29 00:47:00 +01:00
Lars Buitinck
0563fa9a51
BUG halve the number of LinearSVCs
...
np.random.randint can't handle the range [0..UINT_MAX] on platforms
with 32-bit long.
2012-10-28 21:27:14 +01:00
Andreas Mueller
ff313267b4
FIX adjust gamma in kernelPCA tests to fit slightly modified circles with balanced classes.
2012-10-28 20:40:21 +00:00
Andreas Mueller
15b2168017
ENH I'm more happy with the last example now....
2012-10-28 09:04:38 +00:00
Andreas Mueller
7c0d1b686e
FIX typo in dataset generation
2012-10-28 09:04:38 +00:00
Andreas Mueller
72c360ceb4
ENH simplify circles dataset generator, make classes balanced.
2012-10-28 09:04:38 +00:00
Andreas Mueller
7353a5edb4
ENH train/test split, plot accuracy, make plot pretty.
2012-10-28 09:04:38 +00:00
Andreas Mueller
0ddc287b23
ENH more noise, cross-validated parameters.
2012-10-28 09:04:38 +00:00
Andreas Mueller
6f3ccc1855
DOC more extensive classifier comparision on synthetic datasets
2012-10-28 09:04:38 +00:00
Gael Varoquaux
e3d369d38c
MISC: minor clean ups in hmm code
2012-10-27 23:39:54 +02:00
Shiqiao Du
d5fcb73241
- check input format of MultinomialHMM.fit
...
raise ValueError in MultinominalHMM if the input does not pass the check
- pep8
2012-10-27 23:39:54 +02:00
Shiqiao Du
e9f46455f5
- avoid startprob, transmat, emissionprob containing a zero element by
...
adding small number and re-normalize
- test case for above problem
2012-10-27 23:39:54 +02:00
Shiqiao Du
67558036a6
pep8, ignored E126-E128
2012-10-27 23:39:54 +02:00
Shiqiao Du
0ad0b3cd59
added test_fit_with_init to tests/test_hmm.py
...
also fixed a bug by this test
2012-10-27 23:39:54 +02:00
Shiqiao Du
79fcb69ecc
fixed bug of initialization in hmm.py
2012-10-27 23:39:54 +02:00
Gael Varoquaux
0a01292dbf
BUG: restore numpy 1.3 compatbibility
2012-10-27 23:03:40 +02:00
Lars Buitinck
8b6f28061d
ENH allow more than 1000 linear SVMs with custom random seeds
...
Random seed now picked in the range [0..UINT_MAX] instead of [0..1000].
Also changed the liblinear helper code to conform to C89 again, allowing
compilation with MSVC.
2012-10-27 22:55:53 +02:00
Gael Varoquaux
0b3bc3fadf
COSMIT: long remarks go in 'notes' section
2012-10-27 22:44:37 +02:00
Gael Varoquaux
d4f53edd99
DOC: add docs of assign_label in spectral clustering
2012-10-27 22:40:45 +02:00
Gael Varoquaux
a69557e3b9
TST: increase coverage in spectral clustering
2012-10-27 22:10:51 +02:00
Gael Varoquaux
388d1233dd
API: change 'embed_solve' to 'assign_labels'
2012-10-27 20:40:06 +02:00
Gael Varoquaux
9b0ee1d997
MISC: split example in two plots
2012-10-27 20:40:06 +02:00
cow
d3f1d77e59
Removed savefig
2012-10-27 20:40:06 +02:00
cow
efb134469e
Modified lena segmenation example to include different embedding solvers
2012-10-27 20:40:06 +02:00
cow
0b53cb55f2
removed a hardcoded value
2012-10-27 20:40:06 +02:00
cow
112597d755
Added newline to the end of file
2012-10-27 20:40:05 +02:00
cow
64bfe41c34
Example for spectral clustering embedding handling
2012-10-27 20:40:05 +02:00
cow
01217f3d09
Fixed some memory inefficiencies and clearned up documentation and code semantics
2012-10-27 20:40:05 +02:00
Brian Cheung
36efa068b6
Documentation changes, removed more camel case variables
2012-10-27 20:39:35 +02:00
Brian Cheung
e500133610
Even more description of the discretization algorithm.
2012-10-27 20:39:35 +02:00
Brian Cheung
40701a7a45
More description of the discretization algorithm.
2012-10-27 20:39:35 +02:00
Brian Cheung
3f00ff24d4
pep8 formatting
2012-10-27 20:39:35 +02:00
Brian Cheung
8ba410c7a5
Small aesthetic fixes to discretization
2012-10-27 20:38:41 +02:00
Brian Cheung
851a27c3c1
Added more info in documentation
2012-10-27 20:38:41 +02:00
Alexandre Abraham
bbfe61a254
Fix typos
2012-10-27 20:38:41 +02:00
Brian Cheung
b2502fc721
Small comments/constants added
2012-10-27 20:38:41 +02:00
Brian Cheung
c615759e59
Documentation and small bugs fixed and code cleaned up
2012-10-27 20:38:41 +02:00
Brian Cheung
7eda3998e4
Discretization method for spectral clustering added along with tolerence setting to loosen eigendecomposition constraints
2012-10-27 20:38:41 +02:00
GaelVaroquaux
2b85071c4c
BUG: fix setuptools feature
...
for instance 'python setup.py develop'
2012-10-27 20:37:19 +02:00