{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"(ch:logistic)=\n",
"# Classification"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
":::{note}\n",
"\n",
"This chapter is under development. When it's finished, this note will be\n",
"removed.\n",
"\n",
":::"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Thus far we have studied models for regression, the process of making\n",
"continuous, numerical estimations based on data. We now turn our attention to\n",
"**classification**, the process of making categorical predictions based on\n",
"data. For example, weather stations are interested in predicting whether\n",
"tomorrow will be rainy or not using the weather conditions today.\n",
"\n",
"Together, regression and classification compose the primary approaches for\n",
"_supervised learning_, the general task of learning a model based on observed\n",
"input-output pairs.\n",
"\n",
"We may reconstruct classification as a type of regression problem. Instead of\n",
"creating a model to predict an arbitrary number, we create a model to predict a\n",
"probability that a data point belongs to a category. This allows us to reuse\n",
"the machinery of linear regression for a regression on probabilities: logistic\n",
"regression."
]
}
],
"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.9.4"
}
},
"nbformat": 4,
"nbformat_minor": 4
}