Object

org.pmml4s.model

MultipleModelMethod

Related Doc: package model

Permalink

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
Visibility
  1. Public
  2. All

Type Members

  1. type MultipleModelMethod = Value

    Permalink
  2. class Val extends Value with Serializable

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

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

    Permalink
    Definition Classes
    Enumeration

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def Value(i: Int, name: String): Value

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Enumeration
  7. final def Value: Value

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

    Permalink
    Definition Classes
    Enumeration
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. val average: Value

    Permalink

    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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  18. val majorityVote: Value

    Permalink

    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. val max: Value

    Permalink

    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

  20. final def maxId: Int

    Permalink
    Definition Classes
    Enumeration
  21. val median: Value

    Permalink

    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. val modelChain: Value

    Permalink

    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

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

    Permalink
    Definition Classes
    AnyRef
  24. var nextId: Int

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

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

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. def readResolve(): AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    Enumeration
  29. val selectAll: Value

    Permalink

    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 selectFirst: Value

    Permalink

    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. val sum: Value

    Permalink

    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. def support(mmm: MultipleModelMethod, mf: MiningFunction): Boolean

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

    Permalink
    Definition Classes
    AnyRef
  34. def toString(): String

    Permalink
    Definition Classes
    Enumeration → AnyRef → Any
  35. def values: ValueSet

    Permalink
    Definition Classes
    Enumeration
  36. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. val weightedAverage: Value

    Permalink

    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 weightedMajorityVote: Value

    Permalink

    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 weightedMedian: Value

    Permalink

    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 weightedSum: Value

    Permalink

    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. final def withName(s: String): Value

    Permalink
    Definition Classes
    Enumeration
  44. val x-weightedMedian: Value

    Permalink
  45. val x-weightedSum: Value

    Permalink

Inherited from Enumeration

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped