Skip to content

Commit

Permalink
fixed typo in mean and stddev
Browse files Browse the repository at this point in the history
  • Loading branch information
rasbt committed Jul 18, 2014
1 parent 57c519c commit 1645f97
Showing 1 changed file with 4 additions and 30 deletions.
34 changes: 4 additions & 30 deletions preprocessing/about_standardization_normalization.ipynb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"metadata": {
"name": "",
"signature": "sha256:9d6725467e3a0fc9266227b3c66889bc02d07bdafb1e594f184cc73520fa0fd8"
"signature": "sha256:2a5a0eade9d92d1e9f450ec71f1ad8b87d45a87ce0571e182afd2fdf502ce7a7"
},
"nbformat": 3,
"nbformat_minor": 0,
Expand Down Expand Up @@ -728,10 +728,12 @@
"\n",
"Min-Max scaling: \\begin{equation} X_{norm} = \\frac{X - X_{min}}{X_{max}-X_{min}} \\end{equation}\n",
"\n",
"with\n",
"with mean: \n",
"\n",
"\\begin{equation}\\mu = \\frac{1}{N} \\sum_{i=1}^N (x_i)\\end{equation}\n",
"\n",
"and standard deviation: \n",
"\n",
"\\begin{equation}\\sigma = \\sqrt{\\frac{1}{N} \\sum_{i=1}^N (x_i - \\mu)^2}\\end{equation}\n",
"\n"
]
Expand Down Expand Up @@ -1339,34 +1341,6 @@
"source": [
"As we can see, the standardization prior to the PCA definitely led to an decrease in the empirical error rate on classifying samples from test dataset."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"$\\mu = 2$"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"$\\mu = 2$"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"\\begin{equation} \\mu = 2 \\end{equation}"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"\\begin{equation} \\mu = 2 \\end{equation}"
]
}
],
"metadata": {}
Expand Down

0 comments on commit 1645f97

Please sign in to comment.