athena.kas.KernelActiveSubspaces.plot_eigenvectors

KernelActiveSubspaces.plot_eigenvectors(n_evects=None, filename=None, figsize=None, labels=None, title='')

Plot the eigenvectors.

Parameters
  • n_evects (int) – number of eigenvectors to plot. Default is self.dim.

  • filename (str) – if specified, the plot is saved at filename.

  • figsize (tuple(int,int)) – tuple in inches defining the figure size. Default is (8, 2 * n_evects).

  • labels (str) – labels for the components of the eigenvectors.

  • title (str) – title of the plot.

Raises

ValueError, TypeError

Warning

self.fit has to be called in advance.