Arnaud Joly
bc02bd5243
ENH rename decision_paths to decision_path
2015-10-21 17:05:56 +02:00
Arnaud Joly
f6d605ff96
Implement decision path in tree
2015-10-21 17:05:55 +02:00
Jacob Schreiber
02c0029baa
ENH gbt sparse support
2015-09-28 13:44:12 -07: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
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
Arnaud Joly
9612521f27
FIX raises memory error in depth first builder
2015-06-29 09:36:14 +02:00
Ando Saabas
359492536e
Store tree node info for all nodes, instead of just leaves
2015-05-04 14:04:44 +02:00
Gilles Louppe
44d81a0ec3
FIX: add except* in Splitter.init definitions
2015-02-23 08:19:10 +01:00
Arnaud Joly
c1894b5223
FIX explicit initialization of normalizer
2014-11-28 18:58:58 +01:00
Arnaud Joly
fd791ca68b
ENH Release gil in feature importance
2014-11-28 18:33:26 +01:00
Arnaud Joly
c95703a4b0
FIX unlikely pickling error of splitters
2014-11-26 11:03:37 +01:00
Arnaud Joly
ab57964f74
COSMIT add Base prefix to DenseSplitter and DenseSplitter
2014-11-17 10:27:44 +01:00
Arnaud Joly
4f423d6e28
Remove constant print
2014-11-06 14:00:00 +01:00
Arnaud Joly
bf9891683b
Temporarily allows to set algorithm switching through an environment variable
2014-11-06 13:58:34 +01:00
Arnaud Joly
c31d5653b3
wip benchmark
2014-11-06 13:58:34 +01:00
Arnaud Joly
9f3f5bb825
Extract non zero value extraction constant
2014-11-06 13:58:33 +01:00
Arnaud Joly
38183c835f
ENH move utils near its use
2014-11-06 13:58:33 +01:00
Arnaud Joly
3047cd617d
Revert previous version
2014-11-06 13:58:32 +01:00
Arnaud Joly
1c26cec286
ENH expand ternary operator
2014-11-06 13:58:32 +01:00
Arnaud Joly
cb115118fc
COSMIT simplify function call
2014-11-06 13:58:32 +01:00
Arnaud Joly
cb9b741993
cosmit
2014-11-06 13:58:31 +01:00
Arnaud Joly
306924b526
ENH remove spurious code
2014-11-06 13:58:31 +01:00
Arnaud Joly
6cd9333596
FIX min_weight_leaf in best sparse splitter
2014-11-06 13:58:31 +01:00
Arnaud Joly
70226d05d8
FIX min_weight_fraction_split with random splitter
2014-11-06 13:58:30 +01:00
Arnaud Joly
62893e3ef4
ENH reduce number of parameters
2014-11-06 13:58:30 +01:00
Arnaud Joly
9dd87ad3da
ENH while -> for loop
2014-11-06 13:58:29 +01:00
Arnaud Joly
0e86dfd5b0
Simplify call to extract_nnz making it a method
2014-11-06 13:58:29 +01:00
Arnaud Joly
7cb9a5cca1
Re-organize code dense splitter then sparse splitter
2014-11-06 13:58:29 +01:00
Arnaud Joly
0bc8a986d0
FIX+ENH add min_weight_fraction_split support for sparse splitter
2014-11-06 13:58:28 +01:00
Arnaud Joly
c03c01a504
ENH Bring sparse input support to tree-based methods
...
Author: Arnaud Joly <arnaud.v.joly@gmail.com>
Fares Hedayati <fares.hedayati@gmail.com>
2014-11-06 13:58:28 +01:00
Lars Buitinck
5335539d95
FIX propagate MemoryError from Tree._resize
...
Fixes #3684 . "except *" declaration was ignored because it was missing
from the .pxd file.
2014-09-22 14:22:46 +02:00
jnothman
6d8ccbcb98
DOC correct shape of Tree.value
2014-08-14 19:09:21 +10:00
Arnaud Joly
ea66557cdb
ENH improve rand_int and rand_uniform
2014-07-16 16:03:43 +02:00
Lars Buitinck
f7e95277b9
FIX potential overflow in _tree.safe_realloc
...
The multiplication with the sizeof the base type may overflow, esp.
on 32-bit machines with very large datasets, causing the function to
allocate less memory than was intended, without not raising an exception.
2014-07-15 13:49:17 +02:00
Noel Dawe
72b3da8302
tree: use min_weight_leaf internally while exposing min_weight_fraction_leaf
2014-07-02 11:47:32 +02:00
Noel Dawe
7e9c093585
tree: add min_weight_fraction_leaf
2014-07-02 11:47:31 +02:00
Joel Nothman
10507dcaa5
COSMIT factor out split data as struct
2014-06-22 23:55:38 -04:00
Lars Buitinck
65bb024f95
FIX MemoryError raising in trees (+test)
...
I got this wrong all along: Cython functions that don't return Python
objects need an "except" clause to actually propagate exceptions (spotted
by @GaelVaroquaux, @arjoly).
Simplified memory management and unified error messages by safe_realloc.
2014-05-05 19:44:31 +02:00
Arnaud Joly
9a91431db5
FIX raise memory error if constant_feature can't be realloc
2014-04-28 10:44:23 +02:00
Gilles Louppe
efd610d801
ENH: remove unused variables
2014-04-13 20:33:00 +02:00
Gilles Louppe
7ce38f4405
ENH: better API for passing weighted_n_samples
2014-04-12 13:36:16 +02:00
Gilles Louppe
9f0828a044
ENH: renamed things too fast...
2014-04-12 13:28:12 +02:00