updateCentroids
API definition |
virtual void updateCentroids(idx_t n, const int8_t *x); |
|---|---|
Function |
Virtual function defined in the base class. For details, see the subclass. |
Input |
idx_t n: number of feature vectors in the training dataset. const int8_t *x: feature vector data. |
Output |
N/A |
Return value |
N/A |
Restrictions |
N/A |
API definition |
virtual void updateCentroids(idx_t n, const char *x); |
|---|---|
Function |
Virtual function defined in the base class. For details, see the subclass. |
Input |
idx_t n: number of feature vectors in the training dataset. const char *x: feature vector data. |
Output |
N/A |
Return value |
N/A |
Restrictions |
N/A |
Parent topic: AscendIndexInt8