Skip to content

Commit 2a6d349

Browse files
committed
feat(binary-search): add v1.1.0 of binary search algorithm
1 parent c529519 commit 2a6d349

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ Machine learning tools
99

1010
## Introduction
1111

12-
This library is a compilation of the tools developed in the [mljs](https://github.com/mljs) organization.
12+
This library is a compilation of the tools developed in the [mljs](https://github.com/mljs) organization.
1313
It is mainly maintained for use in the browser. If you are working with Node.js, you might prefer to add
14-
to your dependencies only the libraries that you need, as they are usually published to npm more often.
14+
to your dependencies only the libraries that you need, as they are usually published to npm more often.
1515
We prefix all our npm package names with `ml-` (eg. ml-matrix) so they are easy to find.
1616

1717
## Installation
@@ -62,6 +62,7 @@ require(['path/to/ml/dist/ml.min'], function (ML) {
6262
* Matrix: [`ML.Matrix`](https://github.com/mljs/matrix)
6363
* Pad array: [`ML.PadArray`](https://github.com/mljs/pad-array)
6464
* Regression: [`ML.Regression`](https://github.com/mljs/regression)
65+
* Binary search: [`ML.BinarySearch`](https://github.com/mljs/binary-search)
6566
* Math: `ML.Math`
6667
* Distance: [`ML.Math.Distance`](https://github.com/mljs/distance)
6768
* Similarity: [`ML.Math.Similarity`](https://github.com/mljs/distance)

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"homepage": "https://github.com/mljs/ml",
3131
"dependencies": {
3232
"ml-array-utils": "^0.2.4",
33+
"ml-binary-search": "^1.1.0",
3334
"ml-bit-array": "^1.0.0",
3435
"ml-cross-validation": "^1.0.1",
3536
"ml-curve-fitting": "^0.0.7",

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ exports.HashTable = require('ml-hash-table');
77
exports.Matrix = require('ml-matrix');
88
exports.PadArray = require('ml-pad-array');
99
exports.Regression = require('ml-regression');
10+
exports.BinarySearch = require('ml-binary-search');
1011

1112

1213
// Math packages

0 commit comments

Comments
 (0)