Packages

  • package root

    Smile (Statistical Machine Intelligence and Learning Engine) is a fast and comprehensive machine learning, NLP, linear algebra, graph, interpolation, and visualization system in Java and Scala.

    Smile (Statistical Machine Intelligence and Learning Engine) is a fast and comprehensive machine learning, NLP, linear algebra, graph, interpolation, and visualization system in Java and Scala. With advanced data structures and algorithms, Smile delivers state-of-art performance.

    Smile covers every aspect of machine learning, including classification, regression, clustering, association rule mining, feature selection, manifold learning, multidimensional scaling, genetic algorithms, missing value imputation, efficient nearest neighbor search, etc.

    Definition Classes
    root
  • package smile
    Definition Classes
    root
  • package validation

    Model validation.

    Model validation.

    Definition Classes
    smile
  • bootstrap
  • cv
  • loocv
  • validate

object loocv

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

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def classification(formula: Formula, data: DataFrame)(trainer: (Formula, DataFrame) => DataFrameClassifier): ClassificationMetrics

    Leave-one-out cross validation on a data frame classifier.

    Leave-one-out cross validation on a data frame classifier.

    formula

    model formula.

    data

    data samples.

    trainer

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

    returns

    metric scores.

  6. def classification[T <: AnyRef](x: Array[T], y: Array[Int])(trainer: (Array[T], Array[Int]) => Classifier[T]): ClassificationMetrics

    Leave-one-out cross validation on a generic classifier.

    Leave-one-out cross validation on a generic classifier. LOOCV uses a single observation from the original sample as the validation data, and the remaining observations as the training data. This is repeated such that each observation in the sample is used once as the validation data. This is the same as a K-fold cross-validation with K being equal to the number of observations in the original sample. Leave-one-out cross-validation is usually very expensive from a computational point of view because of the large number of times the training process is repeated.

    x

    data samples.

    y

    sample labels.

    trainer

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

    returns

    metric scores.

  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 equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  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 hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    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. def regression(formula: Formula, data: DataFrame)(trainer: (Formula, DataFrame) => DataFrameRegression): RegressionMetrics

    Leave-one-out cross validation on a data frame regression model.

    Leave-one-out cross validation on a data frame regression model.

    formula

    model formula.

    data

    data samples.

    trainer

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

    returns

    metric scores.

  18. def regression[T <: AnyRef](x: Array[T], y: Array[Double])(trainer: (Array[T], Array[Double]) => Regression[T]): RegressionMetrics

    Leave-one-out cross validation on a generic regression model.

    Leave-one-out cross validation on a generic regression model.

    x

    data samples.

    y

    response variable.

    trainer

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

    returns

    metric scores.

  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped