Package weka.core.pmml.jaxbbindings
Class Segment
- java.lang.Object
-
- weka.core.pmml.jaxbbindings.Segment
-
public class Segment extends java.lang.ObjectJava class for Segment element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="Segment"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.dmg.org/PMML-4_1}Extension" maxOccurs="unbounded" minOccurs="0"/> <group ref="{http://www.dmg.org/PMML-4_1}PREDICATE"/> <group ref="{http://www.dmg.org/PMML-4_1}MODEL-ELEMENT"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="weight" type="{http://www.dmg.org/PMML-4_1}NUMBER" default="1" /> </restriction> </complexContent> </complexType> </element>
-
-
Constructor Summary
Constructors Constructor Description Segment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssociationModelgetAssociationModel()Gets the value of the associationModel property.BaselineModelgetBaselineModel()Gets the value of the baselineModel property.ClusteringModelgetClusteringModel()Gets the value of the clusteringModel property.CompoundPredicategetCompoundPredicate()Gets the value of the compoundPredicate property.java.util.List<Extension>getExtension()Gets the value of the extension property.FalsegetFalse()Gets the value of the false property.GeneralRegressionModelgetGeneralRegressionModel()Gets the value of the generalRegressionModel property.java.lang.StringgetId()Gets the value of the id property.MiningModelgetMiningModel()Gets the value of the miningModel property.NaiveBayesModelgetNaiveBayesModel()Gets the value of the naiveBayesModel property.NearestNeighborModelgetNearestNeighborModel()Gets the value of the nearestNeighborModel property.NeuralNetworkgetNeuralNetwork()Gets the value of the neuralNetwork property.RegressionModelgetRegressionModel()Gets the value of the regressionModel property.RuleSetModelgetRuleSetModel()Gets the value of the ruleSetModel property.ScorecardgetScorecard()Gets the value of the scorecard property.SequenceModelgetSequenceModel()Gets the value of the sequenceModel property.SimplePredicategetSimplePredicate()Gets the value of the simplePredicate property.SimpleSetPredicategetSimpleSetPredicate()Gets the value of the simpleSetPredicate property.SupportVectorMachineModelgetSupportVectorMachineModel()Gets the value of the supportVectorMachineModel property.TextModelgetTextModel()Gets the value of the textModel property.TimeSeriesModelgetTimeSeriesModel()Gets the value of the timeSeriesModel property.TreeModelgetTreeModel()Gets the value of the treeModel property.TruegetTrue()Gets the value of the true property.doublegetWeight()Gets the value of the weight property.voidsetAssociationModel(AssociationModel value)Sets the value of the associationModel property.voidsetBaselineModel(BaselineModel value)Sets the value of the baselineModel property.voidsetClusteringModel(ClusteringModel value)Sets the value of the clusteringModel property.voidsetCompoundPredicate(CompoundPredicate value)Sets the value of the compoundPredicate property.voidsetFalse(False value)Sets the value of the false property.voidsetGeneralRegressionModel(GeneralRegressionModel value)Sets the value of the generalRegressionModel property.voidsetId(java.lang.String value)Sets the value of the id property.voidsetMiningModel(MiningModel value)Sets the value of the miningModel property.voidsetNaiveBayesModel(NaiveBayesModel value)Sets the value of the naiveBayesModel property.voidsetNearestNeighborModel(NearestNeighborModel value)Sets the value of the nearestNeighborModel property.voidsetNeuralNetwork(NeuralNetwork value)Sets the value of the neuralNetwork property.voidsetRegressionModel(RegressionModel value)Sets the value of the regressionModel property.voidsetRuleSetModel(RuleSetModel value)Sets the value of the ruleSetModel property.voidsetScorecard(Scorecard value)Sets the value of the scorecard property.voidsetSequenceModel(SequenceModel value)Sets the value of the sequenceModel property.voidsetSimplePredicate(SimplePredicate value)Sets the value of the simplePredicate property.voidsetSimpleSetPredicate(SimpleSetPredicate value)Sets the value of the simpleSetPredicate property.voidsetSupportVectorMachineModel(SupportVectorMachineModel value)Sets the value of the supportVectorMachineModel property.voidsetTextModel(TextModel value)Sets the value of the textModel property.voidsetTimeSeriesModel(TimeSeriesModel value)Sets the value of the timeSeriesModel property.voidsetTreeModel(TreeModel value)Sets the value of the treeModel property.voidsetTrue(True value)Sets the value of the true property.voidsetWeight(java.lang.Double value)Sets the value of the weight property.
-
-
-
Method Detail
-
getExtension
public java.util.List<Extension> getExtension()
Gets the value of the extension property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the extension property.For example, to add a new item, do as follows:
getExtension().add(newItem);Objects of the following type(s) are allowed in the list
Extension
-
getSimplePredicate
public SimplePredicate getSimplePredicate()
Gets the value of the simplePredicate property.- Returns:
- possible object is
SimplePredicate
-
setSimplePredicate
public void setSimplePredicate(SimplePredicate value)
Sets the value of the simplePredicate property.- Parameters:
value- allowed object isSimplePredicate
-
getCompoundPredicate
public CompoundPredicate getCompoundPredicate()
Gets the value of the compoundPredicate property.- Returns:
- possible object is
CompoundPredicate
-
setCompoundPredicate
public void setCompoundPredicate(CompoundPredicate value)
Sets the value of the compoundPredicate property.- Parameters:
value- allowed object isCompoundPredicate
-
getSimpleSetPredicate
public SimpleSetPredicate getSimpleSetPredicate()
Gets the value of the simpleSetPredicate property.- Returns:
- possible object is
SimpleSetPredicate
-
setSimpleSetPredicate
public void setSimpleSetPredicate(SimpleSetPredicate value)
Sets the value of the simpleSetPredicate property.- Parameters:
value- allowed object isSimpleSetPredicate
-
setTrue
public void setTrue(True value)
Sets the value of the true property.- Parameters:
value- allowed object isTrue
-
getFalse
public False getFalse()
Gets the value of the false property.- Returns:
- possible object is
False
-
setFalse
public void setFalse(False value)
Sets the value of the false property.- Parameters:
value- allowed object isFalse
-
getAssociationModel
public AssociationModel getAssociationModel()
Gets the value of the associationModel property.- Returns:
- possible object is
AssociationModel
-
setAssociationModel
public void setAssociationModel(AssociationModel value)
Sets the value of the associationModel property.- Parameters:
value- allowed object isAssociationModel
-
getBaselineModel
public BaselineModel getBaselineModel()
Gets the value of the baselineModel property.- Returns:
- possible object is
BaselineModel
-
setBaselineModel
public void setBaselineModel(BaselineModel value)
Sets the value of the baselineModel property.- Parameters:
value- allowed object isBaselineModel
-
getClusteringModel
public ClusteringModel getClusteringModel()
Gets the value of the clusteringModel property.- Returns:
- possible object is
ClusteringModel
-
setClusteringModel
public void setClusteringModel(ClusteringModel value)
Sets the value of the clusteringModel property.- Parameters:
value- allowed object isClusteringModel
-
getGeneralRegressionModel
public GeneralRegressionModel getGeneralRegressionModel()
Gets the value of the generalRegressionModel property.- Returns:
- possible object is
GeneralRegressionModel
-
setGeneralRegressionModel
public void setGeneralRegressionModel(GeneralRegressionModel value)
Sets the value of the generalRegressionModel property.- Parameters:
value- allowed object isGeneralRegressionModel
-
getMiningModel
public MiningModel getMiningModel()
Gets the value of the miningModel property.- Returns:
- possible object is
MiningModel
-
setMiningModel
public void setMiningModel(MiningModel value)
Sets the value of the miningModel property.- Parameters:
value- allowed object isMiningModel
-
getNaiveBayesModel
public NaiveBayesModel getNaiveBayesModel()
Gets the value of the naiveBayesModel property.- Returns:
- possible object is
NaiveBayesModel
-
setNaiveBayesModel
public void setNaiveBayesModel(NaiveBayesModel value)
Sets the value of the naiveBayesModel property.- Parameters:
value- allowed object isNaiveBayesModel
-
getNearestNeighborModel
public NearestNeighborModel getNearestNeighborModel()
Gets the value of the nearestNeighborModel property.- Returns:
- possible object is
NearestNeighborModel
-
setNearestNeighborModel
public void setNearestNeighborModel(NearestNeighborModel value)
Sets the value of the nearestNeighborModel property.- Parameters:
value- allowed object isNearestNeighborModel
-
getNeuralNetwork
public NeuralNetwork getNeuralNetwork()
Gets the value of the neuralNetwork property.- Returns:
- possible object is
NeuralNetwork
-
setNeuralNetwork
public void setNeuralNetwork(NeuralNetwork value)
Sets the value of the neuralNetwork property.- Parameters:
value- allowed object isNeuralNetwork
-
getRegressionModel
public RegressionModel getRegressionModel()
Gets the value of the regressionModel property.- Returns:
- possible object is
RegressionModel
-
setRegressionModel
public void setRegressionModel(RegressionModel value)
Sets the value of the regressionModel property.- Parameters:
value- allowed object isRegressionModel
-
getRuleSetModel
public RuleSetModel getRuleSetModel()
Gets the value of the ruleSetModel property.- Returns:
- possible object is
RuleSetModel
-
setRuleSetModel
public void setRuleSetModel(RuleSetModel value)
Sets the value of the ruleSetModel property.- Parameters:
value- allowed object isRuleSetModel
-
getSequenceModel
public SequenceModel getSequenceModel()
Gets the value of the sequenceModel property.- Returns:
- possible object is
SequenceModel
-
setSequenceModel
public void setSequenceModel(SequenceModel value)
Sets the value of the sequenceModel property.- Parameters:
value- allowed object isSequenceModel
-
getScorecard
public Scorecard getScorecard()
Gets the value of the scorecard property.- Returns:
- possible object is
Scorecard
-
setScorecard
public void setScorecard(Scorecard value)
Sets the value of the scorecard property.- Parameters:
value- allowed object isScorecard
-
getSupportVectorMachineModel
public SupportVectorMachineModel getSupportVectorMachineModel()
Gets the value of the supportVectorMachineModel property.- Returns:
- possible object is
SupportVectorMachineModel
-
setSupportVectorMachineModel
public void setSupportVectorMachineModel(SupportVectorMachineModel value)
Sets the value of the supportVectorMachineModel property.- Parameters:
value- allowed object isSupportVectorMachineModel
-
getTextModel
public TextModel getTextModel()
Gets the value of the textModel property.- Returns:
- possible object is
TextModel
-
setTextModel
public void setTextModel(TextModel value)
Sets the value of the textModel property.- Parameters:
value- allowed object isTextModel
-
getTimeSeriesModel
public TimeSeriesModel getTimeSeriesModel()
Gets the value of the timeSeriesModel property.- Returns:
- possible object is
TimeSeriesModel
-
setTimeSeriesModel
public void setTimeSeriesModel(TimeSeriesModel value)
Sets the value of the timeSeriesModel property.- Parameters:
value- allowed object isTimeSeriesModel
-
getTreeModel
public TreeModel getTreeModel()
Gets the value of the treeModel property.- Returns:
- possible object is
TreeModel
-
setTreeModel
public void setTreeModel(TreeModel value)
Sets the value of the treeModel property.- Parameters:
value- allowed object isTreeModel
-
getId
public java.lang.String getId()
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
public void setId(java.lang.String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getWeight
public double getWeight()
Gets the value of the weight property.- Returns:
- possible object is
Double
-
setWeight
public void setWeight(java.lang.Double value)
Sets the value of the weight property.- Parameters:
value- allowed object isDouble
-
-