[Pkg-javascript-commits] [science.js] 81/87: Fix default hcluster linkage.
bhuvan krishna
bhuvan-guest at moszumanska.debian.org
Thu Dec 8 06:12:05 UTC 2016
This is an automated email from the git hooks/post-receive script.
bhuvan-guest pushed a commit to branch master
in repository science.js.
commit 6fe31cdbed929a97b7f713eaef5cb817e0893410
Author: Jason Davies <jason at jasondavies.com>
Date: Sat Mar 7 16:01:51 2015 +0000
Fix default hcluster linkage.
Fixes #16.
---
package.json | 2 +-
science.v1.js | 2 +-
science.v1.min.js | 2 +-
src/stats/hcluster.js | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/package.json b/package.json
index 73b4b2f..bec3848 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "science",
- "version": "1.9.1",
+ "version": "1.9.2",
"description": "Scientific and statistical computing in JavaScript.",
"keywords": [
"science",
diff --git a/science.v1.js b/science.v1.js
index f39f1ff..e77c98d 100644
--- a/science.v1.js
+++ b/science.v1.js
@@ -1290,7 +1290,7 @@ function science_stats_kmeansRandom(k, vectors) {
}
science.stats.hcluster = function() {
var distance = science.stats.distance.euclidean,
- linkage = "simple"; // simple, complete or average
+ linkage = "single"; // single, complete or average
function hcluster(vectors) {
var n = vectors.length,
diff --git a/science.v1.min.js b/science.v1.min.js
index 274a1c9..eddc272 100644
--- a/science.v1.min.js
+++ b/science.v1.min.js
@@ -1 +1 @@
-(function(a){(function(a){science={version:"1.9.1"},science.ascending=function(a,b){return a-b},science.EULER=.5772156649015329,science.expm1=function(a){return a<1e-5&&a>-0.00001?a+.5*a*a:Math.exp(a)-1},science.functor=function(a){return typeof a=="function"?a:function(){return a}},science.hypot=function(a,b){a=Math.abs(a),b=Math.abs(b);var c,d;a>b?(c=a,d=b):(c=b,d=a);var e=d/c;return c*Math.sqrt(1+e*e)},science.quadratic=function(){function b(b,c,d){var e=c*c-4*b*d;return e>0?(e=Math.s [...]
\ No newline at end of file
+(function(a){(function(a){science={version:"1.9.1"},science.ascending=function(a,b){return a-b},science.EULER=.5772156649015329,science.expm1=function(a){return a<1e-5&&a>-0.00001?a+.5*a*a:Math.exp(a)-1},science.functor=function(a){return typeof a=="function"?a:function(){return a}},science.hypot=function(a,b){a=Math.abs(a),b=Math.abs(b);var c,d;a>b?(c=a,d=b):(c=b,d=a);var e=d/c;return c*Math.sqrt(1+e*e)},science.quadratic=function(){function b(b,c,d){var e=c*c-4*b*d;return e>0?(e=Math.s [...]
\ No newline at end of file
diff --git a/src/stats/hcluster.js b/src/stats/hcluster.js
index fb7d05b..af3c1a6 100644
--- a/src/stats/hcluster.js
+++ b/src/stats/hcluster.js
@@ -1,6 +1,6 @@
science.stats.hcluster = function() {
var distance = science.stats.distance.euclidean,
- linkage = "simple"; // simple, complete or average
+ linkage = "single"; // single, complete or average
function hcluster(vectors) {
var n = vectors.length,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/science.js.git
More information about the Pkg-javascript-commits
mailing list