Package com.bayesserver.data.discovery
Class VariableGeneratorOptions
- java.lang.Object
-
- com.bayesserver.data.discovery.VariableGeneratorOptions
-
public final class VariableGeneratorOptions extends Object
Options that affect the generation of variables from data.
-
-
Constructor Summary
Constructors Constructor Description VariableGeneratorOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAutoDetectDiscreteLimit()
Gets the distinct value count, which when exceeded changes a variable from discrete to continuous.Cancellation
getCancellation()
Gets of sets an instance implementingCancellation
, used for cancellation.DataProgress
getDataProgress()
Reports progress on the number of cases read.boolean
getDetectIntegralFloats()
Gets a value, which when true tests floating point column data to see if the data is an integral type, which would then become a candidate to be a discrete variable when VariableValueType is not specified.VariableGeneratorProgress
getProgress()
Gets of sets the instance implementingVariableGeneratorProgress
, used for progress notifications.String
getWeightColumn()
Gets the name of a column which contains a weight (support) for each case.void
setAutoDetectDiscreteLimit(int value)
Sets the distinct value count, which when exceeded changes a variable from discrete to continuous.void
setCancellation(Cancellation value)
Gets of sets an instance implementingCancellation
, used for cancellation.void
setDataProgress(DataProgress value)
Reports progress on the number of cases read.void
setDetectIntegralFloats(boolean value)
Sets a value, which when true tests floating point column data to see if the data is an integral type, which would then become a candidate to be a discrete variable when VariableValueType is not specified.void
setProgress(VariableGeneratorProgress value)
Gets of sets the instance implementingVariableGeneratorProgress
, used for progress notifications.void
setWeightColumn(String value)
Sets the name of a column which contains a weight (support) for each case.
-
-
-
Method Detail
-
getDataProgress
public DataProgress getDataProgress()
Reports progress on the number of cases read.
-
setDataProgress
public void setDataProgress(DataProgress value)
Reports progress on the number of cases read.
-
getCancellation
public Cancellation getCancellation()
Gets of sets an instance implementingCancellation
, used for cancellation.- See Also:
Cancellation
-
setCancellation
public void setCancellation(Cancellation value)
Gets of sets an instance implementingCancellation
, used for cancellation.- See Also:
Cancellation
-
getProgress
public VariableGeneratorProgress getProgress()
Gets of sets the instance implementingVariableGeneratorProgress
, used for progress notifications.
-
setProgress
public void setProgress(VariableGeneratorProgress value)
Gets of sets the instance implementingVariableGeneratorProgress
, used for progress notifications.
-
getDetectIntegralFloats
public boolean getDetectIntegralFloats()
Gets a value, which when true tests floating point column data to see if the data is an integral type, which would then become a candidate to be a discrete variable when VariableValueType is not specified.
-
setDetectIntegralFloats
public void setDetectIntegralFloats(boolean value)
Sets a value, which when true tests floating point column data to see if the data is an integral type, which would then become a candidate to be a discrete variable when VariableValueType is not specified.
-
getAutoDetectDiscreteLimit
public int getAutoDetectDiscreteLimit()
Gets the distinct value count, which when exceeded changes a variable from discrete to continuous. This only applies when the variable's value type is undefined..
-
setAutoDetectDiscreteLimit
public void setAutoDetectDiscreteLimit(int value)
Sets the distinct value count, which when exceeded changes a variable from discrete to continuous. This only applies when the variable's value type is undefined..
-
getWeightColumn
public String getWeightColumn()
Gets the name of a column which contains a weight (support) for each case. A weight is a positive numeric value, which is often an integer value which indicates the number of duplicates for a case, but could also be a numeric value such as a probability.
-
setWeightColumn
public void setWeightColumn(String value)
Sets the name of a column which contains a weight (support) for each case. A weight is a positive numeric value, which is often an integer value which indicates the number of duplicates for a case, but could also be a numeric value such as a probability.
-
-