Richard Townsend
7ba57fe6df
trees: Handling FloatAttributes.
...
This patch adds:
* Gini index and information gain ratio as
DecisionTree split options;
* handling for numeric Attributes (split point
chosen naïvely on the basis of maximum entropy);
* A couple of additional utility functions in base/
* A new dataset (see sources.txt) for testing.
Performance on Iris performs markedly without discretisation.
2014-10-26 17:40:38 +00:00
Amit Kumar Gupta
1809a8b358
RandomForest returns error when fitting data with fewer features than the RandomForest plans to use
...
- BaseClassifier Predict and Fit methods return errors
- go fmt ./...
Conflicts:
ensemble/randomforest.go
ensemble/randomforest_test.go
trees/tree_test.go
2014-08-22 13:39:29 +00:00
Amit Kumar Gupta
21bb2fc9fa
Remove redundant import renames
2014-08-22 07:21:24 +00:00
Richard Townsend
c2d040af30
trees: merge from v2-instances
2014-08-03 15:17:13 +01:00
albrow
132e3f4527
Create a new default logger and change some print statements to use the logger instead of fmt.Println.
2014-07-20 15:26:13 -04:00
Niclas Jern
627a5537d3
Comments should be of the form "<Struct> ..." or "<MethodName> ..."
2014-07-18 13:48:28 +03:00
Richard Townsend
a6072ac9de
Package documentation
2014-05-19 12:59:11 +01:00
Richard Townsend
12ace9def5
Identified source of the low accuracy
2014-05-17 20:37:19 +01:00
Richard Townsend
13c0dc3eba
Reduced-error pruning
2014-05-17 18:06:01 +01:00
Richard Townsend
c516907b13
Passes all the tests
2014-05-17 17:35:10 +01:00
Richard Townsend
db3ac3c695
ID3 algorithm working
2014-05-17 17:28:51 +01:00
Richard Townsend
fdb67a4355
Initial work on decision trees
...
Random Forest has occasional disastrous accuracy:
never seen that happen in WEKA
2014-05-14 14:00:22 +01:00