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 documentation for the \u003ccode\u003eSamplingStrategy\u003c/code\u003e class within the Google Cloud AI Platform V1 API, with the latest version being 3.22.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSamplingStrategy\u003c/code\u003e class, part of the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1\u003c/code\u003e namespace, is used for defining sampling strategies for both training and prediction datasets.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from the \u003ccode\u003eobject\u003c/code\u003e class and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, showing its robust framework within the API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSamplingStrategy\u003c/code\u003e class includes properties like \u003ccode\u003eRandomSampleConfig\u003c/code\u003e, which allows users to specify random sampling configurations, and hints at the potential for future support of more sampling strategies.\u003c/p\u003e\n"],["\u003cp\u003eThe document lists all the available version numbers of \u003ccode\u003eSamplingStrategy\u003c/code\u003e from 1.0.0 all the way to the latest 3.22.0, with corresponding links to their respective documentation pages.\u003c/p\u003e\n"]]],[],null,[]]