I want to get the number of clusters that Biqquery automatically created with my code below
CREATE OR REPLACE MODEL ch09eu.london_station_clusters
OPTIONS(model_type='kmeans',
standardize_features = true) AS
SELECT * EXCEPT(station_name)
from ch09eu.stationstats
As per the documentation when the argument num_clusters is not explicitly passed while creating a model, BigQuery ML will choose a reasonable default based on the number of rows in the training data. Number of clusters can be found under the Details section in the model. Adding below a sample image for reference:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.