Package com.bayesserver.data.discovery
Class DiscretizationOptions
- java.lang.Object
-
- com.bayesserver.data.discovery.DiscretizationOptions
-
public class DiscretizationOptions extends Object
Options that determine whether and how continuous data should be discretized.
-
-
Constructor Summary
Constructors Constructor Description DiscretizationOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getInfiniteExtremes()
Gets a value indicating whether the first and last intervals extend to negative and positive infinity respectively.int
getSuggestedBinCount()
Gets the number of suggested bins to use during discretization.void
setInfiniteExtremes(boolean value)
Sets a value indicating whether the first and last intervals extend to negative and positive infinity respectively.void
setSuggestedBinCount(int value)
Sets the number of suggested bins to use during discretization.String
toString()
-
-
-
Method Detail
-
getInfiniteExtremes
public boolean getInfiniteExtremes()
Gets a value indicating whether the first and last intervals extend to negative and positive infinity respectively.
-
setInfiniteExtremes
public void setInfiniteExtremes(boolean value)
Sets a value indicating whether the first and last intervals extend to negative and positive infinity respectively.
-
getSuggestedBinCount
public int getSuggestedBinCount()
Gets the number of suggested bins to use during discretization. The actual number of bins may be lower than the suggested bin count, if there is insufficient data.
-
setSuggestedBinCount
public void setSuggestedBinCount(int value)
Sets the number of suggested bins to use during discretization. The actual number of bins may be lower than the suggested bin count, if there is insufficient data.
-
-