Packages

c

org.pmml4s.model

GeneralRegressionModel

class GeneralRegressionModel extends Model with HasWrappedGeneralRegressionAttributes

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GeneralRegressionModel
  2. HasWrappedGeneralRegressionAttributes
  3. HasGeneralRegressionAttributes
  4. Model
  5. PmmlElement
  6. Serializable
  7. HasExtensions
  8. HasModelVerification
  9. Predictable
  10. HasTargetFields
  11. ModelLocation
  12. FieldScope
  13. HasField
  14. HasLocalTransformations
  15. HasTargets
  16. HasModelExplanation
  17. HasModelStats
  18. HasOutput
  19. HasMiningSchema
  20. HasWrappedModelAttributes
  21. HasModelAttributes
  22. HasVersion
  23. HasParent
  24. AnyRef
  25. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new GeneralRegressionModel(parent: Model, attributes: GeneralRegressionAttributes, miningSchema: MiningSchema, parameterList: ParameterList, factorList: Option[FactorList], covariateList: Option[CovariateList], ppMatrix: PPMatrix, pCovMatrix: Option[PCovMatrix], paramMatrix: ParamMatrix, eventValues: Option[EventValues], baseCumHazardTables: Option[BaseCumHazardTables], output: Option[Output] = None, targets: Option[Targets] = None, localTransformations: Option[LocalTransformations] = None, modelStats: Option[ModelStats] = None, modelExplanation: Option[ModelExplanation] = None, modelVerification: Option[ModelVerification] = None, extensions: Seq[Extension] = immutable.Seq.empty)

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. val NullOutputsPair: (Series, ModelOutputs)
    Attributes
    protected
    Definition Classes
    Model
  5. def algorithmName: Option[String]

    The algorithm name is free-type and can be any description for the specific algorithm that produced the model.

    The algorithm name is free-type and can be any description for the specific algorithm that produced the model. This attribute is for information only.

    Definition Classes
    HasWrappedModelAttributesHasModelAttributes
  6. def anyMissing(series: Series): Boolean

    Returns true if there are any missing values of all input fields in the specified series.

    Returns true if there are any missing values of all input fields in the specified series.

    Attributes
    protected
    Definition Classes
    Model
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. val attributes: GeneralRegressionAttributes

    Common attributes of this model

    Common attributes of this model

    Definition Classes
    GeneralRegressionModelHasWrappedGeneralRegressionAttributesHasWrappedModelAttributes
  9. val baseCumHazardTables: Option[BaseCumHazardTables]
  10. def baselineStrataVariable: Option[Field]

    If modelType is CoxRegression, this variable is optional, if present it is used during scoring (see the description of scoring procedures below).

    If modelType is CoxRegression, this variable is optional, if present it is used during scoring (see the description of scoring procedures below). This attribute must refer to a DataField or a DerivedField containing a categorical variable.

    Definition Classes
    HasWrappedGeneralRegressionAttributesHasGeneralRegressionAttributes
  11. def candidateOutputFields: Array[OutputField]
    Definition Classes
    HasOutput
  12. def candidateOutputSchema: StructType

    The schema of candidate outputs.

    The schema of candidate outputs.

    Definition Classes
    Model
  13. def classes(name: String): Array[DataVal]

    Returns class labels of the specified target.

    Returns class labels of the specified target.

    Definition Classes
    Model
  14. lazy val classes: Array[DataVal]

    The class labels in a classification model.

    The class labels in a classification model.

    Definition Classes
    Model
  15. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  16. def combineOutputFields(listA: Array[OutputField], listB: Array[OutputField]): Array[OutputField]
    Definition Classes
    HasOutput
  17. def containInterResults: Boolean
    Definition Classes
    HasOutput
  18. val covariateList: Option[CovariateList]
  19. def createOutputs(): ModelOutputs

    Creates an object of GeneralRegressionOutputs that is for writing into an output series.

    Creates an object of GeneralRegressionOutputs that is for writing into an output series.

    Definition Classes
    GeneralRegressionModelModel
  20. def cumulativeLink: Option[CumulativeLinkFunction]

    Specifies the type of cumulative link function to use when ordinalMultinomial model type is specified.

    Specifies the type of cumulative link function to use when ordinalMultinomial model type is specified.

    Definition Classes
    HasWrappedGeneralRegressionAttributesHasGeneralRegressionAttributes
  21. val customOutputFields: Array[OutputField]

    User-defined custom output fields, both the internal output of PMML and predefined output are ignored when the field is specified.

    User-defined custom output fields, both the internal output of PMML and predefined output are ignored when the field is specified.

    Definition Classes
    HasOutput
  22. def dVersion: Double

    Returns PMML version as a double value

    Returns PMML version as a double value

    Definition Classes
    HasVersion
  23. def dataDictionary: DataDictionary

    The data dictionary of this model.

    The data dictionary of this model.

    Definition Classes
    Model
  24. def defaultOutputFields: Array[OutputField]

    Returns all candidates output fields of this model when there is no output specified explicitly.

    Returns all candidates output fields of this model when there is no output specified explicitly.

    Definition Classes
    Model
  25. def distParameter: Option[Double]

    Specifies an ancillary parameter value for the negative binomial distribution.

    Specifies an ancillary parameter value for the negative binomial distribution.

    Definition Classes
    HasWrappedGeneralRegressionAttributesHasGeneralRegressionAttributes
  26. def distribution: Option[Distribution]

    The probability distribution of the dependent variable for generalizedLinear model may be specified as normal, binomial, gamma, inverse Gaussian, negative binomial, or Poisson.

    The probability distribution of the dependent variable for generalizedLinear model may be specified as normal, binomial, gamma, inverse Gaussian, negative binomial, or Poisson. Note that binomial distribution can be used in two situations: either the target is categorical with two categories or a trialsVariable or trialsValue is specified.

    Definition Classes
    HasWrappedGeneralRegressionAttributesHasGeneralRegressionAttributes
  27. def encode(series: Series): DSeries

    Encodes the input series.

    Encodes the input series.

    Attributes
    protected
    Definition Classes
    Model
  28. def endTimeVariable: Option[Field]

    If modelType is CoxRegression, this variable is required during scoring (see the description of scoring procedures below).

    If modelType is CoxRegression, this variable is required during scoring (see the description of scoring procedures below). This attribute must refer to a DataField or a DerivedField containing a continuous variable.

    Definition Classes
    HasWrappedGeneralRegressionAttributesHasGeneralRegressionAttributes
  29. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  31. val eventValues: Option[EventValues]
  32. val extensions: Seq[Extension]
  33. val factorList: Option[FactorList]
  34. def field(name: String): Field

    Returns the field of a given name.

    Returns the field of a given name.

    Definition Classes
    HasField
    Exceptions thrown

    FieldNotFoundException if a field with the given name does not exist

  35. def fieldsOfUsageType(typ: UsageType): Array[Field]

    Get fields by its usage type: 'active', 'target', 'predicted', 'group' and so on

    Get fields by its usage type: 'active', 'target', 'predicted', 'group' and so on

    Definition Classes
    Model
  36. def findBaselineCell(baselineCells: Array[BaselineCell], endTime: Double): BaselineCell
  37. def functionName: MiningFunction

    Describe the kind of mining model, e.g., whether it is intended to be used for clustering or for classification.

    Describe the kind of mining model, e.g., whether it is intended to be used for clustering or for classification.

    Definition Classes
    HasWrappedModelAttributesHasModelAttributes
  38. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  39. def getField(name: String): Option[Field]

    Returns the field of a given name, None if a field with the given name does not exist.

    Returns the field of a given name, None if a field with the given name does not exist.

    Definition Classes
    ModelHasField
  40. def hasExtensions: Boolean
    Definition Classes
    HasExtensions
  41. def hasTarget: Boolean
    Definition Classes
    HasTargetFields
  42. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  43. def header: Header

    The header of this model.

    The header of this model.

    Definition Classes
    Model
  44. lazy val implicitInputDerivedFields: Array[Field]

    Implicit referenced derived fields for the sub-model except ones defined in the mining schema.

    Implicit referenced derived fields for the sub-model except ones defined in the mining schema.

    Definition Classes
    Model
  45. def importances: Map[String, Double]

    Returns importances of predictors.

    Returns importances of predictors.

    Definition Classes
    Model
  46. def inferClasses: Array[DataVal]

    The sub-classes can override this method to provide classes of target inside model.

    The sub-classes can override this method to provide classes of target inside model.

    Definition Classes
    Model
  47. lazy val inputDerivedFields: Array[Field]

    Referenced derived fields.

    Referenced derived fields.

    Definition Classes
    Model
  48. lazy val inputFields: Array[Field]

    All input fields in an array.

    All input fields in an array.

    Definition Classes
    Model
  49. lazy val inputNames: Array[String]

    All input names in an array.

    All input names in an array.

    Definition Classes
    Model
  50. lazy val inputSchema: StructType

    The schema of inputs.

    The schema of inputs.

    Definition Classes
    Model
  51. def isAssociationRules: Boolean

    Tests if this is a association rules model.

    Tests if this is a association rules model.

    Definition Classes
    HasModelAttributes
  52. def isBinary: Boolean

    Tests if the target is a binary field

    Tests if the target is a binary field

    Definition Classes
    Model
  53. def isClassification(name: String): Boolean

    Tests if this is a classification model of the specified target, it's applicable for multiple targets.

    Tests if this is a classification model of the specified target, it's applicable for multiple targets.

    Definition Classes
    Model
  54. def isClassification: Boolean

    Tests if this is a classification model.

    Tests if this is a classification model.

    Definition Classes
    ModelHasModelAttributes
  55. def isClustering: Boolean

    Tests if this is a clustering model.

    Tests if this is a clustering model.

    Definition Classes
    HasModelAttributes
  56. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  57. def isMixed: Boolean

    Tests if this is a mixed model.

    Tests if this is a mixed model.

    Definition Classes
    HasModelAttributes
  58. def isOrdinal: Boolean

    Tests if the target is an ordinal field

    Tests if the target is an ordinal field

    Definition Classes
    Model
  59. def isPredictionOnly: Boolean
    Definition Classes
    HasOutput
  60. def isRegression(name: String): Boolean

    Tests if this is a regression model of the specified target, it's applicable for multiple targets.

    Tests if this is a regression model of the specified target, it's applicable for multiple targets.

    Definition Classes
    Model
  61. def isRegression: Boolean

    Tests if this is a regression model.

    Tests if this is a regression model.

    Definition Classes
    ModelHasModelAttributes
  62. def isScorable: Boolean

    Indicates if the model is valid for scoring.

    Indicates if the model is valid for scoring. If this attribute is true or if it is missing, then the model should be processed normally. However, if the attribute is false, then the model producer has indicated that this model is intended for information purposes only and should not be used to generate results.

    Definition Classes
    HasWrappedModelAttributesHasModelAttributes
  63. def isSequences: Boolean

    Tests if this is a sequences model.

    Tests if this is a sequences model.

    Definition Classes
    HasModelAttributes
  64. val isSubModel: Boolean
    Definition Classes
    ModelLocation
  65. def isTimeSeries: Boolean

    Tests if this is a time series model.

    Tests if this is a time series model.

    Definition Classes
    HasModelAttributes
  66. val isTopLevelModel: Boolean
    Definition Classes
    ModelLocation
  67. def linkFunction: Option[LinkFunction]

    Specifies the type of link function to use when generalizedLinear model type is specified.

    Specifies the type of link function to use when generalizedLinear model type is specified.

    Definition Classes
    HasWrappedGeneralRegressionAttributesHasGeneralRegressionAttributes
  68. def linkParameter: Option[Double]

    Specifies an additional number the following link functions need: oddspower and power.

    Specifies an additional number the following link functions need: oddspower and power.

    Definition Classes
    HasWrappedGeneralRegressionAttributesHasGeneralRegressionAttributes
  69. val localTransformations: Option[LocalTransformations]

    The optional local transformations.

    The optional local transformations.

    Definition Classes
    GeneralRegressionModelHasLocalTransformations
  70. val miningSchema: MiningSchema
  71. def modelDF: Option[Double]

    The value of degrees of freedom for the model.

    The value of degrees of freedom for the model. This value is needed for computing confidence intervals for predicted values.

    Definition Classes
    HasWrappedGeneralRegressionAttributesHasGeneralRegressionAttributes
  72. def modelElement: ModelElement

    Model element type.

    Model element type.

    Definition Classes
    GeneralRegressionModelModel
  73. val modelExplanation: Option[ModelExplanation]
  74. def modelName: Option[String]

    Identifies the model with a unique name in the context of the PMML file.

    Identifies the model with a unique name in the context of the PMML file. This attribute is not required. Consumers of PMML models are free to manage the names of the models at their discretion.

    Definition Classes
    HasWrappedModelAttributesHasModelAttributes
  75. val modelStats: Option[ModelStats]
  76. def modelType: GeneralModelType

    Specifies the type of regression model in use.

    Specifies the type of regression model in use.

    Definition Classes
    HasWrappedGeneralRegressionAttributesHasGeneralRegressionAttributes
  77. val modelVerification: Option[ModelVerification]
  78. def multiTargets: Boolean
    Definition Classes
    HasTargetFields
  79. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  80. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  81. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  82. lazy val nullSeries: Series

    A series with all null values is returned when can not produce a result.

    A series with all null values is returned when can not produce a result.

    Definition Classes
    Model
  83. def numClasses(name: String): Int

    Returns the number of class labels of the specified target.

    Returns the number of class labels of the specified target.

    Definition Classes
    Model
  84. lazy val numClasses: Int

    The number of class labels in a classification model.

    The number of class labels in a classification model.

    Definition Classes
    Model
  85. def offsetValue: Option[Double]

    If present, this value is used during scoring generalizedLinear, ordinalMultinomial, or multinomialLogistic models.

    If present, this value is used during scoring generalizedLinear, ordinalMultinomial, or multinomialLogistic models. It works like a user-specified intercept (see the description of the scoring procedures below). At most one of the attributes offsetVariable and offsetValue can be present in a model.

    Definition Classes
    HasWrappedGeneralRegressionAttributesHasGeneralRegressionAttributes
  86. def offsetVariable: Option[Field]

    If present, this variable is used during scoring generalizedLinear, ordinalMultinomial, or multinomialLogistic models (see the description of scoring procedures below).

    If present, this variable is used during scoring generalizedLinear, ordinalMultinomial, or multinomialLogistic models (see the description of scoring procedures below). This attribute must refer to a DataField or a DerivedField.

    Definition Classes
    HasWrappedGeneralRegressionAttributesHasGeneralRegressionAttributes
  87. def opType(name: String): OpType

    Returns optype of the specified target.

    Returns optype of the specified target.

    Definition Classes
    Model
  88. lazy val opType: OpType

    When Target specifies optype then it overrides the optype attribute in a corresponding MiningField, if it exists.

    When Target specifies optype then it overrides the optype attribute in a corresponding MiningField, if it exists. If the target does not specify optype then the MiningField is used as default. And, in turn, if the MiningField does not specify an optype, it is taken from the corresponding DataField. In other words, a MiningField overrides a DataField, and a Target overrides a MiningField.

    Definition Classes
    Model
  89. val output: Option[Output]
    Definition Classes
    GeneralRegressionModelHasOutput
  90. def outputFields: Array[OutputField]
    Definition Classes
    HasOutput
  91. def outputIndex(feature: ResultFeature, value: Option[Any] = None): Int
    Definition Classes
    HasOutput
  92. def outputNames: Array[String]
    Definition Classes
    HasOutput
  93. def outputSchema: StructType

    The schema of final outputs.

    The schema of final outputs.

    Definition Classes
    Model
  94. val pCovMatrix: Option[PCovMatrix]
  95. val paramMatrix: ParamMatrix
  96. val parameterList: ParameterList
  97. var parent: Model

    The parent model.

    The parent model.

    Definition Classes
    GeneralRegressionModelHasParent
  98. def postClassification(name: String = null): (DataVal, Map[DataVal, Double])
    Attributes
    protected
    Definition Classes
    Model
  99. def postPredictedValue(outputs: MutablePredictedValue, name: String = null): MutablePredictedValue
    Attributes
    protected
    Definition Classes
    Model
  100. def postRegression(predictedValue: DataVal, name: String = null): DataVal
    Attributes
    protected
    Definition Classes
    Model
  101. val ppMatrix: PPMatrix
  102. def predict(values: Series): Series

    Predicts values for a given data series.

    Predicts values for a given data series.

    values

    An input data series

    returns

    An output data series

    Definition Classes
    GeneralRegressionModelModelPredictable
  103. def predict(it: Iterator[Series]): Iterator[Series]
    Definition Classes
    Model
  104. def predict(json: String): String

    Predicts one or multiple records in json format, there are two formats supported:

    Predicts one or multiple records in json format, there are two formats supported:

    - ‘records’ : list like [{column -> value}, … , {column -> value}] - ‘split’ : dict like {‘columns’ -> [columns], ‘data’ -> [values]}

    json

    Records in json

    returns

    Results in json

    Definition Classes
    Model
  105. def predict(values: List[Any]): List[Any]
    Definition Classes
    Model
  106. def predict[T](values: Array[T]): Array[Any]

    Predicts values for a given Array, and the order of those values is supposed as same as the input fields list

    Predicts values for a given Array, and the order of those values is supposed as same as the input fields list

    Definition Classes
    Model
  107. def predict(values: (String, Any)*): Seq[(String, Any)]

    Predicts values for a given list of key/value pairs.

    Predicts values for a given list of key/value pairs.

    Definition Classes
    Model
  108. def predict(values: Map[String, Any]): Map[String, Any]

    Predicts values for a given data map of Java.

    Predicts values for a given data map of Java.

    Definition Classes
    Model
  109. def predict(values: Map[String, Any]): Map[String, Any]

    Predicts values for a given data map.

    Predicts values for a given data map.

    Definition Classes
    Model
  110. lazy val predictedValueIndex: Int
    Definition Classes
    HasOutput
  111. def prepare(series: Series): (Series, Boolean)

    Pre-process the input series.

    Pre-process the input series.

    Attributes
    protected
    Definition Classes
    Model
  112. def probabilitiesSupported: Boolean

    Tests if probabilities of categories of target can be produced by this model.

    Tests if probabilities of categories of target can be produced by this model.

    Definition Classes
    Model
  113. def result(series: Series, modelOutputs: ModelOutputs, fields: Array[OutputField] = Array.empty): Series
    Attributes
    protected
    Definition Classes
    Model
  114. def score(values: Series, modelOutputs: Option[ModelOutputs] = None): (Series, ModelOutputs)

    Predicts value for a given data series

    Predicts value for a given data series

    values

    An input data series

    modelOutputs

    An input model outputs that can hold all results, it will be ignored if its type doesn't match the current model.

    returns

    An object of model outputs

    Definition Classes
    Model
  115. def setOutputFields(outputFields: Array[OutputField]): GeneralRegressionModel.this.type
    Definition Classes
    HasOutput
  116. def setParent(parent: Model): GeneralRegressionModel.this.type
    Definition Classes
    HasParent
  117. def setSupplementOutput(value: Boolean): GeneralRegressionModel.this.type
    Definition Classes
    HasOutput
  118. def singleTarget: Boolean
    Definition Classes
    HasTargetFields
  119. def size: Int
    Definition Classes
    HasTargetFields
  120. def startTimeVariable: Option[Field]

    If modelType is CoxRegression, this variable is optional, it is not used during scoring but is an important piece of information about model building.

    If modelType is CoxRegression, this variable is optional, it is not used during scoring but is an important piece of information about model building. This attribute must refer to a DataField or a DerivedField containing a continuous variable.

    Definition Classes
    HasWrappedGeneralRegressionAttributesHasGeneralRegressionAttributes
  121. def statusVariable: Option[Field]

    If modelType is CoxRegression, this variable is optional.

    If modelType is CoxRegression, this variable is optional. This attribute must refer to a DataField or a DerivedField.

    Definition Classes
    HasWrappedGeneralRegressionAttributesHasGeneralRegressionAttributes
  122. def subjectIDVariable: Option[Field]

    If modelType is CoxRegression, this variable is optional, it is not used during scoring but is an important piece of information about model building.

    If modelType is CoxRegression, this variable is optional, it is not used during scoring but is an important piece of information about model building. This attribute must refer to a DataField or a DerivedField. Explicitly listing all categories of this variable is not recommended.

    Definition Classes
    HasWrappedGeneralRegressionAttributesHasGeneralRegressionAttributes
  123. val supplementOutput: Boolean

    A flag for whether to return those predefined output fields not exist in the output element explicitly.

    A flag for whether to return those predefined output fields not exist in the output element explicitly.

    Definition Classes
    HasOutput
  124. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  125. lazy val targetClasses: Map[String, Array[DataVal]]

    The class labels of all categorical targets.

    The class labels of all categorical targets.

    Definition Classes
    Model
  126. lazy val targetField: Field

    The first target field for the supervised model.

    The first target field for the supervised model.

    Definition Classes
    Model
  127. lazy val targetFields: Array[Field]

    All target fields in an array.

    All target fields in an array. Multiple target fields are allowed. It depends on the kind of the model whether prediction of multiple fields is supported.

    Definition Classes
    Model
  128. def targetFieldsOfResidual: Array[Field]

    Returns targets that are residual values to be computed, the input data must include target values.

    Returns targets that are residual values to be computed, the input data must include target values.

    Definition Classes
    HasOutput
  129. def targetName: String

    Name of the first target for the supervised model.

    Name of the first target for the supervised model.

    Definition Classes
    HasTargetFields
  130. lazy val targetNames: Array[String]

    All target names in an array.

    All target names in an array.

    Definition Classes
    ModelHasTargetFields
  131. def targetNamesOfResidual: Array[String]
    Definition Classes
    HasOutput
  132. val targetReferenceCategory: Option[DataVal]

    Used for specifying the reference category of the target variable in a multinomial classification model.

    Used for specifying the reference category of the target variable in a multinomial classification model. Normally the reference category is the one from DataDictionary that does not appear in the ParamMatrix, but when several models are combined in one PMML file an explicit specification is needed.

    Definition Classes
    GeneralRegressionModelHasGeneralRegressionAttributes
  133. def targetVariableName: Option[String]

    Name of the target variable (also called response variable).

    Name of the target variable (also called response variable). This attribute has been deprecated since PMML 3.0. If present, it should match the name of the target MiningField.

    Definition Classes
    HasWrappedGeneralRegressionAttributesHasGeneralRegressionAttributes
  134. val targets: Option[Targets]
    Definition Classes
    GeneralRegressionModelHasTargets
  135. def toString(): String
    Definition Classes
    AnyRef → Any
  136. def transformationDictionary: Option[TransformationDictionary]

    The optional transformation dictionary.

    The optional transformation dictionary.

    Definition Classes
    Model
  137. def trialsValue: Option[Int]

    A positive integer used during scoring some generalizedLinear models (see the description of scoring procedure below).

    A positive integer used during scoring some generalizedLinear models (see the description of scoring procedure below). At most one of the attributes trialsVariable and trialsValue can be present in a model. This attribute can only be used when the distribution is binomial.

    Definition Classes
    HasWrappedGeneralRegressionAttributesHasGeneralRegressionAttributes
  138. def trialsVariable: Option[Field]

    Specifies an additional variable used during scoring some generalizedLinear models (see the description of scoring procedure below).

    Specifies an additional variable used during scoring some generalizedLinear models (see the description of scoring procedure below). This attribute must refer to a DataField or a DerivedField. This attribute can only be used when the distribution is binomial.

    Definition Classes
    HasWrappedGeneralRegressionAttributesHasGeneralRegressionAttributes
  139. def unionCandidateOutputFields: Array[OutputField]
    Definition Classes
    HasOutput
  140. def unionOutputFields: Array[OutputField]
    Definition Classes
    HasOutput
  141. lazy val usedFields: Array[Field]

    Setup indices to retrieve data from series faster by index instead of name, the index is immutable when model is built because the model object could run in multiple threads, so it's important make sure the model object is totally immutable.

    Setup indices to retrieve data from series faster by index instead of name, the index is immutable when model is built because the model object could run in multiple threads, so it's important make sure the model object is totally immutable.

    Setup indices of targets that are usually not used by the scoring process, they are only used when residual values to be computed.

    Definition Classes
    Model
  142. lazy val usedSchema: StructType

    The schema of used fields.

    The schema of used fields.

    Definition Classes
    Model
  143. def version: String

    PMML version.

    PMML version.

    Definition Classes
    HasVersion
  144. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  145. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  146. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

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 Model

Inherited from PmmlElement

Inherited from Serializable

Inherited from HasExtensions

Inherited from HasModelVerification

Inherited from Predictable

Inherited from HasTargetFields

Inherited from ModelLocation

Inherited from FieldScope

Inherited from HasField

Inherited from HasTargets

Inherited from HasModelExplanation

Inherited from HasModelStats

Inherited from HasOutput

Inherited from HasMiningSchema

Inherited from HasModelAttributes

Inherited from HasVersion

Inherited from HasParent

Inherited from AnyRef

Inherited from Any

Ungrouped