RuleSet

class RuleSet(val ruleSelectionMethods: Array[RuleSelectionMethod], val scoreDistributions: ScoreDistributions, val rules: Array[Rule], val recordCount: Option[Int], val nbCorrect: Option[Int], val defaultScore: Option[Any], val defaultConfidence: Option[Double]) extends PmmlElement
Value parameters:
defaultConfidence

provides a confidence to be returned with the default score (when scoring a case and no rules in the ruleset fire).

defaultScore

The value of score in a RuleSet serves as the default predicted value when scoring a case no rules in the ruleset fire.

nbCorrect

indicates the number of training/test instances for which the default score is correct.

recordCount

The number of training/test cases to which the ruleset was applied to generate support and confidence measures for individual rules.

ruleSelectionMethods

specifies how to select rules from the ruleset to score a new case. If more than one method is included, the first method is used as the default method for scoring, but the other methods included may be selected by the application wishing to perform scoring as valid alternative methods.

rules

contains 0 or more rules which comprise the ruleset.

scoreDistributions

describe the distribution of the predicted value in the test/training data.

trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

def fire(series: Series): Array[SimpleRule]
def first(series: Series): Option[SimpleRule]

Inherited methods

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

Concrete fields

val defaultConfidence: Option[Double]
val defaultScore: Option[Any]
val nbCorrect: Option[Int]
val recordCount: Option[Int]
val rules: Array[Rule]