<｜begin▁of▁sentence｜>### Instruction:
Given an Erdos-Renyi graph with 100 nodes and a probability of edge creation of 0.05, can you use the SCD model to find the cluster memberships of the nodes in the graph?
### Response:
import networkx as nx
from karateclub import SCD

# Create a graph
G = nx.erdos_renyi_graph(100, 0.05)

# Instantiate SCD with default parameters
scd = SCD()

# Fit the model to the graph
scd.fit(G)

# Get the cluster memberships
memberships = scd.get_memberships()

# print the cluster memberships
print(memberships)
<|EOT|>
