Class Discretizer.Discretization
java.lang.Object
edu.cmu.tetrad.data.Discretizer.Discretization
- Enclosing class:
Discretizer
A discretization specification for a continuous variable.
- Version:
- $Id: $Id
- Author:
- josephramsey, Tyler Gibson
-
Method Summary
Modifier and TypeMethodDescriptionfinal int[]getData()Retrieves the data associated with the discretization.final DiscreteVariableRetrieves the variable associated with the object.final StringtoString()Returns a string representation of the Discretization object.
-
Method Details
-
getVariable
Retrieves the variable associated with the object.- Returns:
- the variable associated with the object
-
getData
public final int[] getData()Retrieves the data associated with the discretization.- Returns:
- the discretized data as an array of integers
-
toString
-