Cloud AI Platform v1beta1 API - Class Presets (1.0.0-beta03)

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

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

Preset configuration for example-based explanations

Inheritance

object > Presets

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.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