QH6214 qhull input error: not enough points(2) to construct initial simplex (need 3)

See original GitHub issue

Hi Douglas,

One of my data set produced the error below. It’s probaly caused by HDBSCAN not returning clusters, as it goes away if I enter my own cluster labels via the metadata file.

Traceback (most recent call last):
  File "/Users/detours/ai/ciga-resnet18/code/python/pix-plot-master/pixplot/pixplot.py", line 1383, in <module>
    parse()
  File "/Users/detours/ai/ciga-resnet18/code/python/pix-plot-master/pixplot/pixplot.py", line 1380, in parse
    process_images(**config)
  File "/Users/detours/ai/ciga-resnet18/code/python/pix-plot-master/pixplot/pixplot.py", line 134, in process_images
    get_manifest(**kwargs)
  File "/Users/detours/ai/ciga-resnet18/code/python/pix-plot-master/pixplot/pixplot.py", line 424, in get_manifest
    'default_hotspots': get_hotspots(vecs=read_json(layouts['umap']['layout'], **kwargs), **kwargs),
  File "/Users/detours/ai/ciga-resnet18/code/python/pix-plot-master/pixplot/pixplot.py", line 1206, in get_hotspots
    hull = ConvexHull(positions)
  File "qhull.pyx", line 2433, in scipy.spatial.qhull.ConvexHull.__init__
  File "qhull.pyx", line 356, in scipy.spatial.qhull._Qhull.__init__
scipy.spatial.qhull.QhullError: QH6214 qhull input error: not enough points(2) to construct initial simplex (need 3)

While executing:  | qhull i Qt
Options selected for Qhull 2019.1.r 2019/06/21:
  run-id 771789821  incidence  Qtriangulate  _pre-merge  _zero-centrum
  _maxoutside  0

Best,

Vincent

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
duhaimecommented, Apr 26, 2021

Ah excellent! As they say, there are only two hard things in computer science:

  1. cache invalidation
  2. naming things
  3. and off by one problems
0reactions
vdetcommented, Apr 26, 2021

That was the problem! Sorry. The functionality you implemented worked fine. Thanks! Vincent

Read more comments on GitHub >

github_iconTop Results From Across the Web

griddata: QH6214 qhull input error: not enough points(2) to ...
The first argument to griddata must have shape (n, D) , where n is the number of points, and D is the dimension...
Read more >
QhullError: QH6214 qhull input error: not enough ... - GitHub
Adjusting this parameter should allow you to construct the centerline. All that remains is to provide a more "user-friendly" error message.
Read more >
Frequently Asked Questions — centerline 0.6.4 documentation
QH6214 qhull input error : not enough points to construct initial simplex¶. This error occurs when there is an inconsistency in units. For...
Read more >
Imprecision in Qhull
Representation error occurs when there are not enough digits to represent a number, e.g., 1/3. Measurement error occurs when the input coordinates are...
Read more >
QHull error with newer scipy versions when running ... - GitLab
Unfortunately, I'm not able to reproduce the issue. When running SICOR version 0.15.2 with scipy version 1.5.0 or version 1.5.3 on my machine, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found