Class PotentialFunctionCombiner
- java.lang.Object
-
- weka.classifiers.functions.explicitboundaries.combiners.PotentialFunctionCombiner
-
- All Implemented Interfaces:
Serializable
,DecisionBoundaryCombiner
,weka.core.OptionHandler
public class PotentialFunctionCombiner extends Object implements DecisionBoundaryCombiner, Serializable, weka.core.OptionHandler
- Since:
- 1.1.1
- Version:
- 2.1.3
- Author:
- pawel trajdos
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PotentialFunctionCombiner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
PotentialCombiner
getPotCombiner()
PotentialFunction
getPotential()
Enumeration<weka.core.Option>
listOptions()
void
setBoundaries(DecisionBoundaries boundaries)
Sets the boundaries to combinevoid
setOptions(String[] options)
void
setPotCombiner(PotentialCombiner potCombiner)
void
setPotential(PotentialFunction potential)
-
-
-
Method Detail
-
getDecision
public int getDecision(weka.core.Instance inst) throws Exception
Description copied from interface:DecisionBoundaryCombiner
Get combined decision of the boundaries (class index)- Specified by:
getDecision
in interfaceDecisionBoundaryCombiner
- Returns:
- Throws:
Exception
-
setBoundaries
public void setBoundaries(DecisionBoundaries boundaries) throws Exception
Description copied from interface:DecisionBoundaryCombiner
Sets the boundaries to combine- Specified by:
setBoundaries
in interfaceDecisionBoundaryCombiner
- Throws:
Exception
-
getPotential
public PotentialFunction getPotential()
- Returns:
- the potential
-
setPotential
public void setPotential(PotentialFunction potential)
- Parameters:
potential
- the potential to set
-
getClass
public double getClass(weka.core.Instance inst) throws Exception
Description copied from interface:DecisionBoundaryCombiner
Get combined decision of the boundaries (class value)- Specified by:
getClass
in interfaceDecisionBoundaryCombiner
- Returns:
- Throws:
Exception
-
listOptions
public Enumeration<weka.core.Option> listOptions()
- Specified by:
listOptions
in interfaceweka.core.OptionHandler
-
setOptions
public void setOptions(String[] options) throws Exception
- Specified by:
setOptions
in interfaceweka.core.OptionHandler
- Throws:
Exception
-
getOptions
public String[] getOptions()
- Specified by:
getOptions
in interfaceweka.core.OptionHandler
-
getPotCombiner
public PotentialCombiner getPotCombiner()
- Returns:
- the potCombiner
-
setPotCombiner
public void setPotCombiner(PotentialCombiner potCombiner)
- Parameters:
potCombiner
- the potCombiner to set
-
-