import numpy as np import matplotlib.pyplot as plt from matplotlib.gridspec import GridSpec import utils import pca import pixel_spectra from sklearn.decomposition import PCA, FastICA size = 512 # pca.pca(2, size, size, method="sparse", alpha=1000) # pca.pca(2, size, size, method="kernel", kernel='poly', scale=True) # pca.pca(2, size, size, method="ica", scale=False) # pca.pca_cluster(3, 4, size, size, scale=False, cluster_method="kmeans") sliders = pca.pca(2, size, size, scale=False, sliders=True) sliders = pca.pca(2, size, size, scale=False, sliders=True, selected=[17, 7]) # kmeans.kmeans(8, 128, 128) # pixel_spectra.pixel_spectra(100) # slideshow.slideshow() plt.show()