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
  • DataFrameOps
  • TupleOps
c

smile.data

DataFrameOps

case class DataFrameOps(data: DataFrame) extends Product with Serializable

Pimped data frame with Scala style methods.

data

a data frame.

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

Instance Constructors

  1. new DataFrameOps(data: DataFrame)

    data

    a data frame.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from DataFrameOps toany2stringadd[DataFrameOps] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (DataFrameOps, B)
    Implicit
    This member is added by an implicit conversion from DataFrameOps toArrowAssoc[DataFrameOps] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. val data: DataFrame
  9. def drop(range: Range): DataFrame

    Returns a new DataFrame without given column indices.

  10. def ensuring(cond: (DataFrameOps) => Boolean, msg: => Any): DataFrameOps
    Implicit
    This member is added by an implicit conversion from DataFrameOps toEnsuring[DataFrameOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (DataFrameOps) => Boolean): DataFrameOps
    Implicit
    This member is added by an implicit conversion from DataFrameOps toEnsuring[DataFrameOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: => Any): DataFrameOps
    Implicit
    This member is added by an implicit conversion from DataFrameOps toEnsuring[DataFrameOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): DataFrameOps
    Implicit
    This member is added by an implicit conversion from DataFrameOps toEnsuring[DataFrameOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def exists(p: (Tuple) => Boolean): Boolean

    Tests if a predicate holds for at least one row of data frame.

  16. def filter(p: (Tuple) => Boolean): DataFrame

    Selects all rows which satisfy a predicate.

  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  18. def find(p: (Tuple) => Boolean): Optional[Tuple]

    Finds the first row satisfying a predicate.

  19. def forall(p: (Tuple) => Boolean): Boolean

    Tests if a predicate holds for all rows of data frame.

  20. def foreach[U](p: (Tuple) => U): Unit

    Applies a function for its side-effect to every row.

  21. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from DataFrameOps toStringFormat[DataFrameOps] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def groupBy[K](f: (Tuple) => K): Map[K, DataFrame]

    Partitions the DataFrame into a map of DataFrames according to some discriminator function.

    Partitions the DataFrame into a map of DataFrames according to some discriminator function.

    K

    the type of keys returned by the discriminator function.

    f

    the discriminator function.

    returns

    A map from keys to DataFrames

  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. def map[U](p: (Tuple) => U): Iterable[U]

    Builds a new data collection by applying a function to all rows.

  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 of(range: Range): DataFrame

    Returns a new data frame with row indexing.

  30. def partition(p: (Tuple) => Boolean): (DataFrame, DataFrame)

    Partitions this DataFrame in two according to a predicate.

    Partitions this DataFrame in two according to a predicate.

    p

    the predicate on which to partition.

    returns

    a pair of DataFrames: the first DataFrame consists of all elements that satisfy the predicate p and the second DataFrame consists of all elements that don't. The relative order of the elements in the resulting DataFramess is the same as in the original DataFrame.

  31. def productElementNames: Iterator[String]
    Definition Classes
    Product
  32. def select(range: Range): DataFrame

    Selects a new DataFrame with given column indices.

  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. def toJSON: JsArray

    Converts the tuple to a JSON array.

  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()

Deprecated Value Members

  1. def [B](y: B): (DataFrameOps, B)
    Implicit
    This member is added by an implicit conversion from DataFrameOps toArrowAssoc[DataFrameOps] 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 any2stringadd fromDataFrameOps to any2stringadd[DataFrameOps]

Inherited by implicit conversion StringFormat fromDataFrameOps to StringFormat[DataFrameOps]

Inherited by implicit conversion Ensuring fromDataFrameOps to Ensuring[DataFrameOps]

Inherited by implicit conversion ArrowAssoc fromDataFrameOps to ArrowAssoc[DataFrameOps]

Ungrouped