class SimpleRule extends Rule with HasScoreDistributions with PmmlElement
SimpleRule consists of an identifier, a predicate, a score and information on rule performance.
- Alphabetic
- By Inheritance
- SimpleRule
- PmmlElement
- Serializable
- HasExtensions
- HasScoreDistributions
- Rule
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SimpleRule(predicate: Predicate, scoreDistributions: ScoreDistributions, score: Any, id: Option[String] = None, recordCount: Option[Int] = None, nbCorrect: Option[Int] = None, confidence: Double = 1.0, weight: Double = 1.0)
- predicate
the condition upon which the rule fires. For more details on PREDICATE see the section on predicates in TreeModel. This explains how predicates are described and evaluated and how missing values are handled.
- scoreDistributions
Describes the distribution of the predicted value for instances where the rule fires in the training/test data.
- score
The predicted value when the rule fires.
- id
The value of id serves as a unique identifier for the rule. Must be unique within the ruleset.
- recordCount
The number of training/test instances on which the rule fired.
- nbCorrect
Indicates the number of training/test instances on which the rule fired and the prediction was correct.
- confidence
Indicates the confidence of the rule.
- weight
Indicates the relative importance of the rule. May or may not be equal to the confidence.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val confidence: Double
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def extensions: Seq[Extension]
- Definition Classes
- HasExtensions
- def fire(series: Series): Array[SimpleRule]
- Definition Classes
- SimpleRule → Rule
- def first(series: Series): Option[SimpleRule]
- Definition Classes
- SimpleRule → Rule
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getConfidence(value: Any): Double
- Definition Classes
- HasScoreDistributions
- def getProbability(value: Any): Double
- Definition Classes
- HasScoreDistributions
- def getScoreDistribution(value: Any): Option[ScoreDistribution]
- Definition Classes
- HasScoreDistributions
- def hasExtensions: Boolean
- Definition Classes
- HasExtensions
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val id: Option[String]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val nbCorrect: Option[Int]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val predicate: Predicate
- Definition Classes
- SimpleRule → Rule
- def probabilities: Map[Any, Double]
- Definition Classes
- HasScoreDistributions
- val recordCount: Option[Int]
- val score: Any
- val scoreDistributions: ScoreDistributions
- Definition Classes
- SimpleRule → HasScoreDistributions
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- val weight: Double
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated