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 webpage provides documentation for the \u003ccode\u003eSamplingStrategy\u003c/code\u003e class within the Google Cloud AI Platform v1 API, specifically for the .NET environment, offering a range of versions from 1.0.0 to 3.22.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSamplingStrategy\u003c/code\u003e class is used to define sampling methods for logging datasets during training and prediction.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSamplingStrategy\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, showing its capabilities.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eSamplingStrategy\u003c/code\u003e class is version 3.22.0, while the page you are on is for version 3.9.0, and the page includes links to the documentation for all the versions in-between.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes a constructor that can be used to make a new instance of \u003ccode\u003eSamplingStrategy\u003c/code\u003e, or another constructor to duplicate an existing instance, and has a property called \u003ccode\u003eRandomSampleConfig\u003c/code\u003e which has a type of \u003ccode\u003eSamplingStrategy.Types.RandomSampleConfig\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]