org.knime.core.node.port.pmml
Enum PMMLModelType

java.lang.Object
  extended by java.lang.Enum<PMMLModelType>
      extended by org.knime.core.node.port.pmml.PMMLModelType
All Implemented Interfaces:
Serializable, Comparable<PMMLModelType>

public enum PMMLModelType
extends Enum<PMMLModelType>

Enum to describe valid PMML models (and extensions) as of version 2.1.

Author:
Fabian Dill, University of Konstanz

Enum Constant Summary
AssociationModel
          PMML AssociationModel.
ClusteringModel
          PMML ClusteringModel.
Extension
          PMML Extension fur own model implementation if PMML standard models don't fit.
GeneralRegressionModel
          PMML GeneralRegressionModel.
NaiveBayesModel
          PMML NaiveBayes.
NeuralNetwork
          PMML NeuralNetwork.
None
          Neither a valid PMML model nor an extension was found.
RegressionModel
          PMML RegressionModel.
SequenceModel
          PMML SequenceModel.
SupportVectorMachineModel
          PMML Support Vector Machine Model.
TreeModel
          PMML TreeModel.
 
Method Summary
static PMMLModelType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PMMLModelType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TreeModel

public static final PMMLModelType TreeModel
PMML TreeModel.


NeuralNetwork

public static final PMMLModelType NeuralNetwork
PMML NeuralNetwork.


ClusteringModel

public static final PMMLModelType ClusteringModel
PMML ClusteringModel.


RegressionModel

public static final PMMLModelType RegressionModel
PMML RegressionModel.


GeneralRegressionModel

public static final PMMLModelType GeneralRegressionModel
PMML GeneralRegressionModel.


NaiveBayesModel

public static final PMMLModelType NaiveBayesModel
PMML NaiveBayes.


AssociationModel

public static final PMMLModelType AssociationModel
PMML AssociationModel.


SequenceModel

public static final PMMLModelType SequenceModel
PMML SequenceModel.


SupportVectorMachineModel

public static final PMMLModelType SupportVectorMachineModel
PMML Support Vector Machine Model.


Extension

public static final PMMLModelType Extension
PMML Extension fur own model implementation if PMML standard models don't fit.


None

public static final PMMLModelType None
Neither a valid PMML model nor an extension was found.

Method Detail

values

public static PMMLModelType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (PMMLModelType c : PMMLModelType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PMMLModelType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.