Commit Graph

43 Commits

Author SHA1 Message Date
Lars Buitinck f5bcc3d27b COSMIT re-indent docstring for safe_mask 2012-09-18 18:31:23 +02:00
Andreas Mueller 8b3e4d06c0 ENH some cleanup in grid_search.
Closes #777.
2012-08-29 13:50:37 +02:00
Andreas Mueller e95d4613e0 ENH Added copy keyword to safe_sqr, added to dev docs. 2012-08-16 17:51:01 +01:00
Andreas Mueller c520275f06 ENH sparse matrix support in univariate feature selection 2012-08-16 17:50:59 +01:00
Andreas Mueller 1ebcc4a486 COSMIT pep8 2012-05-15 21:18:30 +02:00
Subhodeep Moitra 06d3fd1026 P3K: 'type' has been renamed 'class' in python3 2012-05-11 10:59:59 +02:00
Andreas Mueller 43d1aa4d6c COSMIT pep8 2012-04-23 21:22:27 +02:00
GaelVaroquaux 0adaacc40c API: n_test -> test_size in Bootstrap 2012-04-22 18:18:32 +02:00
Yaroslav Halchenko f8904bd29a DOC rudimentary docstring to deprecated.__init__ describing "extra" 2012-02-22 13:33:36 -05:00
Olivier Grisel 152d225789 implementation & test for the murmurhash wrapper module 2012-01-17 02:30:59 +01:00
Mathieu Blondel 812b41ca44 Typos. 2012-01-13 19:28:55 +09:00
Mathieu Blondel 05c42cc4e4 Add safe_mask utility.
Got tired of always typing the same few lines again and again...
2012-01-13 15:31:45 +09:00
Olivier Grisel 511c37029f FIX: validation is a relative package 2011-12-23 21:27:46 +01:00
Andreas Mueller ccb7493e87 COSMIT Examples not Example 2011-12-22 19:47:49 +01:00
Andreas Mueller 355a51c557 FIX: Section Returns not Return 2011-12-22 19:34:33 +01:00
Andreas Mueller 1a78610a56 FIX getting rid of some more sphinx problems 2011-12-21 20:03:02 +01:00
Olivier Grisel 75c30c6db2 merge master 2011-12-21 11:27:03 +01:00
Jake Vanderplas eb248b7bea Move validation utils to their own submodule 2011-12-19 11:15:21 -08:00
Olivier Grisel 50af0c3264 track changes from master 2011-12-19 10:48:57 +01:00
Lars Buitinck 05006c0adf COSMIT use utils.deprecated as a class decorator 2011-12-11 00:55:39 +01:00
Lars Buitinck 98ead8a340 raise TypeError instead of ValueError in check_arrays
Appropriate "when an operation or function is applied to an object of
inappropriate type".
2011-12-10 13:12:50 +01:00
Olivier Grisel f34db3dac7 PEP257 cosmit 2011-12-10 11:11:10 +01:00
Lars Buitinck 106648f281 drop Python 2.5; document and rm some workarounds for kwargs quirks
There might be more of these

    kwargs = FOO
    fun(*args, **kwargs)

workarounds.
2011-12-10 10:22:15 +01:00
Gilles Louppe b25c574b76 DOC: Standardized the module documentation format (2) 2011-11-30 11:05:10 +01:00
Andreas Mueller ff3f814a1b COSMIT pep8 whitespace 2011-11-20 21:16:52 +01:00
Olivier Grisel d9aa1283ec Merge branch 'master' into minibatch-kmeans-optim 2011-11-13 20:07:29 -05:00
Gael varoquaux 779bc9a465 ENH: don't echo convergence warning on CV grid
Because the CV grid explores part of the system where it is
ill-conditionned, some grid points will have some convergence
difficulties. There is no point echoing a warning here.
2011-11-10 23:43:10 +01:00
Fabian Pedregosa 021ae0efcb FIX: array2d was did not return contiguous arrays with order='C' ...
for 1d arrays because of the atleast_2d conversion.
2011-11-07 15:05:37 +01:00
Olivier Grisel 76e6197fb1 merge master 2011-11-01 17:10:19 +01:00
Lars Buitinck 71d524396c FIX replace np.atleast_2d with new utils.array2d
atleast_2d will pass through np.matrix
2011-10-25 15:16:31 +02:00
Lars Buitinck 51d4310c6f COSMIT rename safe_asanyarray to safe_asarray to prevent confusion 2011-10-21 13:58:08 +02:00
Lars Buitinck 3bde2bf97b ENH accept matrix input throughout
Simple solution: replace np.asanyarray with np.asarray throughout.
Also, use utils.as_float_array where appropriate.
2011-10-21 13:51:12 +02:00
Olivier Grisel 5f8d5541e8 test and fix input checks for various dypes 2011-10-15 16:56:50 +02:00
Lars Buitinck 56d26f9fdd rename overwrite_Foo params to copy_Foo (and inversed their meaning) 2011-09-25 16:52:29 +02:00
Lars Buitinck ab4098ef44 pep8 sklearn/utils/__init__.py 2011-09-20 15:37:23 +02:00
Fabian Pedregosa 71953c4934 Safer assert_all_finite.
Check for Inf/NaN when X.sum() is not finite. This avoids the risk of
false positives because of sum overflow while remaining performant for
the usual case where all values are finite.

This idea is taken from:

   57167f7c02
2011-09-20 15:32:48 +02:00
Fabian Pedregosa ecf4b43e04 Doc: Print --> Issue 2011-09-19 23:33:07 +02:00
Fabian Pedregosa 00cc485246 sklearn.test() does not like doctest that don't print.
Put a simple statement in deprecated's docstring.
2011-09-19 23:30:54 +02:00
Olivier Grisel 272af90a34 FIX: make the @deprecated class decorator not break the __repr__ of estimators 2011-09-07 10:56:20 +02:00
Olivier Grisel ca48f82ab8 s/\bcross_val\b/cross_validation/g 2011-09-06 14:44:32 +02: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