c

io.citrine.lolo.bags

MultiTaskBaggedResult

case class MultiTaskBaggedResult(baggedPredictions: Seq[BaggedResult[Any]], realLabels: Seq[Boolean], NibIn: Vector[Vector[Int]]) extends BaggedResult[Seq[Any]] with MultiTaskModelPredictionResult with Product with Serializable

Container with model-wise predictions for each label and the machinery to compute (co)variance.

baggedPredictions

bagged prediction results for each label

realLabels

a boolean sequence indicating which labels are real-valued

NibIn

the sampling matrix as (# bags) x (# training)

Linear Supertypes
Serializable, Product, Equals, MultiTaskModelPredictionResult, BaggedResult[Seq[Any]], PredictionResult[Seq[Any]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MultiTaskBaggedResult
  2. Serializable
  3. Product
  4. Equals
  5. MultiTaskModelPredictionResult
  6. BaggedResult
  7. PredictionResult
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new MultiTaskBaggedResult(baggedPredictions: Seq[BaggedResult[Any]], realLabels: Seq[Boolean], NibIn: Vector[Vector[Int]])

    baggedPredictions

    bagged prediction results for each label

    realLabels

    a boolean sequence indicating which labels are real-valued

    NibIn

    the sampling matrix as (# bags) x (# training)

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. lazy val Nib: Vector[Vector[Int]]
  5. val NibIn: Vector[Vector[Int]]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val baggedPredictions: Seq[BaggedResult[Any]]
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def getExpected(): Seq[Seq[Any]]

    Get the expected values for this prediction

    Get the expected values for this prediction

    returns

    expected value of each prediction

    Definition Classes
    MultiTaskBaggedResultPredictionResult
  13. def getGradient(): Option[Seq[Vector[Double]]]

    Average the gradients from the models in the ensemble

    Average the gradients from the models in the ensemble

    returns

    the gradient of each prediction as a vector of doubles

    Definition Classes
    BaggedResultPredictionResult
  14. 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
  15. 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
  16. def getUncertainty(observational: Boolean = true): Option[Seq[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
    MultiTaskBaggedResultMultiTaskModelPredictionResultPredictionResult
  17. def getUncertaintyCorrelation(i: Int, j: Int, observational: Boolean = true): Option[Seq[Double]]

    Get the correlation coefficients between the predictions made on two labels.

    Get the correlation coefficients between the predictions made on two labels. Correlation coefficient is bounded between -1 and 1. If either index is out of bounds or does not correspond to a real-valued label, then this method must return None.

    i

    index of the first label

    j

    index of the second label

    observational

    whether the uncertainty correlation should take observational noise into account

    returns

    optional sequence of correlation coefficients between specified labels for each prediction

    Definition Classes
    MultiTaskBaggedResultMultiTaskModelPredictionResult
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def numPredictions: Int

    The number of inputs that have been predicted on (NOT the number of bagged models).

    The number of inputs that have been predicted on (NOT the number of bagged models).

    Definition Classes
    MultiTaskBaggedResultBaggedResult
  23. def predictions: Seq[PredictionResult[Seq[Any]]]
    Definition Classes
    MultiTaskBaggedResultBaggedResult
  24. def productElementNames: Iterator[String]
    Definition Classes
    Product
  25. val realLabels: Seq[Boolean]
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from BaggedResult[Seq[Any]]

Inherited from PredictionResult[Seq[Any]]

Inherited from AnyRef

Inherited from Any

Ungrouped