Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gabby hills patch 72 #423

Open
wants to merge 142 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
142 commits
Select commit Hold shift + click to select a range
a3bd83b
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 4, 2023
9947719
Merge pull request #1 from GabbyHills/GabbyHills-patch-1-1
GabbyHills Aug 4, 2023
c3b6e0a
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
f2ff0b6
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
465393c
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
304587e
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
7e07ff5
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
380d272
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
e5b3d21
Merge pull request #2 from GabbyHills/GabbyHills-patch-1-1
GabbyHills Aug 5, 2023
f3aec3c
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
77c01c2
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
82209b8
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
f0f7d8d
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
f7c5a83
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
6affa5b
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
553b6ee
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
9bee5a7
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
a793e9b
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
7ddc60f
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
9945fae
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
79ae7f5
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
2b98bb3
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
7b2e7f0
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
b265273
Merge pull request #3 from GabbyHills/GabbyHills-patch-2
GabbyHills Aug 5, 2023
c8ce232
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
15c7bb6
Merge pull request #4 from GabbyHills/GabbyHills-patch-3
GabbyHills Aug 5, 2023
3f6a416
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
4b1f042
Merge pull request #6 from GabbyHills/GabbyHills-patch-6
GabbyHills Aug 5, 2023
4c87240
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
0c14873
Merge pull request #7 from GabbyHills/GabbyHills-patch-8
GabbyHills Aug 5, 2023
f1a6076
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
b507e4d
Merge pull request #8 from GabbyHills/GabbyHills-patch-9
GabbyHills Aug 5, 2023
97b419b
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
89bfe7a
Merge pull request #9 from GabbyHills/GabbyHills-patch-11
GabbyHills Aug 5, 2023
028831b
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
08c2eb6
Merge pull request #10 from GabbyHills/GabbyHills-patch-12
GabbyHills Aug 5, 2023
6c05f9c
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
ecb6fd9
Merge pull request #11 from GabbyHills/GabbyHills-patch-13
GabbyHills Aug 5, 2023
74958ed
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
e04c7a3
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
b30c4b2
Merge pull request #12 from GabbyHills/GabbyHills-patch-14
GabbyHills Aug 5, 2023
777bb9e
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
72ffd2c
Merge pull request #13 from GabbyHills/GabbyHills-patch-15
GabbyHills Aug 5, 2023
e2f21ca
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
09792b0
Merge pull request #14 from GabbyHills/GabbyHills-patch-16
GabbyHills Aug 5, 2023
88275f3
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
e38e8f0
Merge pull request #15 from GabbyHills/GabbyHills-patch-17
GabbyHills Aug 5, 2023
9672229
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
f11b2af
Merge pull request #16 from GabbyHills/GabbyHills-patch-18
GabbyHills Aug 5, 2023
c2f5ed1
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
a7070a1
Merge pull request #17 from GabbyHills/GabbyHills-patch-19
GabbyHills Aug 5, 2023
10854e6
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
1e89833
Merge pull request #18 from GabbyHills/GabbyHills-patch-21
GabbyHills Aug 5, 2023
50926f0
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
d7e8360
Merge pull request #19 from GabbyHills/GabbyHills-patch-22
GabbyHills Aug 5, 2023
97fdfeb
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
66d1572
Merge pull request #20 from GabbyHills/GabbyHills-patch-23
GabbyHills Aug 5, 2023
baa6f58
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
c082884
Merge pull request #21 from GabbyHills/GabbyHills-patch-24
GabbyHills Aug 5, 2023
7975558
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
f2980bb
Merge pull request #22 from GabbyHills/GabbyHills-patch-25
GabbyHills Aug 5, 2023
dfc0313
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
96aaac2
Merge pull request #23 from GabbyHills/GabbyHills-patch-26
GabbyHills Aug 5, 2023
f373bfa
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
7e38b2d
Merge pull request #24 from GabbyHills/GabbyHills-patch-27
GabbyHills Aug 5, 2023
18fe5d1
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
4d9ac08
Merge pull request #25 from GabbyHills/GabbyHills-patch-28
GabbyHills Aug 5, 2023
9f7b864
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
5d1e0d8
Merge pull request #26 from GabbyHills/GabbyHills-patch-30
GabbyHills Aug 5, 2023
171860a
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
f038224
Merge pull request #27 from GabbyHills/GabbyHills-patch-31
GabbyHills Aug 5, 2023
f9c5ea1
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
a15a084
Merge pull request #29 from GabbyHills/GabbyHills-patch-33
GabbyHills Aug 5, 2023
cb8860b
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
b359f61
Merge pull request #30 from GabbyHills/GabbyHills-patch-34
GabbyHills Aug 5, 2023
dcb630e
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
58f1974
Merge pull request #31 from GabbyHills/GabbyHills-patch-35
GabbyHills Aug 5, 2023
fbcdef0
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
abf6d33
Merge pull request #32 from GabbyHills/GabbyHills-patch-36
GabbyHills Aug 5, 2023
1d765fb
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
f009f23
Merge pull request #33 from GabbyHills/GabbyHills-patch-37
GabbyHills Aug 5, 2023
fe808a2
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
8c7541c
Merge pull request #34 from GabbyHills/GabbyHills-patch-38
GabbyHills Aug 5, 2023
230efc5
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
f46e4cc
Merge pull request #35 from GabbyHills/GabbyHills-patch-40
GabbyHills Aug 5, 2023
3032b84
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
9e0b574
Merge pull request #37 from GabbyHills/GabbyHills-patch-43
GabbyHills Aug 5, 2023
243488b
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
0e35c8a
Merge pull request #38 from GabbyHills/GabbyHills-patch-44
GabbyHills Aug 5, 2023
09251ac
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
063d720
Merge pull request #39 from GabbyHills/GabbyHills-patch-45
GabbyHills Aug 5, 2023
38e1fd1
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
47952b4
Merge pull request #40 from GabbyHills/GabbyHills-patch-46
GabbyHills Aug 5, 2023
0279fba
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
4d1d539
Merge pull request #41 from GabbyHills/GabbyHills-patch-47
GabbyHills Aug 5, 2023
9d11d60
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
2d0b787
Merge pull request #42 from GabbyHills/GabbyHills-patch-48
GabbyHills Aug 5, 2023
01552b8
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
4553be6
Merge pull request #43 from GabbyHills/GabbyHills-patch-49
GabbyHills Aug 5, 2023
02258b7
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
3e56aaf
Merge pull request #44 from GabbyHills/GabbyHills-patch-50
GabbyHills Aug 5, 2023
709eb1d
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
e496af8
Merge pull request #45 from GabbyHills/GabbyHills-patch-51
GabbyHills Aug 5, 2023
dd605e7
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
58c9f49
Merge pull request #46 from GabbyHills/GabbyHills-patch-52
GabbyHills Aug 5, 2023
d046ad8
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
cf145db
Merge pull request #47 from GabbyHills/GabbyHills-patch-53
GabbyHills Aug 5, 2023
cb3dd94
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
b3de60c
Merge pull request #48 from GabbyHills/GabbyHills-patch-54
GabbyHills Aug 5, 2023
7e9a67b
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
49bab6c
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
e5ccfa9
Merge pull request #49 from GabbyHills/GabbyHills-patch-55
GabbyHills Aug 5, 2023
1a3f407
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
b03e33b
Merge pull request #50 from GabbyHills/GabbyHills-patch-56
GabbyHills Aug 5, 2023
a2de07d
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
cbd2c7f
Merge pull request #51 from GabbyHills/GabbyHills-patch-57
GabbyHills Aug 5, 2023
b0aad2c
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
ca2ed1d
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
12de4b3
Merge pull request #52 from GabbyHills/GabbyHills-patch-58
GabbyHills Aug 5, 2023
091eb4a
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
1b03f6c
Merge pull request #53 from GabbyHills/GabbyHills-patch-59
GabbyHills Aug 5, 2023
84bf91f
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
d89bc59
Merge pull request #54 from GabbyHills/GabbyHills-patch-60
GabbyHills Aug 5, 2023
ee97beb
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
1338755
Merge pull request #55 from GabbyHills/GabbyHills-patch-61
GabbyHills Aug 5, 2023
89103e0
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
c4aedbf
Merge pull request #56 from GabbyHills/GabbyHills-patch-62
GabbyHills Aug 5, 2023
09e5624
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
f2b562b
Merge pull request #57 from GabbyHills/GabbyHills-patch-63
GabbyHills Aug 5, 2023
e59c2a5
Update Diabetes Ridge Regression Training.ipynb
GabbyHills Aug 5, 2023
c68cf6c
Merge pull request #58 from GabbyHills/GabbyHills-patch-64
GabbyHills Aug 5, 2023
94e6626
Update Diabetes Ridge Regression Scoring.ipynb
GabbyHills Aug 5, 2023
c9ebe0b
Merge pull request #59 from GabbyHills/GabbyHills-patch-65
GabbyHills Aug 5, 2023
63a7ffc
Update Diabetes Ridge Regression Scoring.ipynb
GabbyHills Aug 5, 2023
2f5b22a
Merge pull request #60 from GabbyHills/GabbyHills-patch-66
GabbyHills Aug 5, 2023
ceaddfe
Update Diabetes Ridge Regression Scoring.ipynb
GabbyHills Aug 5, 2023
aed3752
Merge pull request #61 from GabbyHills/GabbyHills-patch-67
GabbyHills Aug 5, 2023
877bc38
Update Diabetes Ridge Regression Scoring.ipynb
GabbyHills Aug 5, 2023
bc3464f
Merge pull request #62 from GabbyHills/GabbyHills-patch-68
GabbyHills Aug 5, 2023
ab5ee46
Update Diabetes Ridge Regression Scoring.ipynb
GabbyHills Aug 5, 2023
0cc6d1e
Merge pull request #64 from GabbyHills/GabbyHills-patch-70
GabbyHills Aug 5, 2023
99f838b
Update Diabetes Ridge Regression Scoring.ipynb
GabbyHills Aug 5, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 21 additions & 6 deletions experimentation/Diabetes Ridge Regression Scoring.ipynb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"cells": [
{
"cell_type": "markdown",
Expand Down Expand Up @@ -39,6 +39,7 @@
"metadata": {},
"outputs": [],
"source": [
"def init():\n",
"model_path = Model.get_model_path(model_name=\"sklearn_regression_model.pkl\")\n",
"model = joblib.load(model_path)"
]
Expand All @@ -56,10 +57,12 @@
"metadata": {},
"outputs": [],
"source": [
"raw_data = '{\"data\":[[1,2,3,4,5,6,7,8,9,10],[10,9,8,7,6,5,4,3,2,1]]}'\n",
"def run(raw_data, request_headers):\n",
"data = json.loads(raw_data)["data"]\n",
"data = numpy.array(data)\n",
"result = model.predict(data)\n",
"\n",
"data = json.loads(raw_data)[\"data\"]\n",
"data = numpy.array(data)"
"return {\"result\": result.tolist()}\n"
]
},
{
Expand All @@ -70,9 +73,22 @@
]
},
{
"cell_type": "code",
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
"test row = '{\"data\":[[1,2,3,4,5,6,7,8,9,10],[10,9,8,7,6,5,4,3,2,1]]}'\n",
"\n",
"request_headers = {}\n",
"prediction = run(test_row, {})\n",
"print("Test result: ", prediction)\n"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [
{
"name": "stdout",
Expand All @@ -83,7 +99,6 @@
}
],
"source": [
"request_headers = {}\n",
"\n",
"result = model.predict(data)\n",
"print(\"Test result: \", {\"result\": result.tolist()})"
Expand Down
Loading