小编use*_*163的帖子

构建 React 应用程序时出现“错误:无法将样式分配给文件”

运行npm run build会返回此错误。我相信它在 3-4 个月前运行正常,而且事实上npm run dev运行得很好。我怀疑这与 @vanilla-extract/babel-plugin 的删除要求有关


> wellness-saas@0.1.0 dev
> next dev

ready - started server on 0.0.0.0:3000, url: http://localhost:3000
event - compiled client and server successfully in 672 ms (291 modules)
wait  - compiling...
event - compiled client and server successfully in 68 ms (291 modules)
wait  - compiling / (client and server)...
event - compiled client and server successfully in 72 ms (294 modules)
wait  - compiling /_error (client and server)... …
Run Code Online (Sandbox Code Playgroud)

javascript typescript reactjs next.js vanilla-extract

5
推荐指数
0
解决办法
1127
查看次数

3D 点的聚类

我有一个 3 维空间中包含大约 2000 万个点 (x,y,z) 的大型数据集。我知道这些点组织在密集区域中,但这些区域的大小各不相同。我认为标准的无监督 3D 聚类应该可以解决我的问题。

由于我无法先验估计簇的数量,因此我尝试使用 k 范围较宽的 k 均值,但速度很慢,而且我必须估计每个 k 分区的重要性。基本上,我的问题是:如何将点中最重要的部分提取到簇中?

cluster-analysis hierarchical-clustering spatial

1
推荐指数
1
解决办法
1186
查看次数