ee.Clusterer.wekaXMeans
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
X-Means to K-Means z wydajnym szacowaniem liczby klastrów. Więcej informacji:
Dan Pelleg, Andrew W. Moore: X-means: Extending K-means with Efficient Estimation of the Number of Clusters. W: Seventeenth International Conference on Machine Learning, 727–734, 2000.
Wykorzystanie | Zwroty |
---|
ee.Clusterer.wekaXMeans(minClusters, maxClusters, maxIterations, maxKMeans, maxForChildren, useKD, cutoffFactor, distanceFunction, seed) | Klasteryzator |
Argument | Typ | Szczegóły |
---|
minClusters | Liczba całkowita, domyślnie: 2 | Minimalna liczba klastrów. |
maxClusters | Liczba całkowita, domyślnie: 8 | Maksymalna liczba klastrów. |
maxIterations | Liczba całkowita, wartość domyślna: 3 | Maksymalna liczba wszystkich iteracji. |
maxKMeans | Liczba całkowita, domyślnie: 1000 | Maksymalna liczba iteracji do wykonania w algorytmie KMeans. |
maxForChildren | Liczba całkowita, domyślnie: 1000 | Maksymalna liczba iteracji w algorytmie KMeans, która jest wykonywana na środkach klastrów podrzędnych. |
useKD | Wartość logiczna, domyślnie: false | Użyj KDTree. |
cutoffFactor | Liczba zmiennoprzecinkowa, domyślnie: 0 | Jeśli żaden z elementów podrzędnych nie wygra, przyjmuje podany odsetek podzielonych centroidów. |
distanceFunction | Ciąg znaków, domyślnie: „Euclidean” | Funkcja odległości do użycia. Dostępne opcje to: Czebyszewa, euklidesowa i Manhattan. |
seed | Liczba całkowita, domyślnie: 10 | Wartość początkowa randomizacji. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 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. |"]]