for example we have:
from sklearn.decomposition import PCA import numpy as np xx = np.array([[-1, -1], [-2, -1], [-3, -2], [1, 1], [2, 1], [3, 2]]) pca = PC