Skip to content

Commit

Permalink
removed all cells output
Browse files Browse the repository at this point in the history
  • Loading branch information
rabah-khalek committed Oct 17, 2022
1 parent f04f6de commit 6c8fafe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 59 deletions.
55 changes: 4 additions & 51 deletions Churn_Telco_Kaggle_with_transformers.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -121,15 +121,15 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": null,
"metadata": {
"scrolled": false
},
"outputs": [],
"source": [
"# import telecom dataset into a pandas data frame\n",
"\n",
"dataset_url=\"https://raw.githubusercontent.com/Giskard-AI/examples/task/GSK-308_Churn_prediction_model/datasets/WA_Fn-UseC_-Telco-Customer-Churn.csv\"\n",
"dataset_url=\"https://raw.githubusercontent.com/Giskard-AI/examples/main/datasets/WA_Fn-UseC_-Telco-Customer-Churn.csv\"\n",
"\n",
"df_telco=pd.read_csv(dataset_url)\n",
"\n",
Expand All @@ -153,46 +153,6 @@
"df_telco['PaymentMethod'] = df_telco['PaymentMethod'].str.replace(' (automatic)', '', regex=False)"
]
},
{
"cell_type": "code",
"execution_count": 9,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"gender 2\n",
"SeniorCitizen 2\n",
"Partner 2\n",
"Dependents 2\n",
"tenure 72\n",
"PhoneService 2\n",
"MultipleLines 3\n",
"InternetService 3\n",
"OnlineSecurity 3\n",
"OnlineBackup 3\n",
"DeviceProtection 3\n",
"TechSupport 3\n",
"StreamingTV 3\n",
"StreamingMovies 3\n",
"Contract 3\n",
"PaperlessBilling 2\n",
"PaymentMethod 4\n",
"MonthlyCharges 1584\n",
"TotalCharges 6530\n",
"Churn 2\n",
"dtype: int64"
]
},
"execution_count": 9,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"df_telco.nunique()"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand All @@ -202,7 +162,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -467,13 +427,6 @@
" name=\"train_data\" # Name of the dataset\n",
")"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down
9 changes: 1 addition & 8 deletions Churn_Telco_Kaggle_without_transformers.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@
}
},
"source": [
"### Upload your model and a dataset (see [documentation](https://docs.giskard.ai/start/guides/upload-your-model))"
"## Upload your model and a dataset (see [documentation](https://docs.giskard.ai/start/guides/upload-your-model))"
]
},
{
Expand Down Expand Up @@ -517,13 +517,6 @@
" name=\"train_data\" # Name of the dataset\n",
")"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down

0 comments on commit 6c8fafe

Please sign in to comment.