object read
Data loading utilities.
- Alphabetic
- By Inheritance
- read
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(file: Path): AnyRef
Reads a
Serializable
object/model. -
def
apply(file: String): AnyRef
Reads a
Serializable
object/model. -
def
arff(file: Path): DataFrame
Reads an ARFF file.
-
def
arff(file: String): DataFrame
Reads an ARFF file.
-
def
arrow(file: Path): DataFrame
Reads an Apache Arrow file.
-
def
arrow(file: String): DataFrame
Reads an Apache Arrow file.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
avro(file: Path, schema: Path): DataFrame
Reads an Apache Avro file.
-
def
avro(file: Path, schema: InputStream): DataFrame
Reads an Apache Avro file.
-
def
avro(file: String, schema: String): DataFrame
Reads an Apache Avro file.
-
def
avro(file: String, schema: InputStream): DataFrame
Reads an Apache Avro file.
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
csv(file: Path, format: CSVFormat, schema: StructType): DataFrame
Reads a CSV file.
-
def
csv(file: String, format: CSVFormat, schema: StructType): DataFrame
Reads a CSV file.
-
def
csv(file: Path, delimiter: Char, header: Boolean, quote: Char, escape: Char, schema: StructType): DataFrame
Reads a CSV file.
-
def
csv(file: String, delimiter: Char = ',', header: Boolean = true, quote: Char = '"', escape: Char = '\\', schema: StructType = null): DataFrame
Reads a CSV file.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
jdbc(rs: ResultSet): DataFrame
Reads a JDBC query result to a data frame.
-
def
json(file: Path, mode: Mode, schema: StructType): DataFrame
Reads a JSON file.
-
def
json(file: String, mode: Mode, schema: StructType): DataFrame
Reads a JSON file.
-
def
json(file: Path): DataFrame
Reads a JSON file.
-
def
json(file: String): DataFrame
Reads a JSON file.
-
def
libsvm(file: Path): Dataset[Instance[SparseArray]]
Reads a LivSVM file.
-
def
libsvm(file: String): Dataset[Instance[SparseArray]]
Reads a LivSVM file.
-
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
parquet(file: Path): DataFrame
Reads an Apache Parquet file.
-
def
parquet(file: String): DataFrame
Reads an Apache Parquet file.
-
def
sas(file: Path): DataFrame
Reads a SAS7BDAT file.
-
def
sas(file: String): DataFrame
Reads a SAS7BDAT file.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
wavefront(file: Path): (Array[Array[Double]], Array[Array[Int]])
Reads a Wavefront OBJ file.
Reads a Wavefront OBJ file. The OBJ file format is a simple format of 3D geometry including the position of each vertex, the UV position of each texture coordinate vertex, vertex normals, and the faces that make each polygon defined as a list of vertices, and texture vertices. Vertices are stored in a counter-clockwise order by default, making explicit declaration of face normals unnecessary. OBJ coordinates have no units, but OBJ files can contain scale information in a human readable comment line.
Note that we parse only vertex and face elements. All other information ignored.
- file
the file path
- returns
a tuple of vertex array and edge array.
-
def
wavefront(file: String): (Array[Array[Double]], Array[Array[Int]])
Reads a Wavefront OBJ file.
-
def
xstream(file: Path): AnyRef
Reads an object/model that was serialized by XStream.
-
def
xstream(file: String): AnyRef
Reads an object/model that was serialized by XStream.
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.