Class

smile.data.formula

FormulaBuilder

Related Doc: package formula

Permalink

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

DSL to build a formula in R style.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FormulaBuilder
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. 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. All

Instance Constructors

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

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(variable: String): FormulaBuilder

    Permalink
  4. def +(term: Term): FormulaBuilder

    Permalink
  5. def -(variable: String): FormulaBuilder

    Permalink
  6. def -(term: Term): FormulaBuilder

    Permalink
  7. def ->[B](y: B): (FormulaBuilder, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaBuilder to ArrowAssoc[FormulaBuilder] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  8. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def apply(arg0: Tuple): Tuple

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaBuilder to Formula performed by method buildFormula in smile.data.formula.
    Definition Classes
    Formula
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def bind(arg0: StructType): StructType

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaBuilder to Formula performed by method buildFormula in smile.data.formula.
    Definition Classes
    Formula
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def ensuring(cond: (FormulaBuilder) ⇒ Boolean, msg: ⇒ Any): FormulaBuilder

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaBuilder to Ensuring[FormulaBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (FormulaBuilder) ⇒ Boolean): FormulaBuilder

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaBuilder to Ensuring[FormulaBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: ⇒ Any): FormulaBuilder

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaBuilder to Ensuring[FormulaBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): FormulaBuilder

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaBuilder to Ensuring[FormulaBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaBuilder to Formula performed by method buildFormula in smile.data.formula.
    Definition Classes
    Formula → AnyRef → Any
  19. def expand(arg0: StructType): Formula

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaBuilder to Formula performed by method buildFormula in smile.data.formula.
    Definition Classes
    Formula
  20. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaBuilder to StringFormat[FormulaBuilder] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  22. def frame(arg0: DataFrame): DataFrame

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaBuilder to Formula performed by method buildFormula in smile.data.formula.
    Definition Classes
    Formula
  23. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    Any
  25. def matrix(arg0: DataFrame, arg1: Boolean): Matrix

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaBuilder to Formula performed by method buildFormula in smile.data.formula.
    Definition Classes
    Formula
  26. def matrix(arg0: DataFrame): Matrix

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaBuilder to Formula performed by method buildFormula in smile.data.formula.
    Definition Classes
    Formula
  27. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  30. def predictors(): Array[Term]

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaBuilder to Formula performed by method buildFormula in smile.data.formula.
    Definition Classes
    Formula
  31. def response(): Term

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaBuilder to Formula performed by method buildFormula in smile.data.formula.
    Definition Classes
    Formula
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  33. def toFormula: Formula

    Permalink

    Builds the formula.

  34. def toString(): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaBuilder to Formula performed by method buildFormula in smile.data.formula.
    Definition Classes
    Formula → AnyRef → Any
  35. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. val x: ListBuffer[Term]

    Permalink
  39. val y: Option[Term]

    Permalink
  40. def yint(arg0: Tuple): Int

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaBuilder to Formula performed by method buildFormula in smile.data.formula.
    Definition Classes
    Formula
  41. def [B](y: B): (FormulaBuilder, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaBuilder to ArrowAssoc[FormulaBuilder] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaBuilder to any2stringadd[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

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaBuilder to Formula 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

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaBuilder to Formula 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

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaBuilder to Formula 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[?0, ?1, ?2] forSome {type ?0, type ?1, type ?2 <: BaseStream[?1, ?2]}

    Permalink
    Implicit information
    This member is added by an implicit conversion from FormulaBuilder to Formula 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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion buildFormula from FormulaBuilder to Formula

Inherited by implicit conversion any2stringadd from FormulaBuilder to any2stringadd[FormulaBuilder]

Inherited by implicit conversion StringFormat from FormulaBuilder to StringFormat[FormulaBuilder]

Inherited by implicit conversion Ensuring from FormulaBuilder to Ensuring[FormulaBuilder]

Inherited by implicit conversion ArrowAssoc from FormulaBuilder to ArrowAssoc[FormulaBuilder]

Ungrouped