Cloud AI Platform v1 API - Class Presets (3.1.0)

public sealed class Presets : IMessage<Presets>, IEquatable<Presets>, IDeepCloneable<Presets>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class Presets.

Preset configuration for example-based explanations

Inheritance

object > Presets

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

Presets()

public Presets()

Presets(Presets)

public Presets(Presets other)
Parameter
Name Description
other Presets

Properties

HasQuery

public bool HasQuery { get; }

Gets whether the "query" field is set

Property Value
Type Description
bool

Modality

public Presets.Types.Modality Modality { get; set; }

The modality of the uploaded model, which automatically configures the distance measurement and feature normalization for the underlying example index and queries. If your model does not precisely fit one of these types, it is okay to choose the closest type.

Property Value
Type Description
PresetsTypesModality

Query

public Presets.Types.Query Query { get; set; }

Preset option controlling parameters for speed-precision trade-off when querying for examples. If omitted, defaults to PRECISE.

Property Value
Type Description
PresetsTypesQuery