Method: Rumale::Decomposition::PCA#components

Defined in:
lib/rumale/decomposition/pca.rb

#componentsNumo::DFloat (readonly)

Returns the principal components.

Returns:

  • (Numo::DFloat)

    (shape: [n_components, n_features])



23
24
25
# File 'lib/rumale/decomposition/pca.rb', line 23

def components
  @components
end