public class EMClustering extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
clusterCount |
protected double[][] |
clusters |
protected double[][] |
expectactionMatrix |
protected double |
sigma0 |
| Constructor and Description |
|---|
EMClustering() |
| Modifier and Type | Method and Description |
|---|---|
double |
calcExpectation(com.github.chen0040.data.frame.DataRow tuple,
int clusterIndex) |
com.github.chen0040.data.frame.DataFrame |
fitAndTransform(com.github.chen0040.data.frame.DataFrame batch) |
double |
getDistance(double[] x1,
double[] x2) |
protected double sigma0
protected int clusterCount
protected double[][] expectactionMatrix
protected double[][] clusters
public double getDistance(double[] x1,
double[] x2)
public double calcExpectation(com.github.chen0040.data.frame.DataRow tuple,
int clusterIndex)
public com.github.chen0040.data.frame.DataFrame fitAndTransform(com.github.chen0040.data.frame.DataFrame batch)
Copyright © 2017. All rights reserved.