Skip to content

Commit ceb5319

Browse files
committed
feat: add optimization package
1 parent d143fa4 commit ceb5319

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ require(['path/to/ml/dist/ml.min'], function (ML) {
6969
* Matrix: [`ML.Matrix`](https://github.com/mljs/matrix)
7070
* Sparse matrix: [`ML.SparseMatrix`](https://github.com/mljs/sparse-matrix)
7171
* Kernels: [`ML.Kernel`](https://github.com/mljs/kernel)
72+
* optimization: [`ML.Optimization`](https://github.com/mljs/optimization)
7273
* Stat: [`ML.Stat`](https://github.com/mljs/stat)
7374
* Array: `ML.Stat.array`
7475
* Matrix: `ML.Stat.matrix`

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
"dependencies": {
3232
"ml-array-utils": "^0.2.4",
3333
"ml-bit-array": "^1.0.0",
34+
"ml-cross-validation": "^1.0.1",
35+
"ml-curve-fitting": "^0.0.6",
3436
"ml-distance": "^2.1.1",
3537
"ml-fnn": "^2.1.0",
3638
"ml-hash-table": "^0.2.0",
@@ -40,6 +42,7 @@
4042
"ml-knn": "^1.0.0",
4143
"ml-matrix": "^1.1.5",
4244
"ml-naivebayes": "^1.0.1",
45+
"ml-optimize-lorentzian": "^0.1.3",
4346
"ml-pad-array": "^1.0.0",
4447
"ml-pca": "^1.1.1",
4548
"ml-performance": "^0.2.0",
@@ -51,9 +54,7 @@
5154
"ml-stat": "^1.1.0",
5255
"ml-svm": "^2.1.1",
5356
"ml-xsadd": "^1.0.0",
54-
"ml-optimize-lorentzian": "^0.1.3",
55-
"ml-curve-fitting": "^0.0.6",
56-
"ml-cross-validation": "^1.0.1"
57+
"optimization": "0.0.1"
5758
},
5859
"devDependencies": {
5960
"cheminfo-tools": "^1.0.1"

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Math.SparseMatrix = require('ml-sparse-matrix');
2121
Math.BellOptimizer = require('ml-optimize-lorentzian');
2222
Math.CurveFitting = require('ml-curve-fitting');
2323
Math.Kernel = require('ml-kernel');
24+
Math.Optimization = require('optimization');
2425

2526

2627
// Statistics packages
@@ -60,4 +61,3 @@ var NN = exports.NN = exports.nn = {};
6061

6162
NN.SOM = require('ml-som');
6263
NN.FNN = require('ml-fnn');
63-

0 commit comments

Comments
 (0)