What would be the best way to figure out which objects go together - say you have 10 groups of three and a pool of 100 ungrouped objects & you want to group them similarly?

Thanks for asking! It would be helpful to clarify what the "objects" are in this context. If they are objects within image data, you could leverage the Create ML feature extractor to turn it into structured tabular data.

From there, it's a classical unsupervised clustering problem, for which there are several approaches. Something like k-means is a quick and effective approach that might work in your case.

https://apple.github.io/turicreate/docs/userguide/clustering/kmeans.html

There is also a CIKMeans filter in Core Image. That may be exactly what you need.

Tagged with: