Computer scienceData scienceInstrumentsScikit-learnData preprocessing with scikit-learn

Principal component analysis in scikit-learn

Algorithm

Report a typo

Put steps into the correct order. Firstly, perform all scaling actions.

Put the items in the correct order
scaler.fit(X)
scaler = StandardScaler()
X_scaled = scaler.transform(X)
X_pca = pca.fit_transform(X_scaled)
pca = PCA(svd_solver = 'full')
___

Create a free account to access the full topic