tricands.tricands.tricands_interior
tricands.tricands.tricands_interior(X)Generate interior candidates using Delaunay triangulation.
Subroutine used by tricands wrapper.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| X | np.ndarray | Input design matrix of shape (n_samples, n_features). | required |
Returns
| Name | Type | Description |
|---|---|---|
| dict | dict | A dictionary containing: - ‘cand’ (np.ndarray): Candidate points (midpoints of triangles). - ‘tri’ (np.ndarray): Simplicies of the Delaunay triangulation. |
Raises
| Name | Type | Description |
|---|---|---|
| Exception | If the number of points is less than n_features + 1. |