Commit Graph

71 Commits

Author SHA1 Message Date
Gilles Louppe 34cdc4e222 FIX: prevent early stopping in tree construction (2) + Test 2012-10-22 15:36:36 +02:00
Andreas Mueller c50fa29627 COSMIT pep8 2012-07-20 22:41:01 +01:00
Gilles Louppe a29897d96e Merge branch 'master' of github.com:scikit-learn/scikit-learn into tree-speedup
Conflicts:
	sklearn/tree/tree.py
2012-07-11 18:52:44 +02:00
Gilles Louppe 1e5aac8159 Tree refactoring (10) 2012-07-11 18:44:15 +02:00
Gilles Louppe 30f62f2d70 Tree refactoring (9) 2012-07-11 16:46:30 +02:00
Gilles Louppe a868024efa Tree refactoring (7) 2012-07-11 15:52:32 +02:00
Gilles Louppe db9cb785d6 Tree refactoring (6) 2012-07-11 14:22:14 +02:00
John Benediktsson 6c3f16d084 tree: check length of sample_mask and X_argsorted. 2012-07-11 07:50:21 +02:00
Gilles Louppe e122dc0f88 Tree refactoring (1) 2012-07-10 11:55:38 +02:00
Gilles Louppe 0cae649a65 ENH: graphviz 2012-07-02 13:20:27 +02:00
Gilles Louppe 9f7a0dd2f6 PEP8 2012-07-02 12:11:27 +02:00
Gilles Louppe b4131f9ed1 FIX: log_proba + DOC 2012-07-02 11:51:50 +02:00
Gilles Louppe 7b6ef37d01 TEST: test_multioutput 2012-07-02 11:16:18 +02:00
Gilles Louppe 6cf4d26134 TEST: test_multioutput 2012-07-02 09:56:24 +02:00
Gilles Louppe afacf44383 TEST: test_multioutput (1) 2012-06-29 15:16:50 +02:00
Gilles Louppe be8ea69e13 FIX: test_classification_toy 2012-06-29 14:16:33 +02:00
Gilles Louppe 74bf03c0f0 FIX: graphviz test 2012-06-29 13:46:53 +02:00
Gilles Louppe eac35cc47f ENH: Multi-output decision trees
ENH: MultiOuputTree (wip)

ENH: MultiOutputTree (wip)

ENH: MultiOutputTree (wip)

ENH: MultiOutputTree (wip)

ENH: MultiOutputTree (wip)

ENH: MultiOutputTree (wip)
2012-06-29 12:43:31 +02:00
Andreas Mueller 5a2681c33b Merge pull request #707 from amueller/graphviz_dot_refactoring
MRG Graphviz dot refactoring
2012-03-25 07:50:07 -07:00
Andreas Mueller d07f946368 FIXed nosetests. Thanks @pprett 2012-03-25 11:44:41 +02:00
Andreas Mueller dbaabfac25 ENH refactoring of dot-file export 2012-03-18 17:10:42 +01:00
Peter Prettenhofer 73320c4545 Merge branch 'master' into gradient_boosting
Conflicts:
	doc/modules/ensemble.rst
	sklearn/ensemble/tests/test_forest.py
	sklearn/tree/_tree.c
	sklearn/tree/tree.py
2012-03-03 11:40:01 +01:00
Andreas Mueller 00831544b7 COSMIT pep8 + "leafs" typo. 2012-02-16 11:29:52 +01:00
Andreas Mueller 49462943cb MISC renamed min_split and min_leaf to min_samples_split, min_samples_leaf, added them to the ensemble classifiers and documented them.... 2012-02-15 23:38:11 +01:00
Andreas Mueller 5d40322af0 ENH added test for "min_leaf" 2012-02-14 11:36:06 +01:00
Andreas Mueller 9e8a904530 MISC decision tree test faster and no warning 2012-02-10 22:13:07 +01:00
Peter Prettenhofer e52da1e7a5 removed feature_importances_ property in tree module 2012-01-09 22:03:21 +01:00
Peter Prettenhofer c057dabed4 eliminate `compute_importances` fit parameter - make `feature_importances_` a property that will be computed on demand. 2012-01-06 18:00:33 +01:00
Gilles Louppe 64ea90b727 TEST: Added tests of max_features values 2012-01-03 10:21:18 +01:00
Gilles Louppe 124594da8e ENH: Better default values to trees and forests 2012-01-03 10:11:52 +01:00
Gilles Louppe eb760c2598 ENH: Smart thresholds 2011-12-28 19:16:26 +01:00
Gilles Louppe 951dffe278 DOC: Tree-based feature selection 2011-12-28 15:54:24 +01:00
Gilles Louppe 2f5b368eec TEST: Added tests of transform 2011-12-28 15:29:22 +01:00
Gilles Louppe 6707fecb0a ENH: Revisited importances API 2011-12-27 17:44:04 +01:00
Gilles Louppe 7980067e1e TEST: Added test on feature importances 2011-12-19 12:33:44 +01:00
Andreas Mueller 1955ffdba4 COSMIT some pep8 2011-11-28 23:39:46 +01:00
Gilles Louppe d434ed4670 TEST: Improved test coverage 2011-11-16 19:59:25 +01:00
Gilles Louppe b7df59fe2d Merge remote-tracking branch 'origin/master' into tree
Conflicts:
	sklearn/tree/_tree.c
	sklearn/tree/tree.py
2011-11-08 11:21:31 +01:00
Gilles Louppe 38f13095e6 Cosmit 2011-11-07 12:57:18 +01:00
Gilles Louppe ce7e0094f2 Added some tests 2011-11-07 11:15:50 +01:00
Gilles Louppe 0fa97be476 Added documentation in the forest module (work in progress) 2011-11-04 16:53:20 +01:00
Gilles Louppe 94f67f0d05 Added some tests 2011-11-04 13:08:01 +01:00
Gilles Louppe eab58773c6 Simplified tree module API.
Among other changes, the max_features parameter has been removed. It will be properly reincluded later when building randomized trees.
2011-11-01 14:22:31 +01: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
Gilles Louppe 8a2c1662b7 Added a numerical stability test to decision trees 2011-10-09 11:18:36 +02:00
Brian Holt edfcd5d6ec modified threshold comparison from < to <= 2011-10-04 13:32:07 +01:00
Gilles Louppe bc45db950c COSMIT: GraphViz exporter cleaned up 2011-09-26 14:27:31 +02:00
Brian Holt c5ad2c5aa5 rewrote GraphvizExporter into a function export_graphviz 2011-09-26 10:57:39 +01:00
Gael varoquaux 2f1ce85beb COSMIT: y is a vector, not a matrix
By convention, matrices are capitalized, but not vectors.
2011-09-25 18:59:29 +02:00
Gael varoquaux 7addd70153 ENH: move parameter checking to fit
Parameters can be changed after the __init__
2011-09-25 18:57:49 +02:00