Version:

aggregate_convex_hullΒΆ

GPUdb.aggregate_convex_hull( table_name = None, x_column_name = None,
                             y_column_name = None, options = {} )

Calculates and returns the convex hull for the values in a table specified by input parameter table_name.

Input Parameter Description

Name Type Description
table_name str Name of Table on which the operation will be performed. Must be an existing table. It can not be a collection.
x_column_name str Name of the column containing the x coordinates of the points for the operation being performed.
y_column_name str Name of the column containing the y coordinates of the points for the operation being performed.
options dict of str Optional parameters. Default value is an empty dict ( {} ).

Output Parameter Description

Name Type Description
x_vector list of floats Array of x coordinates of the resulting convex set.
y_vector list of floats Array of y coordinates of the resulting convex set.
count int Count of the number of points in the convex set.
is_valid bool