Alexandre Gramfort
5a58e56826
Merge pull request #5487 from arjoly/example-node
...
[MRG+1] Add an example and a method to analyse the decision tree stucture
2015-10-22 13:31:49 +02:00
Arnaud Joly
be21b6a5b0
Add an hardcoded test
2015-10-21 17:05:56 +02:00
Arnaud Joly
bc02bd5243
ENH rename decision_paths to decision_path
2015-10-21 17:05:56 +02:00
Arnaud Joly
317281bf22
take glouppe comment
2015-10-21 17:05:55 +02:00
Arnaud Joly
f6d605ff96
Implement decision path in tree
2015-10-21 17:05:55 +02:00
hlin117
d62e316882
#5322 : Resolving Random Forest build errors (bad input shape)
2015-10-20 10:36:47 -05:00
hlin117
a5860a1df2
#5322 : Fixed build for tree failures, fixing estimator_checks.check_estimator
2015-10-20 10:36:47 -05:00
hlin117
7745319e33
#5322 : Added check for DecisionTreeRegressor
2015-10-20 10:34:56 -05:00
Raghav R V
e3afc0e8c9
MAINT move custom error/warning classes into sklearn.exceptions
...
ENH NonBLASDotWarning -> EfficiencyWarning; Improve error message
DOC Add exceptions module to modules/classes.rst
MAINT Move ConvergenceWarning, UndefinedMetricWarning et al into exceptions
MAINT Remove ChangedBehaviorWarning from base
DOC/FIX Improve DataConversionWarning's docstring
2015-10-19 22:35:35 +02:00
Jiali Mei
85223b9bcc
a common test to check if classifiers fail when fed regression targets
2015-10-14 14:46:13 -04:00
MechCoder
5a0db1717a
1. Added parameter prefit to pass in a fitted estimator.
...
2. Use assert_warns instead of catch_warnings
3. Remove depracation warnings in common tests.
2015-10-09 01:57:36 -04:00
MechCoder
2416e2aee6
Catch filters instead of removing the tests
2015-10-05 11:24:02 -04:00
Jacob Schreiber
02c0029baa
ENH gbt sparse support
2015-09-28 13:44:12 -07:00
Jacob Schreiber
798aeaf10b
FIX criterion variable names
2015-09-23 11:20:01 -07:00
Gilles Louppe
aa60d98de4
DOC: better docstring for sum_total
2015-09-22 09:33:59 +02:00
Jacob Schreiber
442b49a5a3
ENH criterion file cleaned up
2015-09-22 00:03:31 -07:00
Gilles Louppe
25dbb155a6
TEST: stronger tests for variable importances
2015-09-12 15:18:51 +02:00
Olivier Grisel
91de280428
MAINT re-cythonize sklearn/tree/*.pyx
2015-09-11 16:27:09 +02:00
TomDLT
94eb61960a
ENH add sag solver in LogisticRegression and Ridge
2015-09-10 13:28:02 -04: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
Jacob Schreiber
5978c0bbdf
ENH split _tree.pyx into several files
2015-09-09 11:28:24 +02:00
Arnaud Joly
251feccc4c
ENH Faster tree-based methods by implementing reverse update of criterion
...
The idea is to take into account the linear properties of the impurity
between the prospective left, right and parents splits.
2015-09-07 13:59:50 +02:00
Arnaud Joly
d39716e817
Optimize MSE criterion
...
By avoiding computing constant terms during split optimization.
2015-09-07 09:10:16 +02:00
Olivier Grisel
9db5deeb2f
Merge pull request #5113 from fzalkow/master
...
[MRG + 1] added a string for FriedmanMSE (instead impurity) when exporting a do…
2015-08-17 16:16:38 +02:00
Frank Zalkow
a8976e710a
fixes
2015-08-14 20:31:57 +02:00
Frank Zalkow
d0ce6322b7
added newline (for pep8) and reverted to regex solution due to 0.0/-0.0 problem on windows
2015-08-14 20:27:01 +02:00
Frank Zalkow
6d78d3d678
implemented improvement suggestions
2015-08-14 14:58:43 +02:00
Frank Zalkow
03e95efb1f
added a test and reverted string to friedman_mse
2015-08-14 11:31:42 +02:00
Frank Zalkow
108404767e
now uses isinstance and keeps original name (FriedmanMSE)
2015-08-14 10:21:24 +02:00
Frank Zalkow
a08482aaaf
missed elif
2015-08-13 10:01:01 +02:00
Frank Zalkow
5aab0afe60
added a string for FriedmanMSE (instead impurity) when exporting a dot file
2015-08-12 13:08:14 +02:00
Raghav R V
664d78eb7c
MAINT Remove support for the deprecated sequence of sequences
...
MAINT Remove sequence of sequence support from datasets
MAINT Remove return_indicator param
MAINT Remove multilabel-seq test in OVR
MAINT Remove multilable-seq test in check_cv
MAINT Remove multilabel seq test in label_binarizer
TST type_of_target returns "unknown" for multilabel-sequence types
TST _check_targets should raise a ValueError
DOC show multilabel indicator as an example; remove return_indicator param
DOC use consistent lower case y for target
2015-08-11 22:26:44 +05:30
Gilles Louppe
25f893969c
DOC: fixes to _tree.pyx
2015-07-31 09:31:33 +02:00
Jacob Schreiber
3a135f5748
Final round of revisions
2015-07-30 18:20:37 +02:00
Jacob Schreiber
a91aac0867
PEP257 adhered to closer
2015-07-23 13:16:26 +02:00
Jacob Schreiber
7d0c734797
Responses changed to targets
2015-07-23 10:40:28 +02:00
Jacob Schreiber
69994c0ba6
Responses changed to targets
2015-07-23 10:33:32 +02:00
Jacob Schreiber
6fedcabaf1
Verbosity reduced, suggestions merged
2015-07-23 10:31:52 +02:00
Jacob Schreiber
176f4cfbe5
Documentation added to criterion, dense splitters.
2015-07-21 09:59:40 +02:00
Jacob Schreiber
8b6844a651
Merge branch 'master' of https://github.com/scikit-learn/scikit-learn
2015-07-21 08:44:21 +02:00
Jacob Schreiber
bda486db46
Generated C file
2015-07-16 09:53:03 +02:00
rasbt
93464798ef
note about variance reduction
2015-07-11 16:03:20 -04:00
Arnaud Joly
9612521f27
FIX raises memory error in depth first builder
2015-06-29 09:36:14 +02:00
Tian Wang
9f06156f20
add a new int array to store indices
2015-06-24 11:22:01 -04:00
Andreas Mueller
0650d5502e
DOC adding backlinks to docstrings
2015-06-03 00:24:04 -04:00
Gael Varoquaux
01aff46402
Merge pull request #4347 from amueller/class_weight_auto
...
[MRG+1] Use more natural class_weight="auto" heuristic
2015-06-01 16:15:37 -04:00
Andreas Mueller
eedc1cddab
Use more natural class_weight="auto" heuristic
2015-06-01 12:49:53 -04:00
Andreas Mueller
a8626b36a6
TST/COSMIT remove nose call boilerplate
2015-05-28 14:54:01 -04:00
Arnaud Joly
64e553398b
DOC document missing attributes
2015-05-12 15:00:38 +02:00
trevorstephens
271849953f
Pretty decision trees
2015-05-09 17:06:07 -07:00