How to fit data into pre-determined clusters?

3 vues (au cours des 30 derniers jours)
udi ibgui
udi ibgui le 9 Jan 2020
Commenté : udi ibgui le 12 Jan 2020
Hi,
I am working on an image segmentation project. I have 3 cluster centres I haved determined using k-means from data.
I would like to know fit new data into the clusters and was hoping someone could help me, as I couldnt find anything online.
Thank you

Réponses (1)

Hiro Yoshino
Hiro Yoshino le 10 Jan 2020
How about reading this?:
I dont really get you; can you elaborate on it a bit more?
What is your problem?
  1 commentaire
udi ibgui
udi ibgui le 12 Jan 2020
So using training data I have determined three categories and worked out their cluster centres.
I now have new data I want to test. I want each pixel to be labeled according to this cluster centres. How would I go about doing that?
The documnetation provides instruction on how to get new clusters and labels on images, I would like to label my data using pre-exisiting clusters.
Thank you

Connectez-vous pour commenter.

Produits


Version

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by