PCA(n_components=0.7,svd_solver = ’full’)
加上参数svd_solver = ’full’
如果n_components是小数位,代表留下参数的百分比, 如0.7 代表保留70%的变量
如果n_components是整数位,代表留下几个变量,如2 代表留下2个变量