<｜begin▁of▁sentence｜>### Instruction:
As a plant pathologist, you are working on a project where you need to study the network of interactions between various plant species in an ecosystem. You are looking to analyze the connections between 100 different plant species, which are divided into two equally sized groups. Within each group, the probability of interaction is 0.1, while the probability of interaction between the two groups is 0.05. To model this network, you can use Python's NetworkX library to generate the undirected graph without self-loops.
### Response:
import igraph as ig

# Parameters for SBM
n = 100  # Number of vertices
pref_matrix = [[0.1, 0.05], [0.05, 0.1]]  # Preference matrix for connection probabilities
block_sizes = [50, 50]  # Number of vertices in each block
loops = False  # Whether loops are allowed

# Generate the graph
g_sbm = ig.GraphBase.SBM(n, pref_matrix, block_sizes, directed=False, loops=loops)

# Plot the graph
ig.plot(g_sbm)
<|EOT|>
