File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ require(['path/to/ml/dist/ml.min'], function (ML) {
5959 * Array Utils: [ ` ML.ArrayUtils ` ] ( https://github.com/mljs/array-utils )
6060 * Bit array operations: [ ` ML.BitArray ` ] ( https://github.com/mljs/bit-array )
6161 * Hash table: [ ` ML.HashTable ` ] ( https://github.com/mljs/hash-table )
62- * Matrix: [ ` ML.Matrix ` ] ( https://github.com/mljs/matrix )
62+ * Matrix: [ ` ML.Matrix ` ] ( https://github.com/mljs/matrix ) (Matrix class)
6363 * Pad array: [ ` ML.PadArray ` ] ( https://github.com/mljs/pad-array )
6464 * Regression: [ ` ML.Regression ` ] ( https://github.com/mljs/regression )
6565 * Binary search: [ ` ML.binarySearch ` ] ( https://github.com/darkskyapp/binary-search )
@@ -70,7 +70,7 @@ require(['path/to/ml/dist/ml.min'], function (ML) {
7070 * DistanceMatrix: [ ` ML.Math.DistanceMatrix ` ] ( https://github.com/mljs/distance-matrix )
7171 * Savitzky-Golay filter: [ ` ML.Math.SG ` ] ( https://github.com/mljs/savitzky-golay )
7272 * Savitzky-Golay generalized: [ ` ML.Math.SGG ` ] ( https://github.com/mljs/savitzky-golay-generalized )
73- * Matrix: [ ` ML.Math.Matrix ` ] ( https://github.com/mljs/matrix ) (alias of ` ML.Matrix ` )
73+ * Matrix: [ ` ML.Math.Matrix ` ] ( https://github.com/mljs/matrix ) (All exports of the ` ml-matrix ` package )
7474 * Sparse matrix: [ ` ML.Math.SparseMatrix ` ] ( https://github.com/mljs/sparse-matrix )
7575 * Kernels: [ ` ML.Math.Kernel ` ] ( https://github.com/mljs/kernel )
7676* Stat: [ ` ML.Stat ` ] ( https://github.com/mljs/stat )
Original file line number Diff line number Diff line change 11'use strict' ;
22
3+ const Matrix = require ( 'ml-matrix' ) ;
4+
35// Root packages
46exports . ArrayUtils = exports . AU = require ( 'ml-array-utils' ) ;
57exports . BitArray = require ( 'ml-bit-array' ) ;
68exports . HashTable = require ( 'ml-hash-table' ) ;
7- exports . Matrix = require ( 'ml-matrix' ) . default ;
9+ exports . Matrix = Matrix . default ;
810exports . PadArray = require ( 'ml-pad-array' ) ;
911exports . Regression = require ( 'ml-regression' ) ;
1012exports . binarySearch = require ( 'binary-search' ) ;
@@ -20,7 +22,7 @@ Math.Similarity = distance.similarity;
2022Math . DistanceMatrix = require ( 'ml-distance-matrix' ) ;
2123Math . SG = require ( 'ml-savitzky-golay' ) ;
2224Math . SGG = require ( 'ml-savitzky-golay-generalized' ) ;
23- Math . Matrix = exports . Matrix ;
25+ Math . Matrix = Matrix ;
2426Math . SparseMatrix = require ( 'ml-sparse-matrix' ) ;
2527Math . Kernel = require ( 'ml-kernel' ) ;
2628
You can’t perform that action at this time.
0 commit comments