gaussianMixture
Advanced tools
Comparing version 0.5.1 to 0.6.0
10
index.js
@@ -176,1 +176,11 @@ 'use strict'; | ||
}; | ||
GMM.fromModel = function (model, options) { | ||
return new GMM( | ||
model.nComponents, | ||
model.weights, | ||
model.means, | ||
model.vars, | ||
options | ||
); | ||
}; |
{ | ||
"name": "gaussianMixture", | ||
"version": "0.5.1", | ||
"version": "0.6.0", | ||
"description": "An implementation of a Gaussian Mixture class in one dimension, that allows to fit models with an Expectation Maximization algorithm.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
18620
324