Put steps into the correct order. Firstly, perform all scaling actions.
Principal component analysis in scikit-learn
Algorithm
Report a typo
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') ___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.