Connect your moderator Slack workspace to receive post notifications:
Sign in with Slack

KNN Last inequality

Hello, I have trouble understanding the last inequality of the KNN lecture notes.
knn_last_inequality.jpg

I don't see how this inequality holds. For example, for:
\( \eta(\mathbf{x}) = 0.5 \) and \(\eta(\mathbf{x ^{\prime}}) = 0.6\),
we'd get 0.5 for the first highlighted equation and 0.4 for the second.

Shouldn't the second highlighted equation be
\(\leq 2 \eta(\mathbf{x})(1-\eta(\mathbf{x}))+|\eta(\mathbf{x})-\eta(\mathbf{x}^{\prime})|\)
instead?

Thanks!

Hi,
Indeed you are correct: \( 2 \eta(x) - 1 \in [-1, 1] \), therefore
\( (2 \eta(x) - 1) ( \eta(x) - \eta(x') ) \leq \vert \eta(x) - \eta(x') \vert \) as you say.
However this does not change the last inequality.
Best,
Scott

Thank you very much for noticing this typo. I have corrected the lecture notes.

Best,
Nicolas

Page 1 of 1

Add comment

Post as Anonymous Dont send out notification