Interface IStarRatingRecommenderMapping<TInstanceSource, TInstance, TUser, TItem, TRating, TFeatureSource, TFeatureValues>
A mapping used by the implementations of the IRecommender<TInstanceSource, TUser, TItem, TRating, TRatingDistribution, TFeatureSource> interface which operate on star-rated data.
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Learners.Mappings
Assembly: Microsoft.ML.Probabilistic.Learners.dll
Syntax
public interface IStarRatingRecommenderMapping<in TInstanceSource, TInstance, TUser, TItem, TRating, in TFeatureSource, out TFeatureValues> : IRatingRecommenderMapping<TInstanceSource, TInstance, TUser, TItem, TRating, TFeatureSource, TFeatureValues>, IRecommenderMapping<TInstanceSource, TInstance, TUser, TItem, TFeatureSource, TFeatureValues>
  Type Parameters
| Name | Description | 
|---|---|
| TInstanceSource | The type of a source of instances.  | 
      
| TInstance | The type of an instance  | 
      
| TUser | The type of a user.  | 
      
| TItem | The type of an item.  | 
      
| TRating | The type of a rating.  | 
      
| TFeatureSource | The type of a source of features.  | 
      
| TFeatureValues | The type of the feature values.  | 
      
Methods
GetRatingInfo(TInstanceSource)
Provides the object describing how ratings in the specified instance source map to stars.
Declaration
IStarRatingInfo<TRating> GetRatingInfo(TInstanceSource instanceSource)
  Parameters
| Type | Name | Description | 
|---|---|---|
| TInstanceSource | instanceSource | The source of the instances.  | 
      
Returns
| Type | Description | 
|---|---|
| IStarRatingInfo<TRating> | The object describing how ratings in the specified instance source map to stars.  |