From f2b104f6b96a2317e6d40232cdaca03f5bd53d6e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Herv=C3=A9=20=20MENAGER?= <herve.menager@pasteur.fr>
Date: Sun, 6 May 2018 20:55:07 +0200
Subject: [PATCH] remove debug prints in PCA analysis script

Former-commit-id: 8292a203cdc172f2adc2bc5aaa1e6ced28255420
---
 ippisite/ippidb/management/commands/pca.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/ippisite/ippidb/management/commands/pca.py b/ippisite/ippidb/management/commands/pca.py
index c64f4680..d50e9cc3 100644
--- a/ippisite/ippidb/management/commands/pca.py
+++ b/ippisite/ippidb/management/commands/pca.py
@@ -51,8 +51,6 @@ class Command(BaseCommand):
         x = StandardScaler().fit_transform(x)
         pca = PCA(n_components=2)
         principal_components = pca.fit_transform(x)
-        print(pca.explained_variance_)
-        print(pca.components_)
         variance_ratio = pd.Series(pca.explained_variance_ratio_)
         coef = np.transpose(pca.components_)
         cols = ['PC-'+str(x) for x in range(len(variance_ratio))]
-- 
GitLab