public final class ALSSpeedModel extends Object implements SpeedModel
Modifier and Type | Method and Description |
---|---|
double |
getEpsilon() |
int |
getFeatures() |
float |
getFractionLoaded() |
float[] |
getItemVector(String item) |
float[] |
getUserVector(String user) |
Solver |
getXTXSolver() |
Solver |
getYTYSolver() |
boolean |
isImplicit() |
boolean |
isLogStrength() |
void |
retainRecentAndItemIDs(Collection<String> items) |
void |
retainRecentAndUserIDs(Collection<String> users) |
void |
setItemVector(String item,
float[] vector) |
void |
setUserVector(String user,
float[] vector) |
String |
toString() |
public int getFeatures()
public boolean isImplicit()
public boolean isLogStrength()
public double getEpsilon()
public float[] getUserVector(String user)
public float[] getItemVector(String item)
public void setUserVector(String user, float[] vector)
public void setItemVector(String item, float[] vector)
public void retainRecentAndUserIDs(Collection<String> users)
public void retainRecentAndItemIDs(Collection<String> items)
public Solver getXTXSolver()
public Solver getYTYSolver()
public float getFractionLoaded()
getFractionLoaded
in interface SpeedModel
Copyright © 2014–2018. All rights reserved.