Gilles Louppe
44d81a0ec3
FIX: add except* in Splitter.init definitions
2015-02-23 08:19:10 +01:00
trevorstephens
f75c98b872
refactor forests & trees class_weight calc
2015-01-31 18:27:29 -08:00
Andreas Mueller
c970fb51e7
COSMIT spelling
2015-01-15 15:09:35 -05:00
trevorstephens
35c2535bfc
rename cw option to subsample & refactor its implementation
2015-01-12 21:27:13 -08:00
trevorstephens
b541191754
Merge branch 'master' into rf-class_weight
...
Conflicts:
doc/whats_new.rst
sklearn/ensemble/forest.py
sklearn/tree/tree.py
2015-01-12 19:15:21 -08:00
Raghav R V
abd31d2cad
MAINT Make uniform the error raised for not fitted condition
2015-01-12 00:33:40 +05:30
trevorstephens
cad87b578c
rename vars & copy sample_weight
2015-01-10 11:49:42 -08:00
trevorstephens
9c7566e5df
Merge branch 'master' into rf-class_weight
...
Conflicts:
doc/whats_new.rst
2015-01-08 07:56:19 -08:00
trevorstephens
ac9ab961bb
Y-org rename & whats_new update
2015-01-08 02:31:24 -08:00
Raghav R V
88555987cc
PEP8 Fix E101, E111 errors and W191, W293, W293 and W391 warnings.
2015-01-08 04:28:24 +05:30
trevorstephens
2b24ccefa0
parameter validation checks & tests for errors
2015-01-03 13:15:42 -08:00
akshayah3
e77aac8e58
Documentation of max depth parameter
...
Changed the docstring
Few docstring changes
2014-12-29 20:04:25 +05:30
trevorstephens
085d677ea2
add class_weight to trees, expand tests & minor refactor
2014-12-22 16:50:58 -08: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
089d2f7779
TST add a toy test for min_weight_samples_leaf
2014-11-26 11:03:37 +01:00
Arnaud Joly
c95703a4b0
FIX unlikely pickling error of splitters
2014-11-26 11:03:37 +01:00
Olivier Grisel
8621f00f6f
Merge pull request #3173 from arjoly/sparse-tree
...
[MRG] Sparse input support for decision tree and forest
2014-11-21 10:10:33 +01:00
Arnaud Joly
ab57964f74
COSMIT add Base prefix to DenseSplitter and DenseSplitter
2014-11-17 10:27:44 +01:00
Andreas Mueller
2fe9da701d
DOC Add note about sample weights in export_graphviz.
2014-11-06 10:23:45 -05: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
2181f7c3ec
TST more robust test for MemoryError from Tree._resize
...
Fixes #3686 .
2014-09-22 16:59:04 +02: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
Joel Nothman
b3bdb08964
DOC fix formatting of attributes etc. in docstrings
2014-07-28 19:04:59 +10:00
Lars Buitinck
56057c9630
MAINT remove deprecated code
2014-07-23 16:19:40 +02:00
Lars Buitinck
2fca6ce244
MAINT remove deprecated code from trees and forests
2014-07-22 15:52:48 +02:00
Andreas Mueller
6e2a83b4e1
remove check_arrays stuff and old input validation
2014-07-20 13:31:45 +02: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
Arnaud Joly
c73c9a1c8b
MAINT Re-order argument to put deprecated one at the end
2014-07-12 16:33:28 +02:00
Noel Dawe
79d965afcc
min_weight_fraction: comments and pep8
2014-07-02 11:47:32 +02:00
Noel Dawe
39f831d466
utils.testing: add assert_greater_equal and assert_less_equal
2014-07-02 11:47:32 +02:00