1
0
mirror of https://github.com/sjwhitworth/golearn.git synced 2025-05-01 22:18:10 +08:00

19 Commits

Author SHA1 Message Date
Eli Davis
0ae13fe821
Example now pulls from correct filepath for dataset 2021-10-05 13:17:23 -06:00
Ayush
e3a09cfa34 File paths 2020-09-08 14:55:47 +05:30
Ayush
5a66fb940f Adding Example Script 2020-08-27 18:00:37 +05:30
Ayush
452acbabb3 Adding Isolation + Fixing previous import issue 2020-08-24 14:26:45 +05:30
Ayush
e55a329d8a Fixing Bug 2020-08-01 15:32:59 +05:30
Ayush
8ae385ca25 Complexity Analysis for Algorithm 2020-08-01 13:16:34 +05:30
Ayush
9d1ac82a40 Optimizing Loss Calculation 2020-08-01 11:25:53 +05:30
Ayush
7276108661 Adding Documentation
Comparision in performance and implementation with sklearn.
2020-07-30 11:48:50 +05:30
Ayush
91a27e3ca0 Fixing Comments 2020-07-27 15:03:12 +05:30
Ayush
b16b60fcb5 Adding Example script for CART 2020-07-23 16:45:31 +05:30
Yi-Hsien Chen
e17aa8deb6 fix bug of tree.Fit( testData ).
change testData to trainData
2017-03-23 11:42:07 -05:00
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
529b3bcaa5 Avoid renaming packages on import 2014-08-22 13:39:29 +00:00
Amit Kumar Gupta
947ee8380e Return error instead of panicking when unable to get confusion matrix 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
a9028b8174 examples: merge from v2-instances 2014-08-03 15:16:58 +01:00
Remo Hertig
f77c1dcde0 use multiple return values instead of an array in InstancesTrainTestSplit 2014-06-06 21:33:17 +02:00
Richard Townsend
889fec4419 Examples for RandomForest, ID3 and Random trees 2014-05-19 12:42:03 +01:00