Skip to content

Commit

Permalink
Release v0.11.2
Browse files Browse the repository at this point in the history
  • Loading branch information
cheminfo-bot committed Jun 2, 2016
1 parent 72b224a commit 559696b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ml",
"version": "0.11.1",
"version": "0.11.2",
"main": [
"dist/ml.js",
"dist/ml.min.js"
Expand Down
5 changes: 5 additions & 0 deletions dist/ml.js
Original file line number Diff line number Diff line change
Expand Up @@ -16937,6 +16937,11 @@ return /******/ (function(modules) { // webpackBootstrap
this.means = means;
dataset.subRowVector(means);
if (this.scale) {
for (var i = 0; i < stdevs.length; i++) {
if (stdevs[i] === 0) {
throw new RangeError('Cannot scale the dataset (standard deviation is zero at index ' + i);
}
}
this.stdevs = stdevs;
dataset.divRowVector(stdevs);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ml",
"version": "0.11.1",
"version": "0.11.2",
"description": "Machine learning tools",
"main": "src/index.js",
"scripts": {
Expand Down

0 comments on commit 559696b

Please sign in to comment.