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, run
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
processData
progress
protected SparseMatrix preferenceMatrix
protected SparseMatrix datetimeMatrix
protected SparseTensor sparseTensor
public SparseMatrix getPreferenceMatrix()
getPreferenceMatrix
in interface DataConvertor
preferenceMatrix
public SparseMatrix getDatetimeMatrix()
getDatetimeMatrix
in interface DataConvertor
datetimeMatrix
public SparseTensor getSparseTensor()
getSparseTensor
in interface DataConvertor
sparseTensor
Copyright © 2017. All Rights Reserved.