Overview
API References
snap_ml_spark.
DatasetReader
Load distributed dataset from file.
load
Load training data in memory
file (string) – filename
setFormat
Specify the dataformat of the file. Format values: “snap” or “libsvm” or “csv”
format (string) – data format
setNumFt
Set the number of features
x (int) – index
takeRange
If not the whole dataset should be loaded specify start and end index.
idx_start (int) – first sample to load
idx_end (int) – last sample to load