From 1645f9721c85553df20fc98cccaca67706c1e9a9 Mon Sep 17 00:00:00 2001 From: rasbt Date: Thu, 17 Jul 2014 22:27:36 -0400 Subject: [PATCH] fixed typo in mean and stddev --- .../about_standardization_normalization.ipynb | 34 +++---------------- 1 file changed, 4 insertions(+), 30 deletions(-) diff --git a/preprocessing/about_standardization_normalization.ipynb b/preprocessing/about_standardization_normalization.ipynb index e0d515f..a51b9f7 100644 --- a/preprocessing/about_standardization_normalization.ipynb +++ b/preprocessing/about_standardization_normalization.ipynb @@ -1,7 +1,7 @@ { "metadata": { "name": "", - "signature": "sha256:9d6725467e3a0fc9266227b3c66889bc02d07bdafb1e594f184cc73520fa0fd8" + "signature": "sha256:2a5a0eade9d92d1e9f450ec71f1ad8b87d45a87ce0571e182afd2fdf502ce7a7" }, "nbformat": 3, "nbformat_minor": 0, @@ -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" ] @@ -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": {}