Challenge: Analyzing Clustered Data
Explore how to use ML.NET to analyze clustered data in housing market examples. Learn to train clustering models, interpret cluster IDs, assign human-readable category labels such as high-end and cheap, and improve model output clarity by customizing cluster descriptions.
Using the coding playground at the end of this lesson, perform the tasks highlighted in the “Problem statement” section.
Problem statement
In the playground below, we have a full end-to-end process of training and using a clustering model against housing market data. We tell the model to create three distinct clusters and then feed the data to it.
Once the model is trained, we pass an example of a house to it to predict what cluster it would belong in and print this information in the console. We also print distance measures. We then print the distributions of the training data ...