Packages

o

org.pmml4s.model

MultipleModelMethod

object MultipleModelMethod extends Enumeration

Specifying how all the models applicable to a record should be combined.

Linear Supertypes
Enumeration, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MultipleModelMethod
  2. Enumeration
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type MultipleModelMethod = Value
  2. class Val extends Value with Serializable
    Attributes
    protected
    Definition Classes
    Enumeration
    Annotations
    @SerialVersionUID()
  3. abstract class Value extends Ordered[Value] with Serializable
    Definition Classes
    Enumeration
    Annotations
    @SerialVersionUID()
  4. class ValueSet extends AbstractSet[Value] with SortedSet[Value] with SortedSetOps[Value, SortedSet, ValueSet] with StrictOptimizedIterableOps[Value, Set, ValueSet] with Serializable
    Definition Classes
    Enumeration
    Annotations
    @SerialVersionUID()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def Value(i: Int, name: String): Value
    Attributes
    protected
    Definition Classes
    Enumeration
  5. final def Value(name: String): Value
    Attributes
    protected
    Definition Classes
    Enumeration
  6. final def Value(i: Int): Value
    Attributes
    protected
    Definition Classes
    Enumeration
  7. final def Value: Value
    Attributes
    protected
    Definition Classes
    Enumeration
  8. final def apply(x: Int): Value
    Definition Classes
    Enumeration
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. val average: Value

    selectFirst is applicable to any model type.

    selectFirst is applicable to any model type. Simply use the first model for which the predicate in the Segment evaluates to true. selectAll is applicable to any model type. All models for which the predicate in the Segment evaluates to true are evaluated. modelChain is applicable to any model type. During scoring, Segments whose Predicates evaluate to TRUE are executed in the order they appear in the PMML.

    For clustering models only majorityVote, weightedMajorityVote, modelChain, selectFirst, or selectAll can be used. In case of majorityVote the cluster ID that was selected by the largest number of models wins. For weightedMajorityVote the weights specified in Segment elements are used, and the cluster ID with highest total weight wins. Cluster affinity for the resulting model combined by majorityVote or weightedMajorityVote is not defined. Note that combining clustering model predictions can produce not very meaningful results because there is no target variable, and the same cluster IDs on different segments can be assigned to very different clusters.

    For regression models only average, weightedAverage, median, weightedMedian, sum, weightedSum, modelChain, selectFirst, or selectAll are applicable. The first four methods are applied to the predicted values of all models for which the predicate evaluates to true.

    For classification models all the combination methods, except for sum and weightedSum, can be used. For the first six combination methods the models in all segments must have the same target variable. Note that average, weightedAverage, median, weightedMedian, and max are applied to the predicted probabilities of target categories in each of the models used for the case, then the winning category is selected based on the highest combined probability, while majorityVote and weightedMajorityVote use the predicted categories from all applicable models and select the one based on the models' "votes". Predicted probabilities for the final prediction of a classification MiningModel are defined as follows, depending on the combination method:

    - majorityVote and weightedMajorityVote: the probabilities are computed as the proportions of the votes or weighted votes for each target category; - average, weightedAverage: the probabilities are computed as the average or weighted average of probabilities of the models used in the prediction; - max: consider the model(s) that have contributed the chosen probability for the winning category. Return their average probabilities; - median, weightedMedian: if the number of models with predicates that resolve to true is odd consider the model(s) that have the chose

  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. val majorityVote: Value

    selectFirst is applicable to any model type.

    selectFirst is applicable to any model type. Simply use the first model for which the predicate in the Segment evaluates to true. selectAll is applicable to any model type. All models for which the predicate in the Segment evaluates to true are evaluated. modelChain is applicable to any model type. During scoring, Segments whose Predicates evaluate to TRUE are executed in the order they appear in the PMML.

    For clustering models only majorityVote, weightedMajorityVote, modelChain, selectFirst, or selectAll can be used. In case of majorityVote the cluster ID that was selected by the largest number of models wins. For weightedMajorityVote the weights specified in Segment elements are used, and the cluster ID with highest total weight wins. Cluster affinity for the resulting model combined by majorityVote or weightedMajorityVote is not defined. Note that combining clustering model predictions can produce not very meaningful results because there is no target variable, and the same cluster IDs on different segments can be assigned to very different clusters.

    For regression models only average, weightedAverage, median, weightedMedian, sum, weightedSum, modelChain, selectFirst, or selectAll are applicable. The first four methods are applied to the predicted values of all models for which the predicate evaluates to true.

    For classification models all the combination methods, except for sum and weightedSum, can be used. For the first six combination methods the models in all segments must have the same target variable. Note that average, weightedAverage, median, weightedMedian, and max are applied to the predicted probabilities of target categories in each of the models used for the case, then the winning category is selected based on the highest combined probability, while majorityVote and weightedMajorityVote use the predicted categories from all applicable models and select the one based on the models' "votes". Predicted probabilities for the final prediction of a classification MiningModel are defined as follows, depending on the combination method:

    - majorityVote and weightedMajorityVote: the probabilities are computed as the proportions of the votes or weighted votes for each target category; - average, weightedAverage: the probabilities are computed as the average or weighted average of probabilities of the models used in the prediction; - max: consider the model(s) that have contributed the chosen probability for the winning category. Return their average probabilities; - median, weightedMedian: if the number of models with predicates that resolve to true is odd consider the model(s) that have the chose

  18. val max: Value

    selectFirst is applicable to any model type.

    selectFirst is applicable to any model type. Simply use the first model for which the predicate in the Segment evaluates to true. selectAll is applicable to any model type. All models for which the predicate in the Segment evaluates to true are evaluated. modelChain is applicable to any model type. During scoring, Segments whose Predicates evaluate to TRUE are executed in the order they appear in the PMML.

    For clustering models only majorityVote, weightedMajorityVote, modelChain, selectFirst, or selectAll can be used. In case of majorityVote the cluster ID that was selected by the largest number of models wins. For weightedMajorityVote the weights specified in Segment elements are used, and the cluster ID with highest total weight wins. Cluster affinity for the resulting model combined by majorityVote or weightedMajorityVote is not defined. Note that combining clustering model predictions can produce not very meaningful results because there is no target variable, and the same cluster IDs on different segments can be assigned to very different clusters.

    For regression models only average, weightedAverage, median, weightedMedian, sum, weightedSum, modelChain, selectFirst, or selectAll are applicable. The first four methods are applied to the predicted values of all models for which the predicate evaluates to true.

    For classification models all the combination methods, except for sum and weightedSum, can be used. For the first six combination methods the models in all segments must have the same target variable. Note that average, weightedAverage, median, weightedMedian, and max are applied to the predicted probabilities of target categories in each of the models used for the case, then the winning category is selected based on the highest combined probability, while majorityVote and weightedMajorityVote use the predicted categories from all applicable models and select the one based on the models' "votes". Predicted probabilities for the final prediction of a classification MiningModel are defined as follows, depending on the combination method:

    - majorityVote and weightedMajorityVote: the probabilities are computed as the proportions of the votes or weighted votes for each target category; - average, weightedAverage: the probabilities are computed as the average or weighted average of probabilities of the models used in the prediction; - max: consider the model(s) that have contributed the chosen probability for the winning category. Return their average probabilities; - median, weightedMedian: if the number of models with predicates that resolve to true is odd consider the model(s) that have the chose

  19. final def maxId: Int
    Definition Classes
    Enumeration
  20. val median: Value

    selectFirst is applicable to any model type.

    selectFirst is applicable to any model type. Simply use the first model for which the predicate in the Segment evaluates to true. selectAll is applicable to any model type. All models for which the predicate in the Segment evaluates to true are evaluated. modelChain is applicable to any model type. During scoring, Segments whose Predicates evaluate to TRUE are executed in the order they appear in the PMML.

    For clustering models only majorityVote, weightedMajorityVote, modelChain, selectFirst, or selectAll can be used. In case of majorityVote the cluster ID that was selected by the largest number of models wins. For weightedMajorityVote the weights specified in Segment elements are used, and the cluster ID with highest total weight wins. Cluster affinity for the resulting model combined by majorityVote or weightedMajorityVote is not defined. Note that combining clustering model predictions can produce not very meaningful results because there is no target variable, and the same cluster IDs on different segments can be assigned to very different clusters.

    For regression models only average, weightedAverage, median, weightedMedian, sum, weightedSum, modelChain, selectFirst, or selectAll are applicable. The first four methods are applied to the predicted values of all models for which the predicate evaluates to true.

    For classification models all the combination methods, except for sum and weightedSum, can be used. For the first six combination methods the models in all segments must have the same target variable. Note that average, weightedAverage, median, weightedMedian, and max are applied to the predicted probabilities of target categories in each of the models used for the case, then the winning category is selected based on the highest combined probability, while majorityVote and weightedMajorityVote use the predicted categories from all applicable models and select the one based on the models' "votes". Predicted probabilities for the final prediction of a classification MiningModel are defined as follows, depending on the combination method:

    - majorityVote and weightedMajorityVote: the probabilities are computed as the proportions of the votes or weighted votes for each target category; - average, weightedAverage: the probabilities are computed as the average or weighted average of probabilities of the models used in the prediction; - max: consider the model(s) that have contributed the chosen probability for the winning category. Return their average probabilities; - median, weightedMedian: if the number of models with predicates that resolve to true is odd consider the model(s) that have the chose

  21. val modelChain: Value

    selectFirst is applicable to any model type.

    selectFirst is applicable to any model type. Simply use the first model for which the predicate in the Segment evaluates to true. selectAll is applicable to any model type. All models for which the predicate in the Segment evaluates to true are evaluated. modelChain is applicable to any model type. During scoring, Segments whose Predicates evaluate to TRUE are executed in the order they appear in the PMML.

    For clustering models only majorityVote, weightedMajorityVote, modelChain, selectFirst, or selectAll can be used. In case of majorityVote the cluster ID that was selected by the largest number of models wins. For weightedMajorityVote the weights specified in Segment elements are used, and the cluster ID with highest total weight wins. Cluster affinity for the resulting model combined by majorityVote or weightedMajorityVote is not defined. Note that combining clustering model predictions can produce not very meaningful results because there is no target variable, and the same cluster IDs on different segments can be assigned to very different clusters.

    For regression models only average, weightedAverage, median, weightedMedian, sum, weightedSum, modelChain, selectFirst, or selectAll are applicable. The first four methods are applied to the predicted values of all models for which the predicate evaluates to true.

    For classification models all the combination methods, except for sum and weightedSum, can be used. For the first six combination methods the models in all segments must have the same target variable. Note that average, weightedAverage, median, weightedMedian, and max are applied to the predicted probabilities of target categories in each of the models used for the case, then the winning category is selected based on the highest combined probability, while majorityVote and weightedMajorityVote use the predicted categories from all applicable models and select the one based on the models' "votes". Predicted probabilities for the final prediction of a classification MiningModel are defined as follows, depending on the combination method:

    - majorityVote and weightedMajorityVote: the probabilities are computed as the proportions of the votes or weighted votes for each target category; - average, weightedAverage: the probabilities are computed as the average or weighted average of probabilities of the models used in the prediction; - max: consider the model(s) that have contributed the chosen probability for the winning category. Return their average probabilities; - median, weightedMedian: if the number of models with predicates that resolve to true is odd consider the model(s) that have the chose

  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. var nextId: Int
    Attributes
    protected
    Definition Classes
    Enumeration
  24. var nextName: Iterator[String]
    Attributes
    protected
    Definition Classes
    Enumeration
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  27. def readResolve(): AnyRef
    Attributes
    protected
    Definition Classes
    Enumeration
  28. val selectAll: Value

    selectFirst is applicable to any model type.

    selectFirst is applicable to any model type. Simply use the first model for which the predicate in the Segment evaluates to true. selectAll is applicable to any model type. All models for which the predicate in the Segment evaluates to true are evaluated. modelChain is applicable to any model type. During scoring, Segments whose Predicates evaluate to TRUE are executed in the order they appear in the PMML.

    For clustering models only majorityVote, weightedMajorityVote, modelChain, selectFirst, or selectAll can be used. In case of majorityVote the cluster ID that was selected by the largest number of models wins. For weightedMajorityVote the weights specified in Segment elements are used, and the cluster ID with highest total weight wins. Cluster affinity for the resulting model combined by majorityVote or weightedMajorityVote is not defined. Note that combining clustering model predictions can produce not very meaningful results because there is no target variable, and the same cluster IDs on different segments can be assigned to very different clusters.

    For regression models only average, weightedAverage, median, weightedMedian, sum, weightedSum, modelChain, selectFirst, or selectAll are applicable. The first four methods are applied to the predicted values of all models for which the predicate evaluates to true.

    For classification models all the combination methods, except for sum and weightedSum, can be used. For the first six combination methods the models in all segments must have the same target variable. Note that average, weightedAverage, median, weightedMedian, and max are applied to the predicted probabilities of target categories in each of the models used for the case, then the winning category is selected based on the highest combined probability, while majorityVote and weightedMajorityVote use the predicted categories from all applicable models and select the one based on the models' "votes". Predicted probabilities for the final prediction of a classification MiningModel are defined as follows, depending on the combination method:

    - majorityVote and weightedMajorityVote: the probabilities are computed as the proportions of the votes or weighted votes for each target category; - average, weightedAverage: the probabilities are computed as the average or weighted average of probabilities of the models used in the prediction; - max: consider the model(s) that have contributed the chosen probability for the winning category. Return their average probabilities; - median, weightedMedian: if the number of models with predicates that resolve to true is odd consider the model(s) that have the chose

  29. val selectFirst: Value

    selectFirst is applicable to any model type.

    selectFirst is applicable to any model type. Simply use the first model for which the predicate in the Segment evaluates to true. selectAll is applicable to any model type. All models for which the predicate in the Segment evaluates to true are evaluated. modelChain is applicable to any model type. During scoring, Segments whose Predicates evaluate to TRUE are executed in the order they appear in the PMML.

    For clustering models only majorityVote, weightedMajorityVote, modelChain, selectFirst, or selectAll can be used. In case of majorityVote the cluster ID that was selected by the largest number of models wins. For weightedMajorityVote the weights specified in Segment elements are used, and the cluster ID with highest total weight wins. Cluster affinity for the resulting model combined by majorityVote or weightedMajorityVote is not defined. Note that combining clustering model predictions can produce not very meaningful results because there is no target variable, and the same cluster IDs on different segments can be assigned to very different clusters.

    For regression models only average, weightedAverage, median, weightedMedian, sum, weightedSum, modelChain, selectFirst, or selectAll are applicable. The first four methods are applied to the predicted values of all models for which the predicate evaluates to true.

    For classification models all the combination methods, except for sum and weightedSum, can be used. For the first six combination methods the models in all segments must have the same target variable. Note that average, weightedAverage, median, weightedMedian, and max are applied to the predicted probabilities of target categories in each of the models used for the case, then the winning category is selected based on the highest combined probability, while majorityVote and weightedMajorityVote use the predicted categories from all applicable models and select the one based on the models' "votes". Predicted probabilities for the final prediction of a classification MiningModel are defined as follows, depending on the combination method:

    - majorityVote and weightedMajorityVote: the probabilities are computed as the proportions of the votes or weighted votes for each target category; - average, weightedAverage: the probabilities are computed as the average or weighted average of probabilities of the models used in the prediction; - max: consider the model(s) that have contributed the chosen probability for the winning category. Return their average probabilities; - median, weightedMedian: if the number of models with predicates that resolve to true is odd consider the model(s) that have the chose

  30. val sum: Value

    selectFirst is applicable to any model type.

    selectFirst is applicable to any model type. Simply use the first model for which the predicate in the Segment evaluates to true. selectAll is applicable to any model type. All models for which the predicate in the Segment evaluates to true are evaluated. modelChain is applicable to any model type. During scoring, Segments whose Predicates evaluate to TRUE are executed in the order they appear in the PMML.

    For clustering models only majorityVote, weightedMajorityVote, modelChain, selectFirst, or selectAll can be used. In case of majorityVote the cluster ID that was selected by the largest number of models wins. For weightedMajorityVote the weights specified in Segment elements are used, and the cluster ID with highest total weight wins. Cluster affinity for the resulting model combined by majorityVote or weightedMajorityVote is not defined. Note that combining clustering model predictions can produce not very meaningful results because there is no target variable, and the same cluster IDs on different segments can be assigned to very different clusters.

    For regression models only average, weightedAverage, median, weightedMedian, sum, weightedSum, modelChain, selectFirst, or selectAll are applicable. The first four methods are applied to the predicted values of all models for which the predicate evaluates to true.

    For classification models all the combination methods, except for sum and weightedSum, can be used. For the first six combination methods the models in all segments must have the same target variable. Note that average, weightedAverage, median, weightedMedian, and max are applied to the predicted probabilities of target categories in each of the models used for the case, then the winning category is selected based on the highest combined probability, while majorityVote and weightedMajorityVote use the predicted categories from all applicable models and select the one based on the models' "votes". Predicted probabilities for the final prediction of a classification MiningModel are defined as follows, depending on the combination method:

    - majorityVote and weightedMajorityVote: the probabilities are computed as the proportions of the votes or weighted votes for each target category; - average, weightedAverage: the probabilities are computed as the average or weighted average of probabilities of the models used in the prediction; - max: consider the model(s) that have contributed the chosen probability for the winning category. Return their average probabilities; - median, weightedMedian: if the number of models with predicates that resolve to true is odd consider the model(s) that have the chose

  31. def support(mmm: MultipleModelMethod, mf: MiningFunction): Boolean
  32. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    Enumeration → AnyRef → Any
  34. def values: ValueSet
    Definition Classes
    Enumeration
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. val weightedAverage: Value

    selectFirst is applicable to any model type.

    selectFirst is applicable to any model type. Simply use the first model for which the predicate in the Segment evaluates to true. selectAll is applicable to any model type. All models for which the predicate in the Segment evaluates to true are evaluated. modelChain is applicable to any model type. During scoring, Segments whose Predicates evaluate to TRUE are executed in the order they appear in the PMML.

    For clustering models only majorityVote, weightedMajorityVote, modelChain, selectFirst, or selectAll can be used. In case of majorityVote the cluster ID that was selected by the largest number of models wins. For weightedMajorityVote the weights specified in Segment elements are used, and the cluster ID with highest total weight wins. Cluster affinity for the resulting model combined by majorityVote or weightedMajorityVote is not defined. Note that combining clustering model predictions can produce not very meaningful results because there is no target variable, and the same cluster IDs on different segments can be assigned to very different clusters.

    For regression models only average, weightedAverage, median, weightedMedian, sum, weightedSum, modelChain, selectFirst, or selectAll are applicable. The first four methods are applied to the predicted values of all models for which the predicate evaluates to true.

    For classification models all the combination methods, except for sum and weightedSum, can be used. For the first six combination methods the models in all segments must have the same target variable. Note that average, weightedAverage, median, weightedMedian, and max are applied to the predicted probabilities of target categories in each of the models used for the case, then the winning category is selected based on the highest combined probability, while majorityVote and weightedMajorityVote use the predicted categories from all applicable models and select the one based on the models' "votes". Predicted probabilities for the final prediction of a classification MiningModel are defined as follows, depending on the combination method:

    - majorityVote and weightedMajorityVote: the probabilities are computed as the proportions of the votes or weighted votes for each target category; - average, weightedAverage: the probabilities are computed as the average or weighted average of probabilities of the models used in the prediction; - max: consider the model(s) that have contributed the chosen probability for the winning category. Return their average probabilities; - median, weightedMedian: if the number of models with predicates that resolve to true is odd consider the model(s) that have the chose

  39. val weightedMajorityVote: Value

    selectFirst is applicable to any model type.

    selectFirst is applicable to any model type. Simply use the first model for which the predicate in the Segment evaluates to true. selectAll is applicable to any model type. All models for which the predicate in the Segment evaluates to true are evaluated. modelChain is applicable to any model type. During scoring, Segments whose Predicates evaluate to TRUE are executed in the order they appear in the PMML.

    For clustering models only majorityVote, weightedMajorityVote, modelChain, selectFirst, or selectAll can be used. In case of majorityVote the cluster ID that was selected by the largest number of models wins. For weightedMajorityVote the weights specified in Segment elements are used, and the cluster ID with highest total weight wins. Cluster affinity for the resulting model combined by majorityVote or weightedMajorityVote is not defined. Note that combining clustering model predictions can produce not very meaningful results because there is no target variable, and the same cluster IDs on different segments can be assigned to very different clusters.

    For regression models only average, weightedAverage, median, weightedMedian, sum, weightedSum, modelChain, selectFirst, or selectAll are applicable. The first four methods are applied to the predicted values of all models for which the predicate evaluates to true.

    For classification models all the combination methods, except for sum and weightedSum, can be used. For the first six combination methods the models in all segments must have the same target variable. Note that average, weightedAverage, median, weightedMedian, and max are applied to the predicted probabilities of target categories in each of the models used for the case, then the winning category is selected based on the highest combined probability, while majorityVote and weightedMajorityVote use the predicted categories from all applicable models and select the one based on the models' "votes". Predicted probabilities for the final prediction of a classification MiningModel are defined as follows, depending on the combination method:

    - majorityVote and weightedMajorityVote: the probabilities are computed as the proportions of the votes or weighted votes for each target category; - average, weightedAverage: the probabilities are computed as the average or weighted average of probabilities of the models used in the prediction; - max: consider the model(s) that have contributed the chosen probability for the winning category. Return their average probabilities; - median, weightedMedian: if the number of models with predicates that resolve to true is odd consider the model(s) that have the chose

  40. val weightedMedian: Value

    selectFirst is applicable to any model type.

    selectFirst is applicable to any model type. Simply use the first model for which the predicate in the Segment evaluates to true. selectAll is applicable to any model type. All models for which the predicate in the Segment evaluates to true are evaluated. modelChain is applicable to any model type. During scoring, Segments whose Predicates evaluate to TRUE are executed in the order they appear in the PMML.

    For clustering models only majorityVote, weightedMajorityVote, modelChain, selectFirst, or selectAll can be used. In case of majorityVote the cluster ID that was selected by the largest number of models wins. For weightedMajorityVote the weights specified in Segment elements are used, and the cluster ID with highest total weight wins. Cluster affinity for the resulting model combined by majorityVote or weightedMajorityVote is not defined. Note that combining clustering model predictions can produce not very meaningful results because there is no target variable, and the same cluster IDs on different segments can be assigned to very different clusters.

    For regression models only average, weightedAverage, median, weightedMedian, sum, weightedSum, modelChain, selectFirst, or selectAll are applicable. The first four methods are applied to the predicted values of all models for which the predicate evaluates to true.

    For classification models all the combination methods, except for sum and weightedSum, can be used. For the first six combination methods the models in all segments must have the same target variable. Note that average, weightedAverage, median, weightedMedian, and max are applied to the predicted probabilities of target categories in each of the models used for the case, then the winning category is selected based on the highest combined probability, while majorityVote and weightedMajorityVote use the predicted categories from all applicable models and select the one based on the models' "votes". Predicted probabilities for the final prediction of a classification MiningModel are defined as follows, depending on the combination method:

    - majorityVote and weightedMajorityVote: the probabilities are computed as the proportions of the votes or weighted votes for each target category; - average, weightedAverage: the probabilities are computed as the average or weighted average of probabilities of the models used in the prediction; - max: consider the model(s) that have contributed the chosen probability for the winning category. Return their average probabilities; - median, weightedMedian: if the number of models with predicates that resolve to true is odd consider the model(s) that have the chose

  41. val weightedSum: Value

    selectFirst is applicable to any model type.

    selectFirst is applicable to any model type. Simply use the first model for which the predicate in the Segment evaluates to true. selectAll is applicable to any model type. All models for which the predicate in the Segment evaluates to true are evaluated. modelChain is applicable to any model type. During scoring, Segments whose Predicates evaluate to TRUE are executed in the order they appear in the PMML.

    For clustering models only majorityVote, weightedMajorityVote, modelChain, selectFirst, or selectAll can be used. In case of majorityVote the cluster ID that was selected by the largest number of models wins. For weightedMajorityVote the weights specified in Segment elements are used, and the cluster ID with highest total weight wins. Cluster affinity for the resulting model combined by majorityVote or weightedMajorityVote is not defined. Note that combining clustering model predictions can produce not very meaningful results because there is no target variable, and the same cluster IDs on different segments can be assigned to very different clusters.

    For regression models only average, weightedAverage, median, weightedMedian, sum, weightedSum, modelChain, selectFirst, or selectAll are applicable. The first four methods are applied to the predicted values of all models for which the predicate evaluates to true.

    For classification models all the combination methods, except for sum and weightedSum, can be used. For the first six combination methods the models in all segments must have the same target variable. Note that average, weightedAverage, median, weightedMedian, and max are applied to the predicted probabilities of target categories in each of the models used for the case, then the winning category is selected based on the highest combined probability, while majorityVote and weightedMajorityVote use the predicted categories from all applicable models and select the one based on the models' "votes". Predicted probabilities for the final prediction of a classification MiningModel are defined as follows, depending on the combination method:

    - majorityVote and weightedMajorityVote: the probabilities are computed as the proportions of the votes or weighted votes for each target category; - average, weightedAverage: the probabilities are computed as the average or weighted average of probabilities of the models used in the prediction; - max: consider the model(s) that have contributed the chosen probability for the winning category. Return their average probabilities; - median, weightedMedian: if the number of models with predicates that resolve to true is odd consider the model(s) that have the chose

  42. final def withName(s: String): Value
    Definition Classes
    Enumeration
  43. val x-weightedMedian: Value
  44. val x-weightedSum: Value
  45. implicit object ValueOrdering extends Ordering[Value]
    Definition Classes
    Enumeration

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Enumeration

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped