<｜begin▁of▁sentence｜>### Instruction:
As an AI ethicist, you're considering the ethical implications of a directed graph representing a network structure. In this scenario, the graph has four nodes and three directed edges. You need to modify the value in the adjacency matrix at row 1, column 2, and then display the full adjacency matrix. This task falls within the realm of network analysis, and the manipulation of the adjacency matrix reflects the practical application of AI technologies in network representation.
### Response:
from networkx.linalg.graphmatrix import adjacency_matrix
import networkx as nx

# Create a directed graph
g = nx.DiGraph()

# Add some edges
g.add_edge(0, 1)
g.add_edge(1, 2)
g.add_edge(2, 3)

# Get the adjacency matrix (as a SciPy sparse matrix)
matrix = adjacency_matrix(g)

# Now use Matrix.__setitem__ equivalent by setting a value in the matrix
# Here we set the element at row 1, column 2 to be 5
matrix[1, 2] = 5

# Verify the change
print(matrix.toarray())
<|EOT|>
