1我认为OPTICS聚类可以帮助你,但我找不到在Julia中实现它的方法。如果你想尝试Python,可以在这里查看https://scikit-learn.org/stable/modules/generated/sklearn.cluster.OPTICS.html。 - Virgaux Pierre
1有一个名为ScikitLearn.jl的Julia接口可以访问OPTICS(该软件包中的某些模型是用Julia编写的,某些模型是用Python编写的,OPTICS目前从Python的scikit-learn导入)。如果您正在使用MLJ,则还有一个接口包可用于在MLJ生态系统中使用此模型。该接口包的详细信息请参见:https://docs.juliahub.com/MLJScikitLearnInterface/OPmBR/0.2.0/autodocs/#MLJScikitLearnInterface.OPTICS。 - Sundar R
using Pkg
Pkg.add("BetaML")
using BetaML
m = GMMClusterModel(nClasses=K,mixtures=[FullGaussian() for i in1:K])
fit!(m,X) # X is a n by d matrix
classes = mode(predict(m))