Commit Graph

63 Commits

Author SHA1 Message Date
Gilles Louppe 4bcfedb813 FIX: GaussianProcess will be deprecated in 0.20, not 0.19 2015-10-21 10:59:03 +02:00
Gilles Louppe 9758e25735 FIX: gaussian_process will be deprecated in 0.19, not 0.18 2015-10-20 09:34:34 +02:00
Jan Hendrik Metzen 1813322d0a DOC Documenting GP kernel API 2015-10-19 18:07:14 +02:00
Jan Hendrik Metzen 68be69f0f7 MISC Deprecating legacy GP implementation 2015-10-19 18:07:13 +02:00
Vighnesh Birodkar 2f099334f9 MAINT deprecate 1d input arrays for all estimators
Passing 1D arrays to check_array, without setting `ensure_2d` to false now
raises a deprecation warning before reshaping it. This will later throw an
error.

All Scaler classes also throw warnings when 1D arrays are passed.

All unit tests/doctests are modified to ensure that no 1D arrays are passed,
except in explicit 1D array tests where the warnings have been silenced.

Additional tests are also included which check for different 1D array cases.

2D array tests with one samples and one features are also added and where
they failed, `check_array` call has been modified to give a more useful error
message
2015-09-09 15:49:58 +02:00
Andreas Mueller c3b56ac7ce fix shape of thetaL, thetaU, theta0 in gp 2015-07-28 23:09:14 -04:00
Andreas Mueller 0650d5502e DOC adding backlinks to docstrings 2015-06-03 00:24:04 -04:00
Andreas Mueller cd5166e82f make check_array convert object to float.
fix dtype check, add test. unfriend all multi-output estimators on facebook.

try to fix what is happening to y (by doing nothing to y)

make test work...

Make everything accept object y or say "invalid label"

fix multioutput linear models

add test for sensible error message.
2015-02-15 12:13:41 -05:00
Kaicheng Zhang 4ab4fba8ba G is upper-triangular, so G.T should be lower-triangular. 2015-01-26 13:57:21 -05:00
Raghav R V abd31d2cad MAINT Make uniform the error raised for not fitted condition 2015-01-12 00:33:40 +05:30
tejesh95 8597cc42de Update gaussian_process.py
just being specific as target value instead of value
2014-08-25 17:49:25 +05:30
Lars Buitinck c604ac39ad Merge branch 'pr/3545'
Fixes #3545.
2014-08-11 13:18:17 +02:00
Jan Hendrik Metzen 9e4aba22cc FIX Using random_state.rand rather than scipy.rand consistently in Gaussian Process 2014-08-10 17:06:39 +02:00
Joel Nothman b3bdb08964 DOC fix formatting of attributes etc. in docstrings 2014-07-28 19:04:59 +10:00
Andreas Mueller 6e2a83b4e1 remove check_arrays stuff and old input validation 2014-07-20 13:31:45 +02:00
Jan Hendrik Metzen 9789fdb247 FIX Anisotropic hyperparam optimization of GP bounds
Fixes #2798, #2867.
2014-06-25 11:42:54 +02:00
Lars Buitinck cdd2279c09 ENH fix astype usage to prevent copying
Removed where possible; using copy=False (from utils.fixes) where needed.

Also some C integer type fixes to gradient boosting.
2014-06-18 11:01:28 +02:00
Lars Buitinck 23b3cc2eb5 MAINT drop support for SciPy < 0.9
TODO: get rid of solve_triangular. Just replacing it by scipy.linalg's
breaks OMP and least-angle regression.
2014-03-02 20:13:57 +01:00
Jaques Grobler 6ebcf4d020 COSMIT fix PEP8 errors 2014-02-02 00:30:28 +11:00
Stefan Walk 8f1dd3216f python 3 compatibility fix 2014-01-20 14:14:26 +01:00
Vincent Dubourg fc15658101 FIX: random_start feature in GaussianProcess 2013-12-03 22:28:14 +01:00
Alexandre Gramfort af4b940701 ENH : simplify input checking in GP 2013-09-30 09:06:00 +02:00
Alexandre Gramfort f244a285a8 ENH : Gaussian process for arbitrary-dimensional output spaces by @JohntheBear 2013-09-30 09:06:00 +02:00
Sergio Pascual 5e375b59a6 Move __future__ import after license text 2013-09-06 15:41:29 +02:00
Sergio Pascual 11a6b3314e Remove shebang in library code 2013-09-06 15:37:49 +02:00
Jaques Grobler 8861833ec9 DOC spellfixes 2013-06-29 16:18:23 +03:00
Robert Layton dacfd8bd5d DOC: Replaced all BSD style licenses with "BSD 3 clause"
Replaced all BSD style licenses with "BSD 3 clause"
Not checked yet!

Removed duplicate "3 clause, 3 clause"

Removed trailing period if exists

Fixed some missed licences, still about 50 to do, but those can be automated

Think I got the last of them.

Apparently me and sed have different ideas of regex.

Found a few more
2013-04-30 08:34:46 +02:00
Stefano Lattarini 67ece78da4 COSMIT various typofixes
As suggested by codespell <https://github.com/lucasdemarchi/codespell>

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
2013-04-11 21:22:14 +02: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 e369c4339d COSMIT remove unused imports, pep8 2013-01-26 18:26:20 +01:00
Lars Buitinck 07c56d7cd2 COSMIT rm deprecated stuff
One more deprecated feature to go in FastICA; not sure how to handle
that one.
2013-01-22 19:45:27 +01:00
Andreas Mueller 754c2d9533 COSMIT pep8 2012-12-22 16:48:17 +01:00
Andreas Mueller 780ab0245c ENH Check what ``__init__`` does in test_common 2012-11-26 09:31:06 +00:00
Gael Varoquaux 82dc425df6 DOC: typo
Fixes #1276
2012-10-25 08:11:43 +02:00
Vlad Niculae 9e7c03f71a Add or fix deprecation schedule in warnings. 2012-09-01 20:02:14 +02:00
Gael Varoquaux a12bd7bc7c ENH: understandable error message for X sparse 2012-08-10 11:23:00 +01:00
Andreas Mueller 2cc0af8a1e MISC raise more helpful error message in GaussianProcess if optimization fails. 2012-06-07 22:31:04 +02:00
Andreas Mueller c039766bfa COSMIT fixing doc building errors. 2012-06-03 17:41:25 +02:00
Hannes Schulz 5a3708645b typo 2012-05-30 16:28:22 +02:00
Hannes Schulz 5d580891f9 MISC privatize/deprecate internal function of gaussian process
_arg_max_reduced_likelihood_function looks like an accessor,
but it actually does work and is mainly called during fit().
The return values are now stored using sklearn naming convention.
2012-05-30 16:18:41 +02:00
Gael Varoquaux caea207905 BUG: use permutation rather than shuffle 2012-05-06 20:15:29 +02:00
Andreas Mueller 23c042eaec ENH added random_state to Gaussian Process 2012-05-06 20:15:29 +02:00
Olivier Grisel 5ecc1611ff FIX: broken doctest under OSX 2012-03-11 19:49:31 -07:00
Andreas Mueller 667ef37714 DOC move references from Notes to References section in docstrings 2012-03-04 15:16:51 +01:00
Andreas Mueller bc942e8c9d COSMIT pep8 2012-03-02 19:39:43 +01:00
leonpalafox 6e59f6c431 Change exception text when multiple input features have the same value from: "Multiple X are not allowed" to: "Multiple input features cannot have the same value" 2012-02-22 08:53:51 +01:00
Jake Vanderplas 35f9dfc256 DOC: expand nugget explanation; combine two GPML examples 2012-02-02 07:35:55 -08:00
Jake Vanderplas 860a862c3b allow for multiple nuggets in gaussian process 2012-02-01 07:33:54 -08:00
Andreas Mueller cb00e97dc2 COSMIT pep8 2012-01-23 10:02:01 +01:00
Fabian Pedregosa 1543ba214c FIX: docstring
array2d not defined in docstring. Instead of importing it, I decided
to use np.asarray, which is probably what people familiar with numpy
will expect.
2012-01-06 19:36:29 +01:00