Feb. 11, 2021
4:29 p.m.
Hello everyone, I was trying to run the BIRCH clustering algorithm. However, after fitting the model I am facing the following error: AttributeError: '_CFSubcluster' object has no attribute 'sq_norm_' This error occurs only after fitting the model and I couldn't find any proper explanation of this. Could anyone give me any suggestions on that? It would be really helpful. Here is my code: from sklearn.cluster import Birch # Creating the BIRCH clustering model model = Birch(n_clusters = None) # Fit the data (Training) model.fit(df) # Predict the same data pred = model.predict(df) -- Best Regards, Farzana Anowar, PhD Candidate Department of Computer Science University of Regina