Class MajorityPlaneBoundaryModel
java.lang.Object
weka.classifiers.functions.explicitboundaries.models.MajorityPlaneBoundaryModel
- All Implemented Interfaces:
Serializable
,weka.core.Debuggable
public class MajorityPlaneBoundaryModel
extends Object
implements Serializable, weka.core.Debuggable
- Author:
- pawel
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildDefaultModelPlane
(weka.core.Instances dataset) Builds a default decision boundary if there are instances belonging to only one class.boolean
isDebug()
boolean
void
setDebug
(boolean debug)
-
Constructor Details
-
MajorityPlaneBoundaryModel
public MajorityPlaneBoundaryModel()
-
-
Method Details
-
buildDefaultModelPlane
Builds a default decision boundary if there are instances belonging to only one class.- Parameters:
dataset
-- Throws:
Exception
-
getPlaneModel
- Returns:
- the planeModel
-
isUseDefault
public boolean isUseDefault()- Returns:
- the useDefault
-
isDebug
public boolean isDebug()- Specified by:
isDebug
in interfaceweka.core.Debuggable
- Returns:
- the debug
-
setDebug
public void setDebug(boolean debug) - Specified by:
setDebug
in interfaceweka.core.Debuggable
- Parameters:
debug
- the debug to set
-