人脸图像聚类
题目
对给定人脸图像数据集,可视化并输出聚类性能。
2.代码(该代码由某位大佬完成,我仅仅搬运,帮助更多的人)
from sklearn.cluster import KMeans
import matplotlib.pyplot as plt
import matplotlib.image as imgplt
import numpy as np
from sklearn.metrics import normalized_mutual_info_score,adjusted_rand_score
import os
import pandas as pd
from sklea
1