new XMeans(matrix, K_max, K_min, metricopt, seedopt) → {XMeans}Parameters:NameTypeAttributesDefaultDescriptionmatrixMatrixK_maxNumbers10K_minNumbers2metricfunction<optional>euclideanseedNumber<optional>1987Sourceclustering/XMeans.js, line 8Seehttps://www.cs.cmu.edu/~dpelleg/download/xmeans.pdfhttps://github.com/annoviko/pyclustering/blob/master/pyclustering/cluster/xmeans.pyhttps://github.com/haifengl/smile/blob/master/core/src/main/java/smile/clustering/XMeans.javaTo Doneeds restructuring and repairing!!Returns:Type: XMeans