c

io.citrine.lolo.bags

BaggerHelper

case class BaggerHelper(models: ParSeq[Model[PredictionResult[Any]]], trainingData: Seq[(Vector[Any], Any)], Nib: Vector[Vector[Int]], useJackknife: Boolean, uncertaintyCalibration: Boolean) extends Product with Serializable

Helper class to subsume shared functionality of Bagger and MultiTaskBagger.

models

collection of trained models

trainingData

on which models were trained

Nib

vector (over models) of vectors (over training data) of the number of repeats in each model's bag

useJackknife

whether to use jackknife for uncertainty quantification

uncertaintyCalibration

whether to apply empirical uncertainty calibration

Attributes
protected
Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BaggerHelper
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new BaggerHelper(models: ParSeq[Model[PredictionResult[Any]]], trainingData: Seq[(Vector[Any], Any)], Nib: Vector[Vector[Int]], useJackknife: Boolean, uncertaintyCalibration: Boolean)

    models

    collection of trained models

    trainingData

    on which models were trained

    Nib

    vector (over models) of vectors (over training data) of the number of repeats in each model's bag

    useJackknife

    whether to use jackknife for uncertainty quantification

    uncertaintyCalibration

    whether to apply empirical uncertainty calibration

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. val Nib: Vector[Vector[Int]]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. lazy val biasTraining: Seq[(Vector[Any], Double)]

    Data on which to train a bias learner.

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. val isRegression: Boolean
  13. val models: ParSeq[Model[PredictionResult[Any]]]
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. lazy val oobErrors: Seq[(Vector[Any], Double, Double)]

    Seq of tuples containing training data paired with their out-of-bag residuals and uncertainty estimates.

    Seq of tuples containing training data paired with their out-of-bag residuals and uncertainty estimates. Defined as lazy so it's only computed if needed for the ratio or bias learner calculations.

  18. def productElementNames: Iterator[String]
    Definition Classes
    Product
  19. val ratio: Double

    Calculate the uncertainty calibration ratio, which is the 68th percentile of error/uncertainty.

    Calculate the uncertainty calibration ratio, which is the 68th percentile of error/uncertainty. for the training points. If a point has 0 uncertainty, the ratio is 1 iff error is also 0, or infinity otherwise. If the 68th percentile ratio is infinity, default to 1.0. This is not unreasonable when the number of training data and bags are small, meaning there may only be 2 out-of-bag models.

  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. val trainingData: Seq[(Vector[Any], Any)]
  22. val uncertaintyCalibration: Boolean
  23. val useJackknife: Boolean
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. 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 AnyRef

Inherited from Any

Ungrouped