Object

smile.validation

bootstrap

Related Doc: package validation

Permalink

object bootstrap

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. bootstrap
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def classification[M <: DataFrameClassifier](k: Int, formula: Formula, data: DataFrame)(trainer: (Formula, DataFrame) ⇒ M): ClassificationValidations[M]

    Permalink

    Bootstrap validation on a data frame classifier.

    Bootstrap validation on a data frame classifier.

    k

    k-round bootstrap estimation.

    data

    data samples.

    trainer

    a code block to return a classifier trained on the given data.

    returns

    the error rates of each round.

  6. def classification[T <: AnyRef, M <: Classifier[T]](k: Int, x: Array[T], y: Array[Int])(trainer: (Array[T], Array[Int]) ⇒ M): ClassificationValidations[M]

    Permalink

    Bootstrap validation on a generic classifier.

    Bootstrap validation on a generic classifier. The bootstrap is a general tool for assessing statistical accuracy. The basic idea is to randomly draw datasets with replacement from the training data, each sample the same size as the original training set. This is done many times (say k = 100), producing k bootstrap datasets. Then we refit the model to each of the bootstrap datasets and examine the behavior of the fits over the k replications.

    k

    k-round bootstrap estimation.

    x

    data samples.

    y

    sample labels.

    trainer

    a code block to return a classifier trained on the given data.

    returns

    the error rates of each round.

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. def regression[M <: DataFrameRegression](k: Int, formula: Formula, data: DataFrame)(trainer: (Formula, DataFrame) ⇒ M): RegressionValidations[M]

    Permalink

    Bootstrap validation on a data frame regression model.

    Bootstrap validation on a data frame regression model.

    k

    k-round bootstrap estimation.

    data

    data samples.

    trainer

    a code block to return a regression model trained on the given data.

    returns

    the root mean squared error of each round.

  18. def regression[T <: AnyRef, M <: Regression[T]](k: Int, x: Array[T], y: Array[Double])(trainer: (Array[T], Array[Double]) ⇒ M): RegressionValidations[M]

    Permalink

    Bootstrap validation on a generic regression model.

    Bootstrap validation on a generic regression model.

    k

    k-round bootstrap estimation.

    x

    data samples.

    y

    response variable.

    trainer

    a code block to return a regression model trained on the given data.

    returns

    the root mean squared error of each round.

  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped