Exemplo n.º 1
0
 public virtual string GetLibFmFeatureVector(PositiveFeedback rating)
 {
     return(string.Format("{0} {1}:1 {2}:1", 1, Mapper.ToInternalID(rating.User.Id), Mapper.ToInternalID(rating.Item.Id)));
 }
Exemplo n.º 2
0
 public virtual string GetLibFmFeatureVector(PositiveFeedback rating)
 {
     return string.Format("{0} {1}:1 {2}:1", 1, Mapper.ToInternalID(rating.User.Id), Mapper.ToInternalID(rating.Item.Id));
 }