python:实现KPCA(附完整源码)

python:实现KPCA

from scipy.spatial.distance import pdist, squareform
from scipy import exp
from numpy.linalg import eigh
import numpy as np

def rbf_kernel_pca(X, gamma, n_components):
    """
    RB

你可能感兴趣的:(python算法完整教程,python,开发语言)