<｜begin▁of▁sentence｜>### Instruction:
As an astrobiologist studying the potential for life in the universe, you may have collected a list of graphs representing complex networks related to astrobiology research. For example, these graphs could represent the interactions between different elements in a hypothetical living system. To better understand and analyze the structure of these graphs, you may want to explore utilizing the 'LDP' model to generate embeddings that capture the intricate relationships within these networks. This could potentially provide valuable insights into the underlying patterns and dynamics of these systems, shedding light on the conditions necessary for life to exist beyond Earth.
### Response:
import networkx as nx
from karateclub import LDP
import numpy as np

# Create example graphs
G1 = nx.erdos_renyi_graph(100, 0.05)
G2 = nx.erdos_renyi_graph(100, 0.05)
graphs = [G1, G2]

# Initialize LDP model
model = LDP()

# Fit the model
model.fit(graphs)

# Get the embeddings
embeddings = model.get_embedding()
print(embeddings)
<|EOT|>
