Object

smile

write

Related Doc: package smile

Permalink

object write

Data saving utilities.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. write
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply[T](data: Array[T], file: Path): Unit

    Permalink

    Writes an array to a text file line by line.

    Writes an array to a text file line by line.

    data

    an array.

    file

    the file path

  5. def apply[T](data: Array[T], file: String): Unit

    Permalink

    Writes an array to a text file line by line.

    Writes an array to a text file line by line.

    data

    an array.

    file

    the file path

  6. def apply[T <: Serializable](x: T, file: Path): Unit

    Permalink

    Serializes a Serializable object/model to a file.

  7. def apply[T <: Serializable](x: T, file: String): Unit

    Permalink

    Serializes a Serializable object/model to a file.

  8. def arff(data: DataFrame, file: Path, relation: String): Unit

    Permalink

    Writes a data frame to an ARFF file.

  9. def arff(data: DataFrame, file: String, relation: String): Unit

    Permalink

    Writes a data frame to an ARFF file.

  10. def arrow(data: DataFrame, file: Path): Unit

    Permalink

    Writes a data frame to an Apache Arrow file.

  11. def arrow(data: DataFrame, file: String): Unit

    Permalink

    Writes a data frame to an Apache Arrow file.

  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def csv(data: DataFrame, file: Path, delimiter: Char): Unit

    Permalink

    Writes a DataFrame to a delimited text file.

    Writes a DataFrame to a delimited text file.

    data

    an attribute dataset.

    file

    the file path

  15. def csv(data: DataFrame, file: String, delimiter: Char = ','): Unit

    Permalink

    Writes a DataFrame to a delimited text file.

    Writes a DataFrame to a delimited text file.

    data

    an attribute dataset.

    file

    the file path

  16. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def table[T](data: Array[Array[T]], file: Path, delimiter: Char): Unit

    Permalink

    Writes a two-dimensional array to a delimited text file.

    Writes a two-dimensional array to a delimited text file.

    data

    a two-dimensional array.

    file

    the file path

    delimiter

    delimiter string

  27. def table[T](data: Array[Array[T]], file: String, delimiter: Char = ','): Unit

    Permalink

    Writes a two-dimensional array to a delimited text file.

    Writes a two-dimensional array to a delimited text file.

    data

    a two-dimensional array.

    file

    the file path

    delimiter

    delimiter string

  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def xstream[T <: AnyRef](x: T, file: Path): Unit

    Permalink

    Serializes an object/model to a file by XStream.

  33. def xstream[T <: AnyRef](x: T, file: String): Unit

    Permalink

    Serializes an object/model to a file by XStream.

Inherited from AnyRef

Inherited from Any

Ungrouped