public sealed class Examples : IMessage<Examples>, IEquatable<Examples>, IDeepCloneable<Examples>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class Examples.
Example-based explainability that returns the nearest neighbors from the provided dataset.
Namespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
Examples()
public Examples()
Examples(Examples)
public Examples(Examples other)
Parameter | |
---|---|
Name | Description |
other |
Examples |
Properties
ConfigCase
public Examples.ConfigOneofCase ConfigCase { get; }
Property Value | |
---|---|
Type | Description |
ExamplesConfigOneofCase |
ExampleGcsSource
public Examples.Types.ExampleGcsSource ExampleGcsSource { get; set; }
The Cloud Storage input instances.
Property Value | |
---|---|
Type | Description |
ExamplesTypesExampleGcsSource |
GcsSource
public GcsSource GcsSource { get; set; }
The Cloud Storage locations that contain the instances to be indexed for approximate nearest neighbor search.
Property Value | |
---|---|
Type | Description |
GcsSource |
NearestNeighborSearchConfig
public Value NearestNeighborSearchConfig { get; set; }
The full configuration for the generated index, the semantics are the same as [metadata][google.cloud.aiplatform.v1beta1.Index.metadata] and should match NearestNeighborSearchConfig.
Property Value | |
---|---|
Type | Description |
Value |
NeighborCount
public int NeighborCount { get; set; }
The number of neighbors to return when querying for examples.
Property Value | |
---|---|
Type | Description |
int |
Presets
public Presets Presets { get; set; }
Simplified preset configuration, which automatically sets configuration values based on the desired query speed-precision trade-off and modality.
Property Value | |
---|---|
Type | Description |
Presets |
SourceCase
public Examples.SourceOneofCase SourceCase { get; }
Property Value | |
---|---|
Type | Description |
ExamplesSourceOneofCase |