<｜begin▁of▁sentence｜>### Instruction:
Given a Newman-Watts-Strogatz small-world graph with 100 nodes, each connected to its 3 nearest neighbors and with a 0.5 probability of adding a new edge, can you use the BoostNE model to obtain embeddings that capture the graph's structural information?
### Response:
import networkx as nx
from karateclub import BoostNE
import numpy as np

# Step 1: Create a graph
G = nx.newman_watts_strogatz_graph(100, 3, 0.5)

# Step 2: Initialize BoostNE with default parameters
boostne = BoostNE()

# Step 3: Fit the model
boostne.fit(G)

# Step 4: Get the embeddings
embeddings = boostne.get_embedding()

print(embeddings)
<|EOT|>
