mirror of
https://github.com/donnemartin/data-science-ipython-notebooks.git
synced 2024-03-22 13:30:56 +08:00
Added note about overfitting and the need for model validation in the k-nearest neighbors model.
This commit is contained in:
parent
dafc74c466
commit
cbdc5fefb9
|
@ -244,6 +244,13 @@
|
||||||
"from fig_code import plot_iris_knn\n",
|
"from fig_code import plot_iris_knn\n",
|
||||||
"plot_iris_knn()"
|
"plot_iris_knn()"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cell_type": "markdown",
|
||||||
|
"metadata": {},
|
||||||
|
"source": [
|
||||||
|
"Note we see overfitting in the K-Nearest Neighbors model above. We'll be addressing overfitting and model validation in a later notebook."
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"metadata": {
|
"metadata": {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user