verticapy.machine_learning.vertica.cluster.DBSCAN.drop#
- DBSCAN.drop() bool #
Drops the model from the Vertica database.
Examples#
Let’s start by importing a model:
from verticapy.machine_learning.vertica import DBSCAN
Then we can initialize the model:
model = DBSCAN( eps = 0.5, min_samples = 2, p = 2, )
Once the model is initialized we can easily drop it:
model.drop() Out[3]: False
Note
If it returns
False
, then it means that there was no model in the first place.Note
Refer to
DBSCAN
for more information about the different methods and usages.