Reference documentation and code samples for the Google Cloud Vector Search V1 Client class DenseScannParams.
Parameters for dense ScaNN.
Generated from protobuf message google.cloud.vectorsearch.v1.SearchHint.IndexHint.DenseScannParams
Namespace
Google \ Cloud \ VectorSearch \ V1 \ SearchHint \ IndexHintMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ target_recall |
float
Optional. The target recall for the search. Must be a double in the range [0, 1]. While the search aims to achieve this level of recall, it is not guaranteed. |
getTargetRecall
Optional. The target recall for the search. Must be a double in the range [0, 1]. While the search aims to achieve this level of recall, it is not guaranteed.
| Returns | |
|---|---|
| Type | Description |
float |
|
hasTargetRecall
clearTargetRecall
setTargetRecall
Optional. The target recall for the search. Must be a double in the range [0, 1]. While the search aims to achieve this level of recall, it is not guaranteed.
| Parameter | |
|---|---|
| Name | Description |
var |
float
|
| Returns | |
|---|---|
| Type | Description |
$this |
|