Search Results for

    Show / Hide Table of Contents

    Interface IStarRatingRecommenderEvaluatorMapping<TInstanceSource, TUser, TItem, TRating>

    A mapping used by the StarRatingRecommenderEvaluator<TInstanceSource, TUser, TItem, TGroundTruthRating> class.

    Inherited Members
    IRecommenderEvaluatorMapping<TInstanceSource, TUser, TItem, TRating>.GetUsers(TInstanceSource)
    IRecommenderEvaluatorMapping<TInstanceSource, TUser, TItem, TRating>.GetItems(TInstanceSource)
    IRecommenderEvaluatorMapping<TInstanceSource, TUser, TItem, TRating>.GetUsersWhoRatedItem(TInstanceSource, TItem)
    IRecommenderEvaluatorMapping<TInstanceSource, TUser, TItem, TRating>.GetItemsRatedByUser(TInstanceSource, TUser)
    IRecommenderEvaluatorMapping<TInstanceSource, TUser, TItem, TRating>.GetRating(TInstanceSource, TUser, TItem)
    Namespace: Microsoft.ML.Probabilistic.Learners.Mappings
    Assembly: Microsoft.ML.Probabilistic.Learners.Recommender.dll
    Syntax
    public interface IStarRatingRecommenderEvaluatorMapping<in TInstanceSource, TUser, TItem, TRating> : IRecommenderEvaluatorMapping<TInstanceSource, TUser, TItem, TRating>
    Type Parameters
    Name Description
    TInstanceSource

    The type of an instance source.

    TUser

    The type of a user.

    TItem

    The type of an item.

    TRating

    The type of a rating.

    Methods

    GetRatingInfo(TInstanceSource)

    Gets the object describing how ratings provided by the instance source map to stars.

    Declaration
    IStarRatingInfo<TRating> GetRatingInfo(TInstanceSource instanceSource)
    Parameters
    Type Name Description
    TInstanceSource instanceSource

    The instance source.

    Returns
    Type Description
    IStarRatingInfo<TRating>

    The object describing how ratings provided by the instance source map to stars.

    Extension Methods

    RecommenderEvaluatorMappingExtensions.GetUsersWhoRatedSameItems<TInstanceSource, TUser, TItem, TRating>(IRecommenderEvaluatorMapping<TInstanceSource, TUser, TItem, TRating>, TInstanceSource, TUser)
    RecommenderEvaluatorMappingExtensions.GetItemsRatedBySameUsers<TInstanceSource, TUser, TItem, TRating>(IRecommenderEvaluatorMapping<TInstanceSource, TUser, TItem, TRating>, TInstanceSource, TItem)
    In This Article
    Back to top Copyright © .NET Foundation. All rights reserved.