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 data

    Data manipulation functions.

    Data manipulation functions.

    Definition Classes
    smile
  • package formula

    Formula DSL.

    Formula DSL.

    Definition Classes
    data
  • FormulaBuilder
c

smile.data.formula

FormulaBuilder

case class FormulaBuilder(y: Option[Term], x: ListBuffer[Term]) extends Product with Serializable

DSL to build a formula in R style.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FormulaBuilder
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
Implicitly
  1. by buildFormula
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new FormulaBuilder(y: Option[Term], x: ListBuffer[Term])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(variable: String): FormulaBuilder
  4. def +(term: Term): FormulaBuilder
  5. def -(variable: String): FormulaBuilder
  6. def -(term: Term): FormulaBuilder
  7. def ->[B](y: B): (FormulaBuilder, B)
    Implicit
    This member is added by an implicit conversion from FormulaBuilder toArrowAssoc[FormulaBuilder] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  8. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def apply(arg0: Tuple): Tuple
    Implicit
    This member is added by an implicit conversion from FormulaBuilder toFormula performed by method buildFormula in smile.data.formula.
    Definition Classes
    Formula
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def bind(arg0: StructType): StructType
    Implicit
    This member is added by an implicit conversion from FormulaBuilder toFormula performed by method buildFormula in smile.data.formula.
    Definition Classes
    Formula
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  13. def ensuring(cond: (FormulaBuilder) => Boolean, msg: => Any): FormulaBuilder
    Implicit
    This member is added by an implicit conversion from FormulaBuilder toEnsuring[FormulaBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (FormulaBuilder) => Boolean): FormulaBuilder
    Implicit
    This member is added by an implicit conversion from FormulaBuilder toEnsuring[FormulaBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: => Any): FormulaBuilder
    Implicit
    This member is added by an implicit conversion from FormulaBuilder toEnsuring[FormulaBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): FormulaBuilder
    Implicit
    This member is added by an implicit conversion from FormulaBuilder toEnsuring[FormulaBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: AnyRef): Boolean
    Implicit
    This member is added by an implicit conversion from FormulaBuilder toFormula performed by method buildFormula in smile.data.formula.
    Definition Classes
    Formula → AnyRef → Any
  19. def expand(arg0: StructType): Formula
    Implicit
    This member is added by an implicit conversion from FormulaBuilder toFormula performed by method buildFormula in smile.data.formula.
    Definition Classes
    Formula
  20. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  21. def frame(arg0: DataFrame): DataFrame
    Implicit
    This member is added by an implicit conversion from FormulaBuilder toFormula performed by method buildFormula in smile.data.formula.
    Definition Classes
    Formula
  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. def matrix(arg0: DataFrame, arg1: Boolean): Matrix
    Implicit
    This member is added by an implicit conversion from FormulaBuilder toFormula performed by method buildFormula in smile.data.formula.
    Definition Classes
    Formula
  25. def matrix(arg0: DataFrame): Matrix
    Implicit
    This member is added by an implicit conversion from FormulaBuilder toFormula performed by method buildFormula in smile.data.formula.
    Definition Classes
    Formula
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. def predictors(): Array[Term]
    Implicit
    This member is added by an implicit conversion from FormulaBuilder toFormula performed by method buildFormula in smile.data.formula.
    Definition Classes
    Formula
  30. def productElementNames: Iterator[String]
    Definition Classes
    Product
  31. def response(): Term
    Implicit
    This member is added by an implicit conversion from FormulaBuilder toFormula performed by method buildFormula in smile.data.formula.
    Definition Classes
    Formula
  32. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  33. def toFormula: Formula

    Builds the formula.

  34. def toString(): String
    Implicit
    This member is added by an implicit conversion from FormulaBuilder toFormula performed by method buildFormula in smile.data.formula.
    Definition Classes
    Formula → AnyRef → Any
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  38. val x: ListBuffer[Term]
  39. val y: Option[Term]
  40. def yint(arg0: Tuple): Int
    Implicit
    This member is added by an implicit conversion from FormulaBuilder toFormula performed by method buildFormula in smile.data.formula.
    Definition Classes
    Formula

Shadowed Implicit Value Members

  1. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from FormulaBuilder toany2stringadd[FormulaBuilder] performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (formulaBuilder: any2stringadd[FormulaBuilder]).+(other)
    Definition Classes
    any2stringadd
  2. def x(arg0: DataFrame): DataFrame
    Implicit
    This member is added by an implicit conversion from FormulaBuilder toFormula performed by method buildFormula in smile.data.formula.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (formulaBuilder: Formula).x(arg0)
    Definition Classes
    Formula
  3. def x(arg0: Tuple): Tuple
    Implicit
    This member is added by an implicit conversion from FormulaBuilder toFormula performed by method buildFormula in smile.data.formula.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (formulaBuilder: Formula).x(arg0)
    Definition Classes
    Formula
  4. def y(arg0: Tuple): Double
    Implicit
    This member is added by an implicit conversion from FormulaBuilder toFormula performed by method buildFormula in smile.data.formula.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (formulaBuilder: Formula).y(arg0)
    Definition Classes
    Formula
  5. def y(arg0: DataFrame): BaseVector[T, TS, S] forSome {type T <: AnyRef, type TS <: AnyRef, type S <: BaseStream[TS, S]}
    Implicit
    This member is added by an implicit conversion from FormulaBuilder toFormula performed by method buildFormula in smile.data.formula.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (formulaBuilder: Formula).y(arg0)
    Definition Classes
    Formula

Deprecated Value Members

  1. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from FormulaBuilder toStringFormat[FormulaBuilder] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  2. def [B](y: B): (FormulaBuilder, B)
    Implicit
    This member is added by an implicit conversion from FormulaBuilder toArrowAssoc[FormulaBuilder] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion buildFormula fromFormulaBuilder to Formula

Inherited by implicit conversion any2stringadd fromFormulaBuilder to any2stringadd[FormulaBuilder]

Inherited by implicit conversion StringFormat fromFormulaBuilder to StringFormat[FormulaBuilder]

Inherited by implicit conversion Ensuring fromFormulaBuilder to Ensuring[FormulaBuilder]

Inherited by implicit conversion ArrowAssoc fromFormulaBuilder to ArrowAssoc[FormulaBuilder]

Ungrouped