ee.Clusterer.wekaXMeans
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
X-Means là K-Means với một phương pháp ước tính hiệu quả về số lượng cụm. Để biết thêm thông tin, hãy xem:
Dan Pelleg, Andrew W. Moore: X-means: Extending K-means with Efficient Estimation of the Number of Clusters (X-means: Mở rộng K-means bằng cách ước tính hiệu quả số lượng cụm). Trong: Seventeenth International Conference on Machine Learning, 727-734, 2000.
Cách sử dụng | Giá trị trả về |
---|
ee.Clusterer.wekaXMeans(minClusters, maxClusters, maxIterations, maxKMeans, maxForChildren, useKD, cutoffFactor, distanceFunction, seed) | Clusterer |
Đối số | Loại | Thông tin chi tiết |
---|
minClusters | Số nguyên, mặc định: 2 | Số lượng cụm tối thiểu. |
maxClusters | Số nguyên, mặc định: 8 | Số lượng cụm tối đa. |
maxIterations | Số nguyên, mặc định: 3 | Số lần lặp lại tối đa. |
maxKMeans | Số nguyên, mặc định: 1000 | Số lần lặp lại tối đa cần thực hiện trong KMeans. |
maxForChildren | Số nguyên, mặc định: 1000 | Số lần lặp tối đa trong KMeans được thực hiện trên các trung tâm con. |
useKD | Boolean, mặc định: false | Sử dụng KDTree. |
cutoffFactor | Độ chính xác đơn, mặc định: 0 | Lấy tỷ lệ phần trăm đã cho của các tâm phân chia nếu không có phần tử con nào giành chiến thắng. |
distanceFunction | Chuỗi, mặc định: "Euclidean" | Hàm khoảng cách cần sử dụng. Các lựa chọn là: Chebyshev, Euclidean và Manhattan. |
seed | Số nguyên, mặc định: 10 | Số ngẫu nhiên để sắp xếp ngẫu nhiên. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\u003cp\u003eX-Means extends the K-Means clustering algorithm by efficiently estimating the optimal number of clusters within a specified range.\u003c/p\u003e\n"],["\u003cp\u003eThe algorithm iteratively evaluates potential cluster splits using a Bayesian Information Criterion (BIC) to determine the most likely number of clusters.\u003c/p\u003e\n"],["\u003cp\u003eUsers can customize parameters like the minimum and maximum number of clusters, iterations, distance function, and randomization seed for fine-grained control over the clustering process.\u003c/p\u003e\n"],["\u003cp\u003eImplemented within Earth Engine, X-Means offers a scalable solution for geospatial data analysis and pattern recognition tasks.\u003c/p\u003e\n"]]],[],null,["# ee.Clusterer.wekaXMeans\n\nX-Means is K-Means with an efficient estimation of the number of clusters. For more information see:\n\n\u003cbr /\u003e\n\nDan Pelleg, Andrew W. Moore: X-means: Extending K-means with Efficient Estimation of the Number of Clusters. In: Seventeenth International Conference on Machine Learning, 727-734, 2000.\n\n| Usage | Returns |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------|\n| `ee.Clusterer.wekaXMeans(`*minClusters* `, `*maxClusters* `, `*maxIterations* `, `*maxKMeans* `, `*maxForChildren* `, `*useKD* `, `*cutoffFactor* `, `*distanceFunction* `, `*seed*`)` | Clusterer |\n\n| Argument | Type | Details |\n|--------------------|------------------------------|------------------------------------------------------------------------------------|\n| `minClusters` | Integer, default: 2 | Minimum number of clusters. |\n| `maxClusters` | Integer, default: 8 | Maximum number of clusters. |\n| `maxIterations` | Integer, default: 3 | Maximum number of overall iterations. |\n| `maxKMeans` | Integer, default: 1000 | The maximum number of iterations to perform in KMeans. |\n| `maxForChildren` | Integer, default: 1000 | The maximum number of iterations in KMeans that is performed on the child centers. |\n| `useKD` | Boolean, default: false | Use a KDTree. |\n| `cutoffFactor` | Float, default: 0 | Takes the given percentage of the split centroids if none of the children win. |\n| `distanceFunction` | String, default: \"Euclidean\" | Distance function to use. Options are: Chebyshev, Euclidean, and Manhattan. |\n| `seed` | Integer, default: 10 | The randomization seed. |"]]