Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2022-005
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kasuni IT19154954
2022-005
Commits
6d1d1ead
Commit
6d1d1ead
authored
Oct 09, 2022
by
Chathura IT19243986
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
8859787c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
78 additions
and
0 deletions
+78
-0
covid_critical_ilness_app.ipynb
covid_critical_ilness_app.ipynb
+78
-0
No files found.
covid_critical_ilness_app.ipynb
0 → 100644
View file @
6d1d1ead
{
"cells": [
{
"cell_type": "code",
"execution_count": 5,
"id": "b98ccf04",
"metadata": {},
"outputs": [],
"source": [
"import pickle"
]
},
{
"cell_type": "code",
"execution_count": 6,
"id": "3be75dc8",
"metadata": {},
"outputs": [],
"source": [
"input = [[68,1,1,0,1]]"
]
},
{
"cell_type": "code",
"execution_count": 7,
"id": "5a70314a",
"metadata": {},
"outputs": [],
"source": [
"with open('covid_critical_ilness.pickle','rb') as file:\n",
" covid_critical_ilness_model = pickle.load(file)"
]
},
{
"cell_type": "code",
"execution_count": 8,
"id": "86a3afcb",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"1"
]
},
"execution_count": 8,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"output = covid_critical_ilness_model.predict(input)\n",
"output[0]"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.8"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
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