Skip to content

Commit 18b82cf

Browse files
committed
add ml-svm
1 parent cd7aba2 commit 18b82cf

File tree

5 files changed

+37
-2
lines changed

5 files changed

+37
-2
lines changed

History.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
UNRELEASED
2+
==========
3+
4+
* Add ml.SL.SVM
5+
:arrow_up: matrix v0.0.4
6+
7+
0.2.3 / 2015-04-24
8+
==================
9+
10+
:arrow_up: ml-matrix v0.0.3
11+
112
0.2.2 / 2015-03-16
213
==================
314

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,22 @@ See [ml-distance](https://github.com/mljs/distance)
6868

6969
See [ml-stat](https://github.com/mljs/stat)
7070

71+
### Supervised learning
72+
73+
`ML.SL`
74+
75+
#### Support vector machines
76+
77+
`ML.SL.SVM`
78+
See [ml-svm](https://github.com/mljs/svm)
79+
7180
### Neural networks
7281

7382
`ML.NN`
7483

7584
#### Self-organizing map
7685

77-
`ML.NN.SOM`
86+
`ML.NN.SOM`
7887
See [ml-som](https://github.com/mljs/som)
7988

8089
## License

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
"ml-distance": "1.0.0",
3232
"ml-matrix": "0.0.4",
3333
"ml-som": "0.0.6",
34-
"ml-stat": "1.0.1"
34+
"ml-stat": "1.0.1",
35+
"ml-svm": "1.0.1"
3536
},
3637
"devDependencies": {
3738
"browserify": "^8.1.3",

src/index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ var Stat = exports.Stat = {};
1313
Stat.array = require('ml-stat/array');
1414
Stat.matrix = require('ml-stat/matrix');
1515

16+
/*
17+
Supervised learning
18+
*/
19+
var SL = exports.SL = {};
20+
21+
SL.SVM = require('ml-svm');
22+
1623
/*
1724
Neural networks
1825
*/

test/test.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ describe('ML', function () {
99
'Math',
1010
'Matrix',
1111
'Stat',
12+
'SL',
1213
'NN'
1314
]);
1415
});
@@ -27,6 +28,12 @@ describe('ML', function () {
2728
]);
2829
});
2930

31+
it('check SL', function () {
32+
ML.SL.should.have.properties([
33+
'SVM'
34+
]);
35+
});
36+
3037
it('check NN', function () {
3138
ML.NN.should.have.properties([
3239
'SOM'

0 commit comments

Comments
 (0)