public class DiscreteToContinuousModifier extends BaseDatasetModifier
If dataset is a MultiPropertyDataset and you are using a property as the class variable, this modifier will store result as a new property.
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
ClassName
Name of class for which to compute probability.
|
| Constructor and Description |
|---|
DiscreteToContinuousModifier() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyDataset(Dataset data,
int index)
Run modification on Datasets
|
protected void |
applyMultiPropertyDataset(MultiPropertyDataset data,
int index)
Run modification on MultiPropertyDatasets
|
protected void |
modifyDataset(Dataset data)
Apply changes to the Dataset.
|
java.lang.String |
printUsage()
Print out required format for options.
|
void |
setClassName(java.lang.String className)
Set name of class for which to compute probability.
|
void |
setOptions(java.util.List<java.lang.Object> Options)
Set any options for this object.
|
transformprotected java.lang.String ClassName
public void setOptions(java.util.List<java.lang.Object> Options)
throws java.lang.Exception
OptionsOptions - Array of options as Objects - can be nulljava.lang.Exception - if problem with inputspublic java.lang.String printUsage()
Optionspublic void setClassName(java.lang.String className)
className - protected void modifyDataset(Dataset data)
BaseDatasetModifiermodifyDataset in class BaseDatasetModifierdata - Dataset to be modifiedprotected void applyMultiPropertyDataset(MultiPropertyDataset data, int index)
data - Dataset to be transformedindex - Index of class being assessed