简体   繁体   中英

while training model with AgglomerativeClustering algorithm getting memory error

I am training one model for unsupervised learning. Data set has 1,40,000 rows and 6 columns. file size is 10,637 KB of csv type.

import numpy as np
import pandas as pd
import seaborn as sns
%matplotlib qt
import matplotlib.pyplot as plt
from sklearn.cluster import KMeans 
from sklearn.preprocessing import LabelEncoder
from sklearn.preprocessing import MinMaxScaler
from sklearn.cluster import AgglomerativeClustering

Large Data is not supported by Agglomerative Clustering

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM