コード例 #1
0
 /// <summary>
 /// Provides a vector of features for a given item.
 /// </summary>
 /// <param name="featureSource">The parameter is not used.</param>
 /// <param name="item">The item to provide features for.</param>
 /// <returns>The feature vector for <paramref name="item"/>.</returns>
 public Vector GetItemFeatures(NoFeatureSource featureSource, TItem item)
 {
     return(mapping.GetItemFeatures(featureSource, item));
 }
コード例 #2
0
 /// <summary>
 /// User features are not used in the MBML Book
 /// </summary>
 public Vector GetUserFeatures(NoFeatureSource featureSource, string user)
 {
     return(mapping.GetUserFeatures(featureSource, user));
 }
コード例 #3
0
 public Vector GetItemFeatures(NoFeatureSource featureSource, string item)
 {
     throw new NotImplementedException();
 }
コード例 #4
0
 /// <summary>
 /// Provides a vector of features for a given item.
 /// </summary>
 /// <param name="featureSource">The storage of features.</param>
 /// <param name="item">The item to provide features for.</param>
 /// <returns>The feature vector for <paramref name="item"/>.</returns>
 public int GetItemFeatures(NoFeatureSource featureSource, int item)
 {
     // This method should not be called by the data splitter
     throw new NotImplementedException();
 }
コード例 #5
0
 public Vector GetUserFeatures(NoFeatureSource featureSource, string user)
 {
     throw new NotImplementedException();
 }