public final class Formats
extends java.lang.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(java.lang.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(java.lang.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.