Model.plot¶
In [ ]:
Model.plot(max_nb_points: int = 50,
ax=None,
**style_kwds,)
Example¶
In [3]:
# SVM
from verticapy.learn.svm import LinearSVC
model = LinearSVC(name = "public.SVC_iris")
model.drop()
model.fit("public.iris_clean",
["PetalLengthCm", "PetalWidthCm"],
"Species_Iris-setosa")
model.plot()
Out[3]:
In [6]:
# Logit
from verticapy.learn.linear_model import LogisticRegression
model = LogisticRegression(name = "public.SVC_titanic")
model.drop()
model.fit("public.titanic",
["fare", "age"],
"survived")
model.plot()
Out[6]:
