org.pmml4s.model

MultipleModelMethod

object MultipleModelMethod extends Enumeration

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

Linear Supertypes
Enumeration, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MultipleModelMethod
  2. Enumeration
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type MultipleModelMethod = Value

  2. class Val extends Value with Serializable

    Attributes
    protected
    Definition Classes
    Enumeration
    Annotations
    @SerialVersionUID( -3501153230598116017L )
  3. abstract class Value extends Ordered[Value] with Serializable

    Definition Classes
    Enumeration
    Annotations
    @SerialVersionUID( 7091335633555234129L )
  4. class ValueSet extends AbstractSet[Value] with SortedSet[Value] with SortedSetLike[Value, ValueSet] with Serializable

    Definition Classes
    Enumeration

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def Value(i: Int, name: String): Value

    Attributes
    protected
    Definition Classes
    Enumeration
  7. final def Value(name: String): Value

    Attributes
    protected
    Definition Classes
    Enumeration
  8. final def Value(i: Int): Value

    Attributes
    protected
    Definition Classes
    Enumeration
  9. final def Value: Value

    Attributes
    protected
    Definition Classes
    Enumeration
  10. final def apply(x: Int): Value

    Definition Classes
    Enumeration
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. 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

  13. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. 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

  21. 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

  22. final def maxId: Int

    Definition Classes
    Enumeration
  23. 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

  24. 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

  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. var nextId: Int

    Attributes
    protected
    Definition Classes
    Enumeration
  27. var nextName: Iterator[String]

    Attributes
    protected
    Definition Classes
    Enumeration
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. def readResolve(): AnyRef

    Attributes
    protected
    Definition Classes
    Enumeration
  31. 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

  32. 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

  33. 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

  34. def support(mmm: MultipleModelMethod, mf: MiningFunction): Boolean

  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  36. def toString(): String

    Definition Classes
    Enumeration → AnyRef → Any
  37. def values: ValueSet

    Definition Classes
    Enumeration
  38. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. 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

  42. 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

  43. 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

  44. 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

  45. final def withName(s: String): Value

    Definition Classes
    Enumeration
  46. val x-weightedMedian: Value

  47. val x-weightedSum: Value

Inherited from Enumeration

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped