From 93f87dbdc1f9d19793db213a679a4dde94d296b0 Mon Sep 17 00:00:00 2001 From: art Date: Fri, 8 Nov 2019 09:50:54 -0600 Subject: [PATCH] test --- data analysis/analysis/analysis.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/data analysis/analysis/analysis.py b/data analysis/analysis/analysis.py index 647af4b7..d5af74a5 100644 --- a/data analysis/analysis/analysis.py +++ b/data analysis/analysis/analysis.py @@ -405,7 +405,9 @@ def kmeans(data, kernel=sklearn.cluster.KMeans()): return centers, predictions -def pca(data, kernel = sklearn.decomposition.PCA(n_components=2)): +def pca(data, n_components = None, copy = True, whiten = False, svd_solver = ’auto’, tol = 0.0, iterated_power = ’auto’, random_state = None): + + kernel = sklearn.decomposition.PCA() return kernel.fit_transform(data)