public abstract class AbstractDataConvertor extends ProgressReporter implements DataConvertor
| Modifier and Type | Field and Description |
|---|---|
protected SparseMatrix |
datetimeMatrix
store time data as {user, item, rate} matrix
|
protected SparseMatrix |
preferenceMatrix
store rate data as {user, item, rate} matrix
|
protected SparseTensor |
sparseTensor
store rate data as a sparse tensor
|
PROGRESS_INTERVAL| Constructor and Description |
|---|
AbstractDataConvertor() |
| Modifier and Type | Method and Description |
|---|---|
SparseMatrix |
getDatetimeMatrix()
Return the date matrix.
|
SparseMatrix |
getPreferenceMatrix()
Return the rate matrix.
|
SparseTensor |
getSparseTensor()
Return the rate tensor.
|
getJobStatus, progressx, runclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocessDataprogressprotected SparseMatrix preferenceMatrix
protected SparseMatrix datetimeMatrix
protected SparseTensor sparseTensor
public SparseMatrix getPreferenceMatrix()
getPreferenceMatrix in interface DataConvertorpreferenceMatrixpublic SparseMatrix getDatetimeMatrix()
getDatetimeMatrix in interface DataConvertordatetimeMatrixpublic SparseTensor getSparseTensor()
getSparseTensor in interface DataConvertorsparseTensorCopyright © 2017. All Rights Reserved.