MCPcopy Create free account
hub / github.com/Raibows/MLinRust / predict

Method predict

src/model/kmeans.rs:87–96  ·  view source on GitHub ↗

return the nearest cluster idx, note that it is NOT the classification prediction

(&self, feature: &Vec<f32>)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

minkowski_distanceFunction · 0.85

Tested by

no test coverage detected