Skip to content

Get Centroids Node

AI/ML/Model Info

Get Centroids

Extract cluster centroids from a trained KMeans model

ml_get_kmeans_centroidsml
Inputs2
Outputs2
Security exposure0/10
Packageml

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

SecurityAttack surface and exposure impact.
0/10High
PrivacyPotential sensitivity of processed data.
0/10High
PerformanceRuntime or resource pressure.
1/10High
GovernancePolicy, audit, or compliance impact.
1/10High
ReliabilityOperational stability considerations.
1/10High
CostExternal or compute cost impact.
0/10High

Input Pins

2

Input

Execution
exec_in

Execution trigger

Model

Struct
model

Trained KMeans model

NodeMLModelNodeMLModel1 fields
model_refstringrequired
Schema enforced

Output Pins

2

Done

Execution
exec_out

Activated when centroids are extracted

Centroids

Struct
result

Cluster centroids with metadata

KMeansCentroidsKMeansCentroids3 fields
kinteger:uintrequired

Number of clusters (k)

format uintmin 0
dimensionsinteger:uintrequired

Number of dimensions per centroid

format uintmin 0
centroidsArray<Array<number:double>>required

2D array of centroid coordinates (k × dimensions)

itemsArray<number:double>array item
itemsnumber:doublearray item
format double

Node Info

Internal name
ml_get_kmeans_centroids
Category
AI/ML/Model Info