---
title: "Balazs Kisfali (@Biagio74) | Hashnode"
description: "Structural engineer with passion in coding. Read the latest articles by Balazs Kisfali on Hashnode."
url: "https://hashnode.com/@Biagio74"
---

@Biagio74

# Balazs Kisfali

@Biagio74 · Joined November 2020

Structural engineer with passion in coding

## Comments

[Hi Qiusheng Wu, Thank you for your prompt reply. In Q1 I meant that, let say that I have an image and calculated the NDVI indexes. I choose 3 clusters. NDVI values will be between 0.1 and 0.7 in my image. The higher values are representing high vegetation, the medium values low vegetation, and the lower values other land types. Let's assume that the cluster centroids will be around 0.2, 0.4 and 0.6. My Q1 question is, will these values will return in ascending order respective to the cluster IDs? So cluster 0 represents 0.2, cluster 1 represents 0.4, and cluster 2 represents 0.6? In Q2 question actually I don't want to know the physical location of the centroids, but only the KMeans, the values, like 0.2, 0.4 and 0.6 in this example. How to get those?](https://hashnode.com/posts/earth-engine-tutorial-31-machine-learning-with-earth-engine-unsupervised-classification/5f2d4c8c3b12e25afe3e4715/comment/5fa030d9701b426a98096a12#reply-5fa0efb7ad30887ef1e164e6)

Reply · Article · Nov 3, 2020 · [Earth Engine Tutorial #31: Machine Learning with Earth Engine - Unsupervised Classification](https://hashnode.com/posts/earth-engine-tutorial-31-machine-learning-with-earth-engine-unsupervised-classification/5f2d4c8c3b12e25afe3e4715)

[Hi Qiusheng, thanks for this article, it is very useful. Its great that we can use now ee in proper Python environment ;) ...I have two questions. Q1: the centroids of the each clusters (let say NDVI values) are always in an ascending order? Q2: how can we get the centroid values from the each cluster? Thank you ;)](https://hashnode.com/posts/earth-engine-tutorial-31-machine-learning-with-earth-engine-unsupervised-classification/5f2d4c8c3b12e25afe3e4715/comment/5fa030d9701b426a98096a12)

Comment · Article · Nov 2, 2020 · [Earth Engine Tutorial #31: Machine Learning with Earth Engine - Unsupervised Classification](https://hashnode.com/posts/earth-engine-tutorial-31-machine-learning-with-earth-engine-unsupervised-classification/5f2d4c8c3b12e25afe3e4715)
