【问题标题】:cuml DBSCAN running slow with numba device arraycuml DBSCAN 使用 numba 设备阵列运行缓慢
【发布时间】:2021-11-30 06:10:13
【问题描述】:

我正在尝试使用 cuml ofrapids 来加速 dbscan 聚类 1500 万个 float64 数据点的过程。

''' pp = nb.cuda.to_device(ps) # ps是一个(15636915,2)的cupy数组

使用 cuml.using_output_type('input'): db_gpu = cumlDBSCAN(eps=0.8, min_samples=100,verbose=5).fit_predict(ps,out_dtype='int64') '''

但它的运行速度比在 cpu 上运行的ski-learn 慢得多。而且它没有占用我gpu的全部内存

enter image description here enter image description here

【问题讨论】:

  • [[-230.19247437 43.1092453 ] [-225.90078735 41.32767487] [-222.15249634 33.68173981] ...数据看起来像这样

标签: gpu cluster-analysis dbscan rapids


【解决方案1】:

Hu.Xuechun,在这里转帖是为了让你知道我已经直接回复了你的 Github 问题:https://github.com/rapidsai/cuml/issues/4276

【讨论】:

    猜你喜欢
    • 2014-02-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-07-01
    相关资源
    最近更新 更多