Commit 6d1d1ead authored by Chathura IT19243986's avatar Chathura IT19243986

Upload New File

parent 8859787c
{
"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
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment