Commit 5ec29d56 authored by Ramanayaka D.H.'s avatar Ramanayaka D.H.

Upload New File

parent 7dab97a1
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"id": "05b40438",
"metadata": {},
"outputs": [],
"source": [
"import numpy as np\n",
"import pandas as pd\n",
"import matplotlib.pyplot as plt\n",
"from sklearn.model_selection import train_test_split\n",
"from sklearn.metrics import accuracy_score"
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "14abc4e1",
"metadata": {},
"outputs": [],
"source": [
"import os\n",
"\n",
"path = os.listdir('brain_tumor/Training/')\n",
"classes = {'no_tumor':0, 'pituitary_tumor':1}"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "8b15daf6",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"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.9.13"
}
},
"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