Learning Curve¶
In [17]:
%matplotlib inline
from verticapy.learn.ensemble import RandomForestClassifier
model = RandomForestClassifier(name = "public.RF_titanic")
from verticapy.learn.model_selection import learning_curve
# Efficiency
learning_curve(model,
input_relation = "public.titanic",
X = ["age", "fare", "parch",],
y = "survived",
method = "efficiency",
cv = 3,
metric = "auc",)
Out[17]:
In [18]:
# Scalability
learning_curve(model,
input_relation = "public.titanic",
X = ["age", "fare", "parch",],
y = "survived",
method = "scalability",
cv = 3,
metric = "auc",)
Out[18]:
In [19]:
# Performance
learning_curve(model,
input_relation = "public.titanic",
X = ["age", "fare", "parch",],
y = "survived",
method = "performance",
cv = 3,
metric = "auc",)
Out[19]:
