MissingPredictionTreatment

object MissingPredictionTreatment extends Enumeration

The missing prediction treatment options are used when at least one model for which the predicate in the Segment evaluates to true has a missing result. The attribute missingThreshold is closely related and has default value 1. The options are defined as follows:

  • returnMissing means that if at least one model has a missing result, the whole MiningModel's result should be missing.
  • skipSegment says that if a model has a missing result, that segment is ignored and the results are computed based on other segments. However, if the fraction of the models with missing results ( weighted if the model combination method is weighted ) exceeds the missingThreshold, the returned result must be missing. This option should not be used with modelChain combination method.
  • continue says that if a model has a missing result, the processing should continue normally. This can work well for voting or modelChain situations, as well as returnFirst and returnAll. In case of majorityVote or weightedMajorityVote the missing result can be returned if it gets the most ( possibly weighted ) votes, or if the fraction of the models with missing result exceeds the missingThreshold. Otherwise a valid result is computed normally. Other model combination methods will return a missing value as the result.
class Enumeration
trait Serializable
class Object
trait Matchable
class Any

Type members

Inherited classlikes

@SerialVersionUID(value = -3501153230598116017L)
protected class Val
Inherited from:
Enumeration
@SerialVersionUID(value = 7091335633555234129L)
abstract class Value
Inherited from:
Enumeration
Inherited from:
Enumeration
@SerialVersionUID(value = 7229671200427364242L)
class ValueSet
Inherited from:
Enumeration
@SerialVersionUID(value = 3L)
object ValueSet
Inherited from:
Enumeration

Value members

Inherited methods

final protected def Value(i: Int, name: String): Value
Inherited from:
Enumeration
final protected def Value(name: String): Value
Inherited from:
Enumeration
final protected def Value(i: Int): Value
Inherited from:
Enumeration
final protected def Value: Value
Inherited from:
Enumeration
final def apply(x: Int): Value
Inherited from:
Enumeration
final def maxId: Int
Inherited from:
Enumeration
protected def readResolve(): AnyRef
Inherited from:
Enumeration
override def toString(): String
Definition Classes
Enumeration -> Any
Inherited from:
Enumeration
Inherited from:
Enumeration
final def withName(s: String): Value
Inherited from:
Enumeration

Concrete fields