Skip to content

Louvain

Explore hierarchical clustering in RAI using Louvain. Discover social groups and see how weights refine community detection.

Download the Sample Notebook

Follow these steps to run the sample notebook using Snowflake Notebooks.

  1. Log in to Snowflake at app.snowflake.com.

  2. Import the notebook into Snowflake.

    Import the sample notebook

    1. Click on the + Create button in the top left corner of the Snowflake interface.
    2. Select Notebook from the dropdown menu.
    3. In the popover menu, click on the Import .ipynb File option.
    4. (Not pictured) Select the downloaded notebook file in the file picker dialog, then click Open.
  3. Configure the notebook resources.

    Configure the notebook resources

    1. Choose a name for your notebook.

    2. Select the database and schema where you want to save the notebook.

    3. Select the Run on container Python environment.

    4. Choose the Snowflake ML Runtime CPU 1.0 runtime.

    5. Choose the compute pool you want to use for the notebook’s Python kernel.

      No compute pool? See how to set one up.

    6. Choose the warehouse you want to use to execute the notebook’s SQL queries.

      No warehouse? See how to set one up.

    7. Click the Create button to create and open the notebook.

    8. (Not pictured) Follow the instructions in the notebook to run the code cells and explore the sample data.