public sealed class SamplingStrategy : IMessage<SamplingStrategy>, IEquatable<SamplingStrategy>, IDeepCloneable<SamplingStrategy>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1 API class SamplingStrategy.
Sampling Strategy for logging, can be for both training and prediction
dataset.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[[["\u003cp\u003eThis page provides reference documentation for the \u003ccode\u003eSamplingStrategy\u003c/code\u003e class within the Google Cloud AI Platform v1 API for .NET, with the most recent version being 3.22.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSamplingStrategy\u003c/code\u003e class is designed for logging, applicable to both training and prediction datasets, and it implements multiple interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSamplingStrategy\u003c/code\u003e class has the ability to inherit from the \u003ccode\u003eobject\u003c/code\u003e class and can make use of inherited members such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors, a default constructor and one that accepts another \u003ccode\u003eSamplingStrategy\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eIt includes the \u003ccode\u003eRandomSampleConfig\u003c/code\u003e property, which is of type \u003ccode\u003eSamplingStrategy.Types.RandomSampleConfig\u003c/code\u003e, and is set up to allow more sampling strategies to be added in the future.\u003c/p\u003e\n"]]],[],null,[]]