K-means算法應用:圖片壓縮

    from sklearn.datasets import load_sample_image from sklearn.cluster import KMeans import matplotlib.pyplot as plt import numpy as np china = load_sample_image("china.jpg") plt.imshow(china) plt.sh
相關文章
相關標籤/搜索