Model.plot_circle

In [ ]:
Model.plot_circle(dimensions: tuple = (1, 2),
                  ax=None, 
                  **style_kwds,)

Draws a decomposition circle.

Parameters

Name Type Optional Description
dimensions
tuple
Tuple of two elements representing the IDs of the model's components.
ax
Matplotlib axes object
The axes to plot on.
**style_kwds
any
Any optional parameter to pass to the Matplotlib functions.

Returns

ax : Matplotlib axes object

Example

In [3]:
from verticapy.learn.decomposition import PCA
model = PCA(name = "public.PCA_iris")
model.drop()
model.fit("public.iris",)
model.plot_circle()
Out[3]:
<AxesSubplot:xlabel='Dim1 (92.5%)', ylabel='Dim2 (5.3%)'>