Clustering algorithms using stochastic analysis and ensemble techniques.
scatter2D(x, y, agg=None, layout=None, show_items=None, **kwargs)
Generates a 2-dimensional scatter plot of given coordinate vectors; optionally plots them on separate traces based on an aggregation. Returns a Plotly Figure
.
Arguments | Type | Description | |
---|---|---|---|
x |
np.ndarray |
The \(x\)-coordinates of the data points. | |
y |
np.ndarray |
The \(y\)-coordinates of the data points. | |
agg |
Keyword | Aggregation |
An Aggregation of the indices of x and y . |
show_items |
Keyword | np.ndarray |
A one-dimensional array of which indices of x and y are to be shown. |
layout |
Keyword | dict |
Updates values for the Plotly Figure layout . |
**kwargs |
Further keyword arguments | Keyword arguments for the Plotly Scatter trace. If an attribute is given as a single string or float, will be applied to all data points. If as an array of length x.shape[0] , will be applied separately to each data point. If an an array of length agg.clusters.size , will be applied separately to each cluster. |