fineTune

API definition

void fineTune(size_t n, const float *x)

Function

Fine-tunes and optimizes the center to avoid uneven bucketing.

Input

size_t n: number of feature vectors.

const float *x: feature vector data.

Output

N/A

Return value

N/A

Restrictions

  • It is invoked after the add operation.
  • The value of n cannot be greater than 1e9.
  • The x must be a non-null pointer with a length of dim x n. Otherwise, an out-of-bounds read/write error may occur, causing program breakdown.