Skip to content

Commit 4825a2d

Browse files
committed
added a conclusion to each notebook, and cleaned up notebook
1 parent 85895cb commit 4825a2d

7 files changed

+75
-572
lines changed
Loading

Notebooks/01_EDA.ipynb

+3-1
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,9 @@
642642
"id": "d267e36b-9eb2-4301-b186-c09e4ce65af0",
643643
"metadata": {},
644644
"source": [
645-
"Overall, our classes are balanced between the classes 'glioma', 'meningioma', 'notumor', and 'pituitary' in both our training and testing datasets. Additionally when looking at the average pixel value and the contrast between those average we can see some distinct features within those classes. This indicates that there are features that our model can learn to distinguish images into classes."
645+
"Overall, our classes are balanced between the classes 'glioma', 'meningioma', 'notumor', and 'pituitary' in both our training and testing datasets. Additionally when looking at the average pixel value and the contrast between those average we can see some distinct features within those classes. This indicates that there are features that our model can learn to distinguish images into classes.\n",
646+
"\n",
647+
"We will know move onto building [A baseine model](../Notebooks/02_Baseline Model.ipynb)"
646648
]
647649
}
648650
],

Notebooks/02_Baseline Model.ipynb

+14
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,20 @@
149149
"source": [
150150
"metrics_df.to_csv('../NoteBooks/scores.csv', index_label='Model')"
151151
]
152+
},
153+
{
154+
"cell_type": "markdown",
155+
"id": "94ad2e3d-8e0f-4fac-af2c-5a4b08ce540c",
156+
"metadata": {},
157+
"source": [
158+
"_______________________________________________________________________________________________________________________-\n",
159+
"# Conclusion:\n",
160+
"\n",
161+
"\n",
162+
"Our baseline model has an accuracy of 46% which is better than simply guessing one class. This model simply compares which class an image belongs to by seeing the avg pixel value of a class and the image and seeing which class the image is closest to. \n",
163+
"\n",
164+
"We will now move into a more complex mode, a [neural network](../Notebooks/03_Neural_network.ipynb), to classify our images."
165+
]
152166
}
153167
],
154168
"metadata": {

0 commit comments

Comments
 (0)