@DefaultProvider(value=FunkSVDModelBuilder.class) @Shareable public final class FunkSVDModel extends MFModel
featureCount, itemCount, itemIndex, itemMatrix, userCount, userIndex, userMatrix
Constructor and Description |
---|
FunkSVDModel(mikera.matrixx.impl.ImmutableMatrix umat,
mikera.matrixx.impl.ImmutableMatrix imat,
IdIndexMapping uidx,
IdIndexMapping iidx,
List<FeatureInfo> features) |
Modifier and Type | Method and Description |
---|---|
mikera.vectorz.AVector |
getAverageUserVector() |
List<FeatureInfo> |
getFeatureInfo()
Get the metadata about all features.
|
FeatureInfo |
getFeatureInfo(int f)
Get the
FeatureInfo for a particular feature. |
getFeatureCount, getItemCount, getItemFeature, getItemIndex, getItemMatrix, getItemVector, getUserCount, getUserFeature, getUserIndex, getUserMatrix, getUserVector, toString
public FunkSVDModel(mikera.matrixx.impl.ImmutableMatrix umat, mikera.matrixx.impl.ImmutableMatrix imat, IdIndexMapping uidx, IdIndexMapping iidx, List<FeatureInfo> features)
public FeatureInfo getFeatureInfo(int f)
FeatureInfo
for a particular feature.f
- The feature number.public List<FeatureInfo> getFeatureInfo()
public mikera.vectorz.AVector getAverageUserVector()