Bases: object
This class defines a common interface / model to handle standard MF models in a generic way.
It contains definitions of the minimum set of generic methods that are used in common computations and matrix factorizations. Besides it contains some quality and performance measures about factorizations.
Return the matrix of basis vectors (factor 1 matrix).
Return the matrix of mixture coefficients (factor 2 matrix).
Parameters: | idx (None) – Used in the multiple MF model. In standard MF idx is always None. |
---|
Return the loss function value.
Parameters: |
|
---|
Compute the estimated target matrix according to the MF algorithm model.
Parameters: | idx (None) – Used in the multiple MF model. In standard MF idx is always None. |
---|