Class

smile.data.formula

FormulaBuilder

Related Doc: package formula

Permalink

case class FormulaBuilder(y: Option[Term], x: ListBuffer[HyperTerm]) 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[HyperTerm])

    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: HyperTerm): 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: 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
  10. 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
  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. 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
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. 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
  15. 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
  16. 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
  17. 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
  18. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. 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()
  21. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    Any
  23. def matrix(arg0: DataFrame, arg1: Boolean): DenseMatrix

    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
  24. def matrix(arg0: DataFrame): DenseMatrix

    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
  25. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  28. def predictors(): 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
  29. def response(): Optional[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
  30. def schema(): 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
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def toFormula: Formula

    Permalink

    Builds the formula.

  33. 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
  34. final def wait(): Unit

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

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

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

    Permalink
  38. def xarray(arg0: Tuple): Array[Double]

    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
  39. def xschema(): 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
  40. val y: Option[Term]

    Permalink
  41. 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
  42. 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