verticapy.machine_learning.vertica.TensorFlowModel.to_pmml¶
- TensorFlowModel.to_pmml(path: str)¶
Exports the model to PMML.
Parameters¶
- path: str
Absolute path of an output directory to store the exported models.
Warning
This function operates solely on the server side and is not accessible locally. The
pathprovided should match the location where the file(s) will be exported on the server.
Returns¶
- bool
Trueif the model was successfully exported.
Examples¶
Let’s consider we’ve fitted a Vertica model
model.You can export it easily to PMML by using:
model.to_pmml(path = 'server_location')
Warning
This function operates solely on the server side and is not accessible locally.