analysis.py v 1.1.5.001

This commit is contained in:
art 2019-10-31 11:03:52 -05:00
parent ab9b38da95
commit 8dd2440f08

View File

@ -11,6 +11,8 @@ __version__ = "1.1.5.001"
# changelog should be viewed using print(analysis.__changelog__)
__changelog__ = """changelog:
1.1.5.003:
- added pca
1.1.5.002:
- reduced import list
- added kmeans clustering engine
@ -378,6 +380,10 @@ def kmeans(data, kernel=sklearn.cluster.KMeans()):
return centers, predictions
def pca(data, kernel = sklearn.decomposition.PCA(n_components=2)):
return kernel.fit_transform(data)
class Regression:
# Titan Robotics Team 2022: CUDA-based Regressions Module