load_model¶
In [ ]:
load_model(name: str,
input_relation: str = "",
test_relation: str = "")
Loads a Vertica model and returns the associated object.
Parameters¶
| Name | Type | Optional | Description |
|---|---|---|---|
name | str | ❌ | Model Name. |
input_relation | str | ✓ | Some automated functions may depend on the input relation. If the load_model function could not find the input relation from the call string, it is important to manually fill it. |
test_relation | str | ✓ | Relation to use to do the testing. All the methods will use this relation for the scoring. If empty, the training relation will be used as testing. |
Returns¶
model : The model.
Example¶
In [2]:
from verticapy.learn.tools import *
model = load_model("logit_titanic")
model
Out[2]:
