Skip to content

Commit e9b3d1c

Browse files
authored
Minor correction to the FastICA 2D cloud point example (scikit-learn#27370)
1 parent b06a099 commit e9b3d1c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/decomposition/plot_ica_vs_pca.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@
5454
ica = FastICA(random_state=rng, whiten="arbitrary-variance")
5555
S_ica_ = ica.fit(X).transform(X) # Estimate the sources
5656

57-
S_ica_ /= S_ica_.std(axis=0)
58-
5957

6058
# %%
6159
# Plot results
@@ -113,4 +111,5 @@ def plot_samples(S, axis_list=None):
113111
plt.title("ICA recovered signals")
114112

115113
plt.subplots_adjust(0.09, 0.04, 0.94, 0.94, 0.26, 0.36)
114+
plt.tight_layout()
116115
plt.show()

0 commit comments

Comments
 (0)