DatasetReader¶
-
class
snap_ml_spark.DatasetReader.
DatasetReader
¶ Load distributed dataset from file.
-
load
(file)¶ Load training data in memory
Parameters: file (string) – filename
-
setFormat
(format)¶ Specify the dataformat of the file. Format values: “snap” or “libsvm” or “csv”
Parameters: format (string) – data format
-