Search Results for

    Show / Hide Table of Contents

    Class RatingInstance<TUser, TItem, TRating>

    Represents a user-item-rating triple.

    Inheritance
    Object
    RatingInstance<TUser, TItem, TRating>
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Microsoft.ML.Probabilistic.Learners
    Assembly: Microsoft.ML.Probabilistic.Learners.Recommender.dll
    Syntax
    public class RatingInstance<TUser, TItem, TRating>
    Type Parameters
    Name Description
    TUser

    The type of a user.

    TItem

    The type of an item.

    TRating

    The type of a rating.

    Constructors

    RatingInstance(TUser, TItem, TRating)

    Initializes a new instance of the RatingInstance<TUser, TItem, TRating> class.

    Declaration
    public RatingInstance(TUser user, TItem item, TRating rating)
    Parameters
    Type Name Description
    TUser user

    The user.

    TItem item

    The item.

    TRating rating

    The rating.

    Properties

    Item

    Gets the item.

    Declaration
    public TItem Item { get; }
    Property Value
    Type Description
    TItem

    Rating

    Gets the rating.

    Declaration
    public TRating Rating { get; }
    Property Value
    Type Description
    TRating

    User

    Gets the user.

    Declaration
    public TUser User { get; }
    Property Value
    Type Description
    TUser
    In This Article
    Back to top Copyright © .NET Foundation. All rights reserved.