As the title states, I want to use Voronoi to split a 5-dimensional space into 5 regions, however I cannot seem to achieve the latter with scipy.
Is my reasoning that this should be possible incorrect or is scipy not allowing this?
This is the code that leads to the error:
from scipy.spatial import Voronoi
import numpy as np
dimension = 5
points = 5
points = np.random.uniform(-5, 5, (points, dimension))
voro = Voronoi(points)
The error:
QhullError: QH6214 qhull input error: not enough points(5) to construct initial simplex (need 7)