case class FormulaBuilder(y: Option[Term], x: ListBuffer[Term]) extends Product with Serializable
DSL to build a formula in R style.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FormulaBuilder
- Serializable
- Product
- Equals
- AnyRef
- Any
Implicitly
- by buildFormula
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new FormulaBuilder(y: Option[Term], x: ListBuffer[Term])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(variable: String): FormulaBuilder
- def +(term: Term): FormulaBuilder
- def -(variable: String): FormulaBuilder
- def -(term: Term): FormulaBuilder
- 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()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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
- 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
- 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
- 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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- 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
- 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
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- 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
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- 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
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- 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
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- 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
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toFormula: Formula
Builds the formula.
- 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
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- val x: ListBuffer[Term]
- val y: Option[Term]
- 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
- 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
- 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
- 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
- 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
- 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
- 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 ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- 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.
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.