PCA.plot_scree()

statsmodels.multivariate.pca.PCA.plot_scree

PCA.plot_scree(ncomp=None, log_scale=True, cumulative=False, ax=None) [source]

Plot of the ordered eigenvalues

Parameters:

ncomp : int, optional

Number of components ot include in the plot. If None, will included the same as the number of components computed

log_scale : boot, optional

Flag indicating whether ot use a log scale for the y-axis

cumulative : bool, optional

Flag indicating whether to plot the eigenvalues or cumulative eigenvalues

ax : Matplotlib axes instance, optional

An axes on which to draw the graph. If omitted, new a figure is created

Returns:

fig : figure

Handle to the figure

© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.multivariate.pca.PCA.plot_scree.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部