class ClassificationResult extends PredictionResult[Any]
Classification result
- Alphabetic
- By Inheritance
- ClassificationResult
- PredictionResult
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ClassificationResult(predictions: Seq[(PredictionResult[Char], TreeMeta)], outputEncoder: CategoricalEncoder[Any])
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()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getDepth(): Seq[Int]
- def getExpected(): Seq[Any]
Get the expected values for this prediction
Get the expected values for this prediction
- returns
expected value of each prediction
- Definition Classes
- ClassificationResult → PredictionResult
- def getGradient(): Option[Seq[Vector[Double]]]
Get the gradient or sensitivity of each prediction
Get the gradient or sensitivity of each prediction
- returns
a vector of doubles for each prediction
- Definition Classes
- PredictionResult
- def getImportanceScores(): Option[Seq[Seq[Double]]]
Get the training row scores for each prediction
Get the training row scores for each prediction
- returns
sequence (over predictions) of sequence (over training rows) of importances
- Definition Classes
- PredictionResult
- def getInfluenceScores(actuals: Seq[Any]): Option[Seq[Seq[Double]]]
Get the improvement (positive) or damage (negative) due to each training row on a prediction
Get the improvement (positive) or damage (negative) due to each training row on a prediction
- actuals
to assess the improvement or damage against
- returns
Sequence (over predictions) of sequence (over training rows) of influence
- Definition Classes
- PredictionResult
- def getUncertainty(observational: Boolean = true): Option[Seq[Any]]
Get the "uncertainty" of the prediction
Get the "uncertainty" of the prediction
For regression, this should be the TotalError if non-observational and the StdDevObs if observational
- observational
whether the uncertainty should account for observational uncertainty
- returns
uncertainty of each prediction
- Definition Classes
- PredictionResult
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()