File tree Expand file tree Collapse file tree 4 files changed +21
-0
lines changed Expand file tree Collapse file tree 4 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ It will be available as the global `ML` variable. The package is in UMD format a
31
31
* Partial least squares (PLS): [ ` ML.PLS ` ] ( https://github.com/mljs/pls )
32
32
* Cross-validation: [ ` ML.CrossValidation ` ] ( https://github.com/mljs/cross-validation )
33
33
* Confusion matrix: [ ` ML.ConfusionMatrix ` ] ( https://github.com/mljs/confusion-matrix )
34
+ * Decision tree classifier: [ ` ML.DecisionTreeClassifier ` ] ( https://github.com/mljs/decision-tree-cart )
34
35
35
36
### Artificial neural networks (ANN)
36
37
@@ -46,6 +47,7 @@ It will be available as the global `ML` variable. The package is in UMD format a
46
47
* Exponential regression: [ ` ML.ExponentialRegression ` ] ( https://github.com/mljs/regression-exponential )
47
48
* Theil-Sen regression: [ ` ML.TheilSenRegression ` ] ( https://github.com/mljs/regression-theil-sen )
48
49
* Robust polynomial regression: [ ` ML.RobustPolynomialRegression ` ] ( https://github.com/mljs/regression-robust-polynomial )
50
+ * Decision tree regression: [ ` ML.DecisionTreeRegression ` ] ( https://github.com/mljs/decision-tree-cart )
49
51
50
52
### Optimization
51
53
Original file line number Diff line number Diff line change 35
35
"binary-search" : " ^1.3.2" ,
36
36
"ml-array-utils" : " ^0.4.0" ,
37
37
"ml-bit-array" : " ^1.0.0" ,
38
+ "ml-cart" : " ^1.0.8" ,
38
39
"ml-confusion-matrix" : " ^0.3.0" ,
39
40
"ml-cross-validation" : " ^1.1.0" ,
40
41
"ml-distance" : " ^2.1.1" ,
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
+ const mlCart = require ( 'ml-cart' ) ;
4
+
3
5
const ML = exports ;
4
6
5
7
// Try to keep this list in the same structure as the README.
@@ -16,6 +18,7 @@ ML.KNN = require('ml-knn');
16
18
ML . PLS = require ( 'ml-pls' ) ;
17
19
ML . CrossValidation = require ( 'ml-cross-validation' ) ;
18
20
ML . ConfusionMatrix = require ( 'ml-confusion-matrix' ) ;
21
+ ML . DecisionTreeClassifier = mlCart . DecisionTreeClassifier ;
19
22
20
23
// Artificial neural networks
21
24
ML . FNN = require ( 'ml-fnn' ) ;
@@ -30,6 +33,7 @@ ML.PowerRegression = Regression.PowerRegression;
30
33
ML . ExponentialRegression = Regression . ExponentialRegression ;
31
34
ML . TheilSenRegression = Regression . TheilSenRegression ;
32
35
ML . RobustPolynomialRegression = Regression . RobustPolynomialRegression ;
36
+ ML . DesisionTreeRegression = mlCart . DesisionTreeRegression ;
33
37
34
38
// Optimization
35
39
ML . levenbergMarquardt = require ( 'ml-levenberg-marquardt' ) ;
You can’t perform that action at this time.
0 commit comments