Functions | |
def | dimen_reduc |
def | pca |
def | sample_gaussian |
Variables | |
tuple | cov = np.matrix([[2.,50.],[50, 100]]) |
tuple | mn = np.matrix((1., 5.)) |
tuple | P = np.cov(s) |
list | p1 = mn+U[:,0] |
list | p2 = mn+U[:,1] |
tuple | s = sample_gaussian(mn, cov, 1000) |
def hrl_lib.pca.dimen_reduc | ( | x, | |
n_dim | |||
) |
def hrl_lib.pca.pca | ( | x | ) |
def hrl_lib.pca.sample_gaussian | ( | mean, | |
cov, | |||
n_samples | |||
) |
tuple hrl_lib::pca::cov = np.matrix([[2.,50.],[50, 100]]) |
tuple hrl_lib::pca::mn = np.matrix((1., 5.)) |
tuple hrl_lib::pca::P = np.cov(s) |
list hrl_lib::pca::p1 = mn+U[:,0] |
list hrl_lib::pca::p2 = mn+U[:,1] |
tuple hrl_lib::pca::s = sample_gaussian(mn, cov, 1000) |