Commit Graph

779 Commits

Author SHA1 Message Date
Jake VanderPlas a21957e85c rename ensure_symmetric -> test_symmetric 2014-12-29 08:36:25 -08:00
Jake VanderPlas 7794d90471 MAINT: create ensure_symmetric utility function to check matrix symmetry 2014-12-28 21:02:35 -08:00
Andreas Mueller a3ee284f59 Fix typos, no shortenings in name, simplify example. 2014-12-24 15:09:20 -05:00
Andreas Mueller 41e2c10a9e rename decorator 2014-12-19 17:27:27 -05:00
Andreas Mueller a1510a14c9 fix docstrings in sphinx 2014-12-19 15:47:10 -05:00
Andreas Mueller 37f0e2d956 add regression test for docstring delegation 2014-12-19 14:44:07 -05:00
Andreas Mueller 9845c044fd make attribute decriptor have the right docstring. 2014-12-19 14:11:55 -05:00
Andreas Mueller 7ac19aca77 remove _iff_attr_has_method function 2014-12-18 17:48:56 -05:00
Joel Nothman 0597c23e85 TST/FIX ensure correct ducktyping for metaestimators 2014-12-18 17:48:56 -05:00
maheshakya 32491b0bbe FIX Modified assert_warns_message to ignore order of warnings. 2014-12-18 19:50:02 +01:00
maheshakya 7de8e3fc35 ENH Used GaussianRandomProjectionHash for handling hashing. 2014-12-18 19:50:02 +01:00
Aldrian Obaja 1e8bdb859e FIX bug in fit_params assumed to be an array
Fixes gh-3957.
2014-12-15 18:07:05 +01:00
Alexandre Gramfort 6dab7c5c8a Merge pull request #3802 from MechCoder/birch
[MRG+1] Clustering algorithm - BIRCH
2014-12-11 23:10:43 +01:00
MechCoder f86622d9cb MAINT: Moved compute_label test to common tests 2014-12-09 16:22:10 +01:00
Joel Nothman 081a554698 FIX P/R/F metrics and scorers are now for binary problems only by default
Scorers for different average parameters have been added.
2014-12-09 13:56:51 +11:00
MechCoder bb629cbba9 ENH: Add arbitrary clusterer in the global clustering step and test 2014-12-05 14:07:16 +01:00
MechCoder 0ed517fa90 Made the following changes
1. Improved documentation.
2. Added sanity test.
3. Moved example to a separate folder
4. Optimised compuation of centroids.
5. Added underscore to public attributes.
2014-12-05 14:07:16 +01:00
Andreas Mueller f35116ad03 Allow list of strings for type_filter in all_estimators. 2014-12-04 16:58:07 -05:00
Fabian Pedregosa 7e1a0eee08 ENH LinearSVR using liblinear code
Fixes gh-3877.
2014-12-03 20:44:04 +01:00
Olivier Grisel f0fe4afd1e Merge pull request #2949 from FlorianWilhelm/theilsen
[MRG+1] TheilSen robust linear regression
2014-11-20 15:34:01 +01:00
Olivier Grisel fe553b755a ENH use specific warning class for RP 2014-11-18 14:55:56 +01:00
Olivier Grisel a6993945da FIX make assert_raises_regex backport for 2.6 consistent with 2.7+
Use regex.search instead of regex.match.

Furthermore, silence the deprecation warning from Python 3.4 as
assert_raises_regexp is now deprecated in favor of the shorter name:
assert_raises_regex.
2014-11-18 11:59:01 +01:00
Olivier Grisel 429d06493a Merge pull request #3853 from ogrisel/backport-lsqr-fix
[MRG] Fix ZeroDivisionError in LinearRegression on sparse data
2014-11-15 17:33:46 +01:00
Olivier Grisel 54f483aafa FIX #2986: ZeroDivisionError in LinearRegression on sparse data 2014-11-14 12:51:43 +01:00
Andreas Mueller 9033865100 FIX raise error when number of features changes in partial fit, Add common test for inconsisten number of features for partial fit. 2014-11-06 18:01:31 -05:00
MechCoder e01f225f82 COSMIT: Use searchsorted in weighted_percentile 2014-11-05 17:57:21 -05:00
Manoj Kumar e6835a7aac Merge pull request #3779 from arjoly/sw-dummy-regressor
[MRG+1] Add sample_weight support to Dummy Regressor
2014-11-04 09:50:01 +01:00
MechCoder 2daa0289ef Renamed csc_row_median to csc_median_axis_0 2014-10-21 09:21:30 +02:00
MechCoder 3e7b816a0d DOC: Explain why the centroid of the manhattan metric is the median 2014-10-21 09:21:30 +02:00
MechCoder 9622e858b3 MAINT: Move _get_median into sparsefuncs to avoid circular imports 2014-10-21 09:21:30 +02:00
MechCoder 91450c6960 FIX: Wrap csc_row_median around the _get_median imputer function 2014-10-21 09:21:30 +02:00
MechCoder 6f41bd1c88 ENH: Patches Nearest Centroid for metric=manhattan for sparse and dense data 2014-10-21 09:21:30 +02:00
Arnaud Joly da31344751 Add sample_weight support to Dummy Regressor 2014-10-16 16:41:49 +02:00
MechCoder 4213c0461b DOC: Make it explicit that assert_warns clears the warning registry 2014-10-14 10:57:43 +02:00
MechCoder 34df94d6c5 TST: Test that assert_warns is reset internally 2014-10-13 23:13:52 +02:00
MechCoder 859992ae90 TST: Test that the warning registry is empty after assert_warns
Also minor doc change to the statement that this class was
copied from NumPy
2014-10-13 14:56:29 +02:00
MechCoder 54eb4784ba FIX: Remove test that tests state of warnings before and after assert_warns 2014-10-10 17:14:41 +02:00
Florian Wilhelm a5d2fd915a Merge branch 'master' into theilsen
Conflicts:
	doc/modules/model_evaluation.rst
2014-10-09 17:43:21 +02:00
Danny Sullivan a0f0d461bc fixing merge conflicts 2014-10-09 16:23:45 +02:00
Danny Sullivan e5ae879ea0 clean up and average can now be set to an int indicating the number of iterations before averaging 2014-10-03 15:44:15 +02:00
Danny Sullivan 7b6cb91459 adding add_average method and solving iteration bug by replacing definition of t 2014-10-03 09:51:16 +02:00
akshayah3 367845cacd Shifted the _check_sample_weight into BaseWeightBoosting class 2014-09-28 20:03:58 +05:30
akshayah3 4d94392b49 Added _check_sample_weight 2014-09-28 19:23:36 +05:30
akshayah3 16bc265ed8 dded tests to test_boosting 2014-09-28 14:58:55 +05:30
akshayah3 11d3696de2 Added make_fit_parameter method 2014-09-27 19:35:13 +05:30
Lars Buitinck 2666b702d2 TST stronger test_shuffle_on_ndim_equals_three 2014-09-25 19:37:35 +02:00
Will Lamond 766fb56ec0 FIX allow ndim>2 in shuffle
Fixes #3694.
2014-09-25 19:29:44 +02:00
Florian Wilhelm a8000405de COSMIT: Small changes regarding Theil-Sen
- Typo fixed in linear_model documenation
- Usage of matplotlib.pyplot instead of matplotlib.pylab
- Removed trailing backslash in import statements
- Renamed _modweiszfeld_step to _modified_weiszfeld_step
- Renamed variable fst to first_elem in _lstq
- Made get_n_jobs private in utils/__init__.py
2014-09-24 19:58:21 +02:00
Florian Wilhelm b0ab714699 Merge branch 'master' into theilsen 2014-09-24 19:30:39 +02:00
Kyle Kastner b2d6a30aeb IncrementalPCA implementation 2014-09-22 13:12:29 -04:00