Пример #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)));
 }
Пример #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));
 }