public final class Formats extends Object
Utility methods relating to entity formats.
| Constructor and Description |
|---|
Formats() |
| Modifier and Type | Method and Description |
|---|---|
static DelimitedColumnEntityFormat |
csvRatings()
Read a CSV file of ratings without a header.
|
static DelimitedColumnEntityFormat |
delimitedRatings(String delim)
Read a delimited text file of ratings without a header.
|
static DelimitedColumnEntityFormat |
tsvRatings()
Read a TSV file of ratings without a header.
|
public static DelimitedColumnEntityFormat csvRatings()
Read a CSV file of ratings without a header. The ratings are assumed to be in user, item, rating[, timestamp] format.
public static DelimitedColumnEntityFormat tsvRatings()
Read a TSV file of ratings without a header. The ratings are assumed to be in user, item, rating[, timestamp] format.
public static DelimitedColumnEntityFormat delimitedRatings(String delim)
Read a delimited text file of ratings without a header. The ratings are assumed to be in user, item, rating[, timestamp] format.
delim - The delimiter.