'''机器学习-面部识别示例''' from sklearn.datasets import fetch_lfw_people from sklearn.decomposition import PCA from sklearn.discriminant_analysis import LinearDiscriminantAnalysis from sklearn.preprocessing import StandardScaler from time import time import numpy as np import matplotlib.pyplot as plt from sk