K-means in Google Cloud Console | Scribe

    K-means in Google Cloud Console

    • Kim appeltans |
    • 58 steps
    1
    Navigate to [https://console.cloud.google.com/](https://console.cloud.google.com/welcome?hl=en&project=summer-sun-237618)
    2
    Click "My Project"
    3
    Click "ALL"
    4
    Click "My Project "
    5
    Click this icon.
    6
    Find BigQuery and open BigQuery Studio
    7
    Open your resources
    8
    Click "rfm"
    9
    Click "RFM_TABLE"
    10
    Click "PREVIEW"
    11
    Click "RFM_Z_VALUES"
    12
    Click "PREVIEW"
    13
    Click "QUERY"
    14
    Click here.
    15
    Click here.
    16
    Go to <https://docs.buaimarketing.com/k-means-clustering-for-segmentation/> - Copy the code in section: 4. K-means Clustering
    17
    Copy the code: "CREATE OR REPLACE MODEL `your_project.your_dataset.rfm_kmeans_model`\ OPTIONS(model_type='kmeans', num_clusters=4) AS\ SELECT\ recency_z,\ frequ..."
    18
    Switch back to tab "BigQuery – My Project – Google Cloud console"
    19
    Click on Query . Click "`myproject.rfm.RFM_Z_VALUES`" and replace the code with your project's name and dataset.
    20
    Click run