mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-10 06:54:44 +00:00
test
This commit is contained in:
parent
976c7b2db5
commit
93f87dbdc1
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user