-
Pimphen Charoen replied to the topic WEEK 2 : Decision tree in R in the forum General Topic 4 years, 3 months ago
Well done, you worked it out! One of problems that you will come across quite often in R is the format of an input. You need to know which format is required and if your input is not in the correct format, you have to re-format it accordingly. This might involve commands as.vector, as.factor, as.numeric, as.character, as.matrix, etc. Perhaps the…[Read more]
-
Pimphen Charoen replied to the topic Number of clusters, beyond two dimensions? in the forum General Topic 4 years, 4 months ago
Good questions! Let me ask you a little bit further (and your peers are also very welcome to discuss!).
You are right. For two dimensions, we can simply visualise this in a scatter plot. Do you think how many dimensions we can do visualisation? and when we have many dimensions, is there a way to do so?
Based on the dendrograms from our iris…[Read more]
-
Pimphen Charoen replied to the topic Week 1 Other Cluster methods : how comes that ? in the forum General Topic 4 years, 4 months ago
Great! Another simple approach to calculate a ‘35’ would be to take an average across attributes, e.g. suppose in the raw data, we have 3 attributes: ID.3 shows 10 20 30, ID.5 shows 2 4 6. Therefore, ID.35 would be 6 12 18. Then you can use this ID.35 to calculate distance matrix again for the next clustering.
-
Pimphen Charoen changed their profile picture 5 years, 5 months ago