Characteristic

class Characteristic(val name: Option[String], val reasonCode: Option[String], val baselineScore: Option[Double], val attributes: Array[Attribute]) extends PmmlElement

Defines the point allocation strategy for each scorecard characteristic (numeric or categorical). Once point allocation between input attributes and partial scores takes place, each scorecard characteristic is assigned a single partial score which is used to compute the overall score. The overall score is simply the sum of all partial scores. Partial scores are assumed to be continuous values of type "double".

Value parameters:
attributes

Input attributes for each scorecard characteristic are defined in terms of predicates.

baselineScore

Sets the characteristic's baseline score against which to compare the actual partial score when determining the ranking of reason codes. This attribute is required when useReasonCodes attribute is "true" and attribute baselineScore is not defined in element Scorecard. Whenever baselineScore is defined for a Characteristic, it takes precedence over the baselineScore attribute value defined in element Scorecard. Note that the design-time technique used to determine the baseline scores is captured in the baselineMethod attribute.

name

Name of the characteristic. For informational reasons only.

reasonCode

Contains the characteristic's reason code, which will be later mapped to a business reason usually associated with an adverse decision.

trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

def score(series: Series): (Double, Option[String])

Inherited methods

Inherited from:
HasExtensions
def hasExtensions: Boolean
Inherited from:
HasExtensions

Concrete fields

val attributes: Array[Attribute]
val baselineScore: Option[Double]
val name: Option[String]
val reasonCode: Option[String]