Skip to content

Commit

Permalink
Updates from class
Browse files Browse the repository at this point in the history
  • Loading branch information
mariolpantunes committed Oct 12, 2023
1 parent 54bba35 commit 7324a84
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 60 deletions.
75 changes: 34 additions & 41 deletions notebooks/notebook_05.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
{
"cell_type": "code",
"execution_count": 30,
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -60,7 +60,7 @@
},
{
"cell_type": "code",
"execution_count": 31,
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -70,7 +70,7 @@
},
{
"cell_type": "code",
"execution_count": 32,
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -79,7 +79,7 @@
},
{
"cell_type": "code",
"execution_count": 33,
"execution_count": 4,
"metadata": {},
"outputs": [
{
Expand All @@ -101,7 +101,7 @@
},
{
"cell_type": "code",
"execution_count": 34,
"execution_count": 5,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -131,28 +131,21 @@
},
{
"cell_type": "code",
"execution_count": 35,
"execution_count": 6,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
" 0%| | 0/300 [00:00<?, ?it/s]"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"100%|██████████| 300/300 [00:03<00:00, 90.32it/s]"
"100%|██████████| 300/300 [00:07<00:00, 40.16it/s]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"LR [ 0.03168347 16.6679597 ]\n"
"LR [ 0.03168348 16.66795968]\n"
]
},
{
Expand All @@ -171,7 +164,7 @@
},
{
"cell_type": "code",
"execution_count": 36,
"execution_count": 7,
"metadata": {},
"outputs": [
{
Expand All @@ -195,14 +188,14 @@
},
{
"cell_type": "code",
"execution_count": 37,
"execution_count": 8,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"RMSE = 6.930285482801354\n"
"RMSE = 6.930285482801353\n"
]
}
],
Expand All @@ -213,7 +206,7 @@
},
{
"cell_type": "code",
"execution_count": 38,
"execution_count": 9,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -249,14 +242,14 @@
},
{
"cell_type": "code",
"execution_count": 39,
"execution_count": 10,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"100%|██████████| 1000/1000 [00:00<00:00, 84548.94it/s]"
"100%|██████████| 1000/1000 [00:00<00:00, 40122.67it/s]"
]
},
{
Expand All @@ -282,7 +275,7 @@
},
{
"cell_type": "code",
"execution_count": 40,
"execution_count": 11,
"metadata": {},
"outputs": [
{
Expand All @@ -306,7 +299,7 @@
},
{
"cell_type": "code",
"execution_count": 41,
"execution_count": 12,
"metadata": {},
"outputs": [
{
Expand All @@ -324,7 +317,7 @@
},
{
"cell_type": "code",
"execution_count": 42,
"execution_count": 13,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -356,21 +349,21 @@
},
{
"cell_type": "code",
"execution_count": 43,
"execution_count": 14,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"100%|██████████| 300/300 [00:01<00:00, 240.99it/s]"
"100%|██████████| 300/300 [00:02<00:00, 104.94it/s]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"LR [ 0.03873517 16.620008 ]\n"
"LR [ 0.03873518 16.620008 ]\n"
]
},
{
Expand All @@ -389,7 +382,7 @@
},
{
"cell_type": "code",
"execution_count": 44,
"execution_count": 15,
"metadata": {},
"outputs": [
{
Expand All @@ -413,7 +406,7 @@
},
{
"cell_type": "code",
"execution_count": 45,
"execution_count": 16,
"metadata": {},
"outputs": [
{
Expand All @@ -431,7 +424,7 @@
},
{
"cell_type": "code",
"execution_count": 46,
"execution_count": 17,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -467,14 +460,14 @@
},
{
"cell_type": "code",
"execution_count": 47,
"execution_count": 18,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
" 1%| | 1/100 [00:00<00:19, 5.19it/s]"
" 1%| | 1/100 [00:00<01:25, 1.16it/s]"
]
},
{
Expand All @@ -500,7 +493,7 @@
},
{
"cell_type": "code",
"execution_count": 48,
"execution_count": 19,
"metadata": {},
"outputs": [
{
Expand All @@ -524,7 +517,7 @@
},
{
"cell_type": "code",
"execution_count": 49,
"execution_count": 20,
"metadata": {},
"outputs": [
{
Expand All @@ -549,7 +542,7 @@
},
{
"cell_type": "code",
"execution_count": 50,
"execution_count": 21,
"metadata": {},
"outputs": [
{
Expand All @@ -575,7 +568,7 @@
},
{
"cell_type": "code",
"execution_count": 51,
"execution_count": 22,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -585,21 +578,21 @@
},
{
"cell_type": "code",
"execution_count": 52,
"execution_count": 23,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
" 2%|▏ | 2/100 [00:00<00:02, 39.91it/s]"
" 2%|▏ | 2/100 [00:00<00:47, 2.04it/s]"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"LR [ 59.2055595 8.89410118 265.99701604]\n"
"LR [ 59.20556205 8.89410104 265.99701315]\n"
]
},
{
Expand All @@ -618,7 +611,7 @@
},
{
"cell_type": "code",
"execution_count": 53,
"execution_count": 24,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -658,7 +651,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.12"
"version": "3.9.18"
},
"orig_nbformat": 4
},
Expand Down
Loading

0 comments on commit 7324a84

Please sign in to comment.