Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
| Download
Project: Computational Thinking
Path: Section Two.ipynb
Views: 16Visibility: Unlisted (only visible to those who know the link)
Image: ubuntu2204Kernel: Python 3 (system-wide)
Section Two: Developing the Random Walk Tools
code needs to be documented. Taken from https://towardsdatascience.com/random-walks-with-python-8420981bc4bc
In [3]:
Populating the interactive namespace from numpy and matplotlib
In [4]:
(1, 1)
In [5]:
<class 'tuple'>
In [6]:
In [7]:
In [8]:
In [9]:
In [10]:
In [11]:
In [12]:
Text(0.5, 0.92, '3D Random Walk')
In [13]:
In [14]:
Text(0.5, 0.92, '3D Random Walk - Multiple runs')
The value of the data created by random walks need to be explained here.
The following code is experimental, ignore for now.
Now for something different Networks
In [15]:
In [16]:
In [0]:
In [17]:
In [18]:
In [19]:
Edges: [(1, 2), (1, 3), (2, 4)] # Edges: 3
Nodes: [1, 2, 3, 4, 5] # Nodes: 5
In [20]:
<Figure size 432x288 with 0 Axes>
In [21]:
[(1, 2), (1, 3), (1, 5), (2, 4), (2, 3), (5, 4)]
[1, 2, 3, 5, 4]
In [22]:
In [0]:
The display of networks is interesting. Now what can we learn about the development and analysis of these network views?
In [5]:
In [0]: