CuVSIvfPqIndexParams
Java package: com.nvidia.cuvs
Public Members
getMetric
Gets the distance type.
Returns
the distance type
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/CuVSIvfPqIndexParams.java:143
getCodebookKind
Gets how PQ codebooks are created
Returns
how PQ codebooks are created
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/CuVSIvfPqIndexParams.java:152
getMetricArg
Gets the argument used by some distance metrics
Returns
the argument used by some distance metrics
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/CuVSIvfPqIndexParams.java:161
getKmeansTrainsetFraction
Gets the fraction of data to use during iterative kmeans building
Returns
the fraction of data to use during iterative kmeans building
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/CuVSIvfPqIndexParams.java:170
getnLists
Gets the number of inverted lists (clusters)
Returns
the number of inverted lists (clusters)
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/CuVSIvfPqIndexParams.java:179
getKmeansNIters
Gets the number of iterations searching for kmeans centers
Returns
the number of iterations searching for kmeans centers
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/CuVSIvfPqIndexParams.java:188
getPqBits
Gets the bit length of the vector element after compression by PQ
Returns
the bit length of the vector element after compression by PQ
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/CuVSIvfPqIndexParams.java:197
getPqDim
Gets the dimensionality of the vector after compression by PQ
Returns
the dimensionality of the vector after compression by PQ
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/CuVSIvfPqIndexParams.java:206
isAddDataOnBuild
Gets whether the dataset content is added to the index
Returns
whether the dataset content is added to the index
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/CuVSIvfPqIndexParams.java:215
isForceRandomRotation
Gets the random rotation matrix on the input data and queries
Returns
the random rotation matrix on the input data and queries
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/CuVSIvfPqIndexParams.java:224
isConservativeMemoryAllocation
Gets if conservative allocation behavior is set
Returns
if conservative allocation behavior is set
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/CuVSIvfPqIndexParams.java:233
getMaxTrainPointsPerPqCode
Gets whether max number of data points to use per PQ code during PQ codebook training is set
Returns
whether max number of data points to use per PQ code during PQ codebook training is set
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/CuVSIvfPqIndexParams.java:244
withMetric
Sets the distance type.
Parameters
Returns
an instance of Builder
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/CuVSIvfPqIndexParams.java:389
withMetricArg
Sets the argument used by some distance metrics.
Parameters
Returns
an instance of Builder
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/CuVSIvfPqIndexParams.java:400
withAddDataOnBuild
Sets whether to add the dataset content to the index.
Parameters
Returns
an instance of Builder
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/CuVSIvfPqIndexParams.java:411
withNLists
Sets the number of inverted lists (clusters)
Parameters
Returns
an instance of Builder
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/CuVSIvfPqIndexParams.java:422
withKmeansNIters
Sets the number of iterations searching for kmeans centers
Parameters
Returns
an instance of Builder
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/CuVSIvfPqIndexParams.java:433
withKmeansTrainsetFraction
Sets the fraction of data to use during iterative kmeans building.
Parameters
Returns
an instance of Builder
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/CuVSIvfPqIndexParams.java:445
withPqBits
Sets the bit length of the vector element after compression by PQ.
Parameters
Returns
an instance of Builder
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/CuVSIvfPqIndexParams.java:456
withPqDim
Sets the dimensionality of the vector after compression by PQ.
Parameters
Returns
an instance of Builder
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/CuVSIvfPqIndexParams.java:467
withCodebookKind
Sets how PQ codebooks are created.
Parameters
Returns
an instance of Builder
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/CuVSIvfPqIndexParams.java:478
withForceRandomRotation
Sets the random rotation matrix on the input data and queries.
Parameters
Returns
an instance of Builder
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/CuVSIvfPqIndexParams.java:490
withConservativeMemoryAllocation
Sets the conservative allocation behavior
Parameters
Returns
an instance of Builder
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/CuVSIvfPqIndexParams.java:501
withMaxTrainPointsPerPqCode
Sets the max number of data points to use per PQ code during PQ codebook training
Parameters
Returns
an instance of Builder
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/CuVSIvfPqIndexParams.java:514
build
Builds an instance of CuVSIvfPqIndexParams.
Returns
an instance of CuVSIvfPqIndexParams
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/CuVSIvfPqIndexParams.java:524
Source: java/cuvs-java/src/main/java/com/nvidia/cuvs/CuVSIvfPqIndexParams.java:10