Class SplitInstanceSource<TInstanceSource>
Splits an instance source produced by the TrainTestSplittingRecommenderMapping<TInstanceSource, TInstance, TUser, TItem, TFeatureSource, TFeatureValues> to instances in the training set or the test set.
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Learners.Mappings
Assembly: Microsoft.ML.Probabilistic.Learners.Recommender.dll
Syntax
public class SplitInstanceSource<TInstanceSource>
Type Parameters
Name | Description |
---|---|
TInstanceSource | The type of the instance source. |
Properties
InstanceSource
Gets the unrestricted instance source.
Declaration
public TInstanceSource InstanceSource { get; }
Property Value
Type | Description |
---|---|
TInstanceSource |
IsTrainingSet
Gets a value indicating whether this instance source is restricted to the training set of the unrestricted instance source.
Declaration
public bool IsTrainingSet { get; }
Property Value
Type | Description |
---|---|
Boolean |