Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mooc-rr
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
036332d1e8a8fad18eace193f300e27a
mooc-rr
Commits
f03f7cbe
Commit
f03f7cbe
authored
Jun 20, 2025
by
036332d1e8a8fad18eace193f300e27a
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lab Journal comment
parent
f2175e35
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
exercice.ipynb
module2/exo2/exercice.ipynb
+13
-2
No files found.
module2/exo2/exercice.ipynb
View file @
f03f7cbe
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Logbook – Week 2\n",
"\n",
"This week, I used Jupyter and completed excersises 2.1, 2.2 and 2.3.\n",
"I estimated π, did simple stats like mean and standard deviation, and made a sequence plot and histogram. \n",
"The goal is to learn to keep code/tasks and notes in one place. \n"
]
},
{
"cell_type": "code",
"execution_count":
4
,
"execution_count":
6
,
"metadata": {},
"outputs": [
{
...
...
@@ -32,7 +43,7 @@
"min_val = np.min(data)\n",
"max_val = np.max(data)\n",
"median_val = np.median(data)\n",
"std_val = np.std(data, ddof=1)
# Important: ddof=1 for corrected estimate
\n",
"std_val = np.std(data, ddof=1) \n",
"\n",
"print(\"Mean:\", round(mean_val, 2))\n",
"print(\"Min:\", round(min_val, 2))\n",
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment