Class LogisticBoundary
- java.lang.Object
-
- weka.classifiers.AbstractClassifier
-
- weka.classifiers.functions.Logistic
-
- weka.classifiers.functions.explicitboundaries.models.LogisticBoundary
-
- All Implemented Interfaces:
Serializable
,Cloneable
,weka.classifiers.Classifier
,ClassifierWithBoundaries
,weka.core.Aggregateable<weka.classifiers.functions.Logistic>
,weka.core.BatchPredictor
,weka.core.CapabilitiesHandler
,weka.core.CapabilitiesIgnorer
,weka.core.CommandlineRunnable
,weka.core.OptionHandler
,weka.core.pmml.PMMLProducer
,weka.core.RevisionHandler
,weka.core.TechnicalInformationHandler
,weka.core.WeightedInstancesHandler
public class LogisticBoundary extends weka.classifiers.functions.Logistic implements ClassifierWithBoundaries
- Since:
- 1.3.0
- Version:
- 2.3.1
- Author:
- pawel trajdos
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LogisticBoundary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildClassifier(weka.core.Instances data)
double[]
distributionForInstance(weka.core.Instance instance)
DecisionBoundary
getBoundary()
Returns decision boundaries of the classifierweka.core.Capabilities
getCapabilities()
static void
main(String[] args)
void
setDebug(boolean debug)
-
Methods inherited from class weka.classifiers.functions.Logistic
aggregate, coefficients, debugTipText, doNotStandardizeAttributesTipText, finalizeAggregation, getDebug, getDoNotStandardizeAttributes, getMaxIts, getOptions, getRevision, getRidge, getTechnicalInformation, getUseConjugateGradientDescent, globalInfo, listOptions, maxItsTipText, ridgeTipText, setDoNotStandardizeAttributes, setMaxIts, setOptions, setRidge, setUseConjugateGradientDescent, toPMML, toString, useConjugateGradientDescentTipText
-
Methods inherited from class weka.classifiers.AbstractClassifier
batchSizeTipText, classifyInstance, distributionsForInstances, doNotCheckCapabilitiesTipText, forName, getBatchSize, getDoNotCheckCapabilities, getNumDecimalPlaces, implementsMoreEfficientBatchPrediction, makeCopies, makeCopy, numDecimalPlacesTipText, postExecution, preExecution, run, runClassifier, setBatchSize, setDoNotCheckCapabilities, setNumDecimalPlaces
-
-
-
-
Method Detail
-
buildClassifier
public void buildClassifier(weka.core.Instances data) throws Exception
- Specified by:
buildClassifier
in interfaceweka.classifiers.Classifier
- Overrides:
buildClassifier
in classweka.classifiers.functions.Logistic
- Throws:
Exception
-
getBoundary
public DecisionBoundary getBoundary() throws Exception
Description copied from interface:ClassifierWithBoundaries
Returns decision boundaries of the classifier- Specified by:
getBoundary
in interfaceClassifierWithBoundaries
- Returns:
- Decision boundaries
- Throws:
Exception
-
getCapabilities
public weka.core.Capabilities getCapabilities()
- Specified by:
getCapabilities
in interfaceweka.core.CapabilitiesHandler
- Specified by:
getCapabilities
in interfaceweka.classifiers.Classifier
- Overrides:
getCapabilities
in classweka.classifiers.functions.Logistic
-
setDebug
public void setDebug(boolean debug)
- Overrides:
setDebug
in classweka.classifiers.functions.Logistic
-
main
public static void main(String[] args)
-
-