public class PotentialFunctionCombiner extends Object implements DecisionBoundaryCombiner, Serializable, weka.core.OptionHandler
Constructor and Description |
---|
PotentialFunctionCombiner() |
Modifier and Type | Method and Description |
---|---|
double |
getClass(weka.core.Instance inst)
Get combined decision of the boundaries (class value)
|
int |
getDecision(weka.core.Instance inst)
Get combined decision of the boundaries (class index)
|
String[] |
getOptions() |
PotentialFunction |
getPotential() |
Enumeration<weka.core.Option> |
listOptions() |
void |
setBoundaries(DecisionBoundaries boundaries)
Sets the boundaries to combine
|
void |
setOptions(String[] options) |
void |
setPotential(PotentialFunction potential) |
public int getDecision(weka.core.Instance inst) throws Exception
DecisionBoundaryCombiner
getDecision
in interface DecisionBoundaryCombiner
Exception
public void setBoundaries(DecisionBoundaries boundaries) throws Exception
DecisionBoundaryCombiner
setBoundaries
in interface DecisionBoundaryCombiner
Exception
public PotentialFunction getPotential()
public void setPotential(PotentialFunction potential)
potential
- the potential to setpublic double getClass(weka.core.Instance inst) throws Exception
DecisionBoundaryCombiner
getClass
in interface DecisionBoundaryCombiner
Exception
public Enumeration<weka.core.Option> listOptions()
listOptions
in interface weka.core.OptionHandler
public void setOptions(String[] options) throws Exception
setOptions
in interface weka.core.OptionHandler
Exception
public String[] getOptions()
getOptions
in interface weka.core.OptionHandler
Copyright © 2018. All Rights Reserved.