Clustering, Data Analysis.
matriks upper1 = corrtest1.where(np.triu(np.ones(corrtest1.shape), k=1).astype(bool)) upper2 = corrtest2.where(np.triu(np.ones(corrtest2.shape), k=1).astype(bool)) #Mencari nilai yang berkorelasi di atas 0.7 to_drop1 = [column for column in upper1.columns if any(upper1[column] > 0.7)] to_drop2 =