Okay to use a hierarchical clustering, we can do something like so is the same as our K means clustering. So we just copy and then paste code here. So if algorithm equals to aggro murmuration moderations agro patient. Then we use a hierarchical cluster erotica cross Dora equal a new hierarchical cluster k for the K mean I will change this to a hierarchical cluster. So, I named me something Hira Cresta I will replace came in Sandy's new hi cluster okay then I can in the library libraries. So you say cray cray cray across.
So this is because we are using the vichara 3.6 so our previously in linear regressions So, we change these are we call 3.8 to three points so in we call 3.6 there is no hierarchical cluster. So, we have to remove the two in this one. So, in my D drive in 3.8 okay so now Eve come here In part a class that should be these are hierarchical clustering keys to k k means Costa Rica Costa Rica so he created a new class so this is North Korea. Okay issue be in summer here. me try and see are they can I import the car cluster or hierarchical cluster? So now it was okay the hierarchical cluster here.
So if I want to run an arrow game because linear regressions so if I ever Now, I have the linear regression error okay. So, I will remove this classification method here. So clusterings cp for the data matrix, agro Mauritian, then cluster is seven. So I run this code. So I show seven cluster for this clustering result. So for each row days, these are cluster number here, so one to six by six line.
So, these are the clustering of the groups after we use a hagwon agglomeration cluster into cluster data. So, these are the cluster rica laws and order