public class KMeansDiscretizer extends Object implements AttributeValueDiscretizer, Serializable
| Constructor and Description |
|---|
KMeansDiscretizer() |
| Modifier and Type | Method and Description |
|---|---|
void |
copy(KMeansDiscretizer that) |
int |
discretize(double value,
String columnName) |
void |
fit(DataFrame frame) |
DataFrame |
fitAndTransform(DataFrame frame) |
KMeansDiscretizer |
makeCopy() |
DataRow |
transform(DataRow tuple) |
public void copy(KMeansDiscretizer that)
public KMeansDiscretizer makeCopy()
public int discretize(double value,
String columnName)
discretize in interface AttributeValueDiscretizerpublic DataRow transform(DataRow tuple)
transform in interface AttributeValueDiscretizerpublic DataFrame fitAndTransform(DataFrame frame)
fitAndTransform in interface AttributeValueDiscretizerpublic void fit(DataFrame frame)
Copyright © 2017. All rights reserved.