Package org.dmg.pmml.nearest_neighbor
Class ObjectFactory
- java.lang.Object
-
- org.dmg.pmml.nearest_neighbor.ObjectFactory
-
public class ObjectFactory extends java.lang.ObjectThis object contains factory methods for each Java content interface and Java element interface generated in the org.dmg.pmml.nearest_neighbor package.An ObjectFactory allows you to programmatically construct new instances of the Java representation for XML content. The Java representation of XML content can consist of schema derived interfaces and classes representing the binding of schema type definitions, element declarations and model groups. Factory methods for each of these are provided in this class.
-
-
Constructor Summary
Constructors Constructor Description ObjectFactory()Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.dmg.pmml.nearest_neighbor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceFieldcreateInstanceField()Create an instance ofInstanceFieldInstanceFieldscreateInstanceFields()Create an instance ofInstanceFieldsKNNInputcreateKNNInput()Create an instance ofKNNInputKNNInputscreateKNNInputs()Create an instance ofKNNInputsNearestNeighborModelcreateNearestNeighborModel()Create an instance ofNearestNeighborModelTrainingInstancescreateTrainingInstances()Create an instance ofTrainingInstances
-
-
-
Method Detail
-
createNearestNeighborModel
public NearestNeighborModel createNearestNeighborModel()
Create an instance ofNearestNeighborModel- Returns:
- the new instance of
NearestNeighborModel
-
createTrainingInstances
public TrainingInstances createTrainingInstances()
Create an instance ofTrainingInstances- Returns:
- the new instance of
TrainingInstances
-
createInstanceFields
public InstanceFields createInstanceFields()
Create an instance ofInstanceFields- Returns:
- the new instance of
InstanceFields
-
createInstanceField
public InstanceField createInstanceField()
Create an instance ofInstanceField- Returns:
- the new instance of
InstanceField
-
createKNNInputs
public KNNInputs createKNNInputs()
Create an instance ofKNNInputs- Returns:
- the new instance of
KNNInputs
-
-