This commit is contained in:
Andreaierardi 2020-04-20 11:40:44 +02:00
parent 6c0a8d2631
commit 5794c45893
18 changed files with 1028 additions and 762 deletions

View File

@ -5,3 +5,11 @@
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
\@writefile{toc}{\contentsline {section}{\numberline {1.1}Analysis of $K_{NN}$}{1}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {1.1}{\ignorespaces Example of domain of $K_{NN}$}}{1}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {1.2}{\ignorespaces Diagonal length}}{2}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {1.3}{\ignorespaces Shape of the function}}{3}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {1.1.1}Study of $K_{NN}$}{4}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {1.1.2}study of trees}{5}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {1.2}Non-parametric Algorithms}{6}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {1.4}{\ignorespaces Parametric and non parametric growing as training set getting larger}}{7}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {1.2.1}Example of parametric algorithms}{7}\protected@file@percent }

View File

@ -1,4 +1,4 @@
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (MiKTeX 2.9.7300 64-bit) (preloaded format=pdflatex 2020.4.13) 20 APR 2020 09:36
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (MiKTeX 2.9.7300 64-bit) (preloaded format=pdflatex 2020.4.13) 20 APR 2020 11:33
entering extended mode
**./lecture11.tex
(lecture11.tex
@ -318,700 +318,259 @@ LaTeX Font Info: Trying to load font information for U+msb on input line 6.
("C:\Program Files\MiKTeX 2.9\tex/latex/amsfonts\umsb.fd"
File: umsb.fd 2013/01/14 v3.01 AMS symbols B
)
! Missing delimiter (. inserted).
<to be read again>
{
l.8 \barra{E} \left{
\ell_d} (\hat{\ell}_s ) \right] \leq 2 \cdot \ell_D \lef...
I was expecting to see something like `(' or `\{' or
`\}' here. If you typed, e.g., `{' instead of `\{', you
should probably delete the `{' by typing `1' now, so that
braces don't get unbalanced. Otherwise just proceed.
Acceptable delimiters are characters whose \delcode is
nonnegative, or you can use `\delimiter <delimiter code>'.
<../img/lez11-img1.JPG, id=1, 214.55156pt x 150.5625pt>
File: ../img/lez11-img1.JPG Graphic file (type jpg)
<use ../img/lez11-img1.JPG>
Package pdftex.def Info: ../img/lez11-img1.JPG used on input line 21.
(pdftex.def) Requested size: 234.00238pt x 164.21324pt.
! Missing } inserted.
<inserted text>
}
l.8 ...ra{E}\left[ \, \| X = x_{\Pi(s,x) \| \right
]
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
Underfull \hbox (badness 10000) in paragraph at lines 9--34
Underfull \hbox (badness 10000) in paragraph at lines 9--39
[]
Underfull \hbox (badness 10000) in paragraph at lines 9--34
Underfull \hbox (badness 10000) in paragraph at lines 9--39
[]
Underfull \hbox (badness 10000) in paragraph at lines 40--55
Underfull \hbox (badness 10000) in paragraph at lines 9--39
[]
! Missing delimiter (. inserted).
<to be read again>
\varepsilon
l.56 ...| \right] \leq \barra{E} \left \varepsilon
\sqrt[]{d} \sum_{i = 1}^{...
I was expecting to see something like `(' or `\{' or
`\}' here. If you typed, e.g., `{' instead of `\{', you
should probably delete the `{' by typing `1' now, so that
braces don't get unbalanced. Otherwise just proceed.
Acceptable delimiters are characters whose \delcode is
nonnegative, or you can use `\delimiter <delimiter code>'.
! Extra \right.
l.56 ...i \} \cdot I\{C_i \cap S \neq 0 \} \right]
=
I'm ignoring a \right that had no matching \left.
Overfull \hbox (104.72401pt too wide) detected at line 57
\U/msb/m/n/12 E [] \OMS/cmsy/m/n/12  \U/msb/m/n/12 E [] \OT1/cmr/m/n/12 + 2 \O
MS/cmsy/m/n/12  [] [] \OML/cmm/m/it/12 I\OMS/cmsy/m/n/12 f\OML/cmm/m/it/12 X \
OMS/cmsy/m/n/12 2 \OML/cmm/m/it/12 C[]\OMS/cmsy/m/n/12 g  \OML/cmm/m/it/12 I\O
MS/cmsy/m/n/12 f\OML/cmm/m/it/12 C[] \OMS/cmsy/m/n/12 \ \OML/cmm/m/it/12 S \OMS
/cmsy/m/n/12 6\OT1/cmr/m/n/12 = 0\OMS/cmsy/m/n/12 g \OT1/cmr/m/n/12 =
[]
! Missing } inserted.
<inserted text>
}
l.59 ..._i \} I \{c_1 \cap S \neq 0 \} \right] }
+ 2 \sqrt[]{d} \sum_{i = ...
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Extra }, or forgotten $.
\@textcolor ...otect \leavevmode {\color #1{#2}#3}
l.59 ..._i \} I \{c_1 \cap S \neq 0 \} \right] }
+ 2 \sqrt[]{d} \sum_{i = ...
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
Overfull \hbox (15.41321pt too wide) detected at line 60
\OT1/cmr/m/n/12 = \OML/cmm/m/it/12 "[]\U/msb/m/n/12 E [] \OT1/cmr/m/n/12 + 2[]
[] \U/msb/m/n/12 E []
[]
[1
{C:/Users/AndreDany/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}]
! Extra \right.
<argument> ...\} I \{c_1 \cap S \neq 0 \} \right ]
$
l.61 ...i \} I \{c_1 \cap S \neq 0 \} \right] $}
I'm ignoring a \right that had no matching \left.
{C:/Users/AndreDany/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map} <../img/
lez11-img1.JPG>]
<../img/lez11-img2.JPG, id=17, 51.19125pt x 42.1575pt>
File: ../img/lez11-img2.JPG Graphic file (type jpg)
<use ../img/lez11-img2.JPG>
Package pdftex.def Info: ../img/lez11-img2.JPG used on input line 53.
(pdftex.def) Requested size: 39.00238pt x 32.1217pt.
! Missing number, treated as zero.
<to be read again>
$
l.68 $
$
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)
! Undefined control sequence.
l.74 \barra{E} \left \I
\{X \in C_i \} \cdot I \{ C_1 \cap S \neq 0 \} \right...
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Missing \right. inserted.
<inserted text>
\right .
l.75 $
$
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
Underfull \hbox (badness 10000) in paragraph at lines 75--78
Underfull \hbox (badness 10000) in paragraph at lines 45--65
[]
! Missing $ inserted.
<inserted text>
$
l.93 ...0 \leq p \leq 1} \, \bred{p \, e ^{-m\,p}}
=
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Extra }, or forgotten $.
\textdef@ ...th {#1}\let \f@size #2\selectfont #3}
}
l.93 ...0 \leq p \leq 1} \, \bred{p \, e ^{-m\,p}}
=
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
Underfull \hbox (badness 10000) in paragraph at lines 45--65
! Extra }, or forgotten $.
\textdef@ ...h {#1}\let \f@size #2\selectfont #3}}
l.93 ...0 \leq p \leq 1} \, \bred{p \, e ^{-m\,p}}
=
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
! Extra }, or forgotten $.
\text@ ...e {\textdef@ \displaystyle \f@size {#1}}
{\textdef@ \textstyle \f@s...
l.93 ...0 \leq p \leq 1} \, \bred{p \, e ^{-m\,p}}
=
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
! Missing $ inserted.
<inserted text>
$
l.93 ...0 \leq p \leq 1} \, \bred{p \, e ^{-m\,p}}
=
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Extra }, or forgotten $.
\textdef@ ...th {#1}\let \f@size #2\selectfont #3}
}
l.93 ...0 \leq p \leq 1} \, \bred{p \, e ^{-m\,p}}
=
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
! Extra }, or forgotten $.
\textdef@ ...h {#1}\let \f@size #2\selectfont #3}}
l.93 ...0 \leq p \leq 1} \, \bred{p \, e ^{-m\,p}}
=
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
! Extra }, or forgotten $.
\text@ ...xtstyle \f@size {\firstchoice@false #1}}
{\textdef@ \textstyle \sf@...
l.93 ...0 \leq p \leq 1} \, \bred{p \, e ^{-m\,p}}
=
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
! Missing $ inserted.
<inserted text>
$
l.93 ...0 \leq p \leq 1} \, \bred{p \, e ^{-m\,p}}
=
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Extra }, or forgotten $.
\textdef@ ...th {#1}\let \f@size #2\selectfont #3}
}
l.93 ...0 \leq p \leq 1} \, \bred{p \, e ^{-m\,p}}
=
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
! Extra }, or forgotten $.
\textdef@ ...h {#1}\let \f@size #2\selectfont #3}}
l.93 ...0 \leq p \leq 1} \, \bred{p \, e ^{-m\,p}}
=
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
! Extra }, or forgotten $.
\text@ ...tstyle \sf@size {\firstchoice@false #1}}
{\textdef@ \textstyle \ssf...
l.93 ...0 \leq p \leq 1} \, \bred{p \, e ^{-m\,p}}
=
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
! Missing $ inserted.
<inserted text>
$
l.93 ...0 \leq p \leq 1} \, \bred{p \, e ^{-m\,p}}
=
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Extra }, or forgotten $.
\textdef@ ...th {#1}\let \f@size #2\selectfont #3}
}
l.93 ...0 \leq p \leq 1} \, \bred{p \, e ^{-m\,p}}
=
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
! Extra }, or forgotten $.
\textdef@ ...h {#1}\let \f@size #2\selectfont #3}}
l.93 ...0 \leq p \leq 1} \, \bred{p \, e ^{-m\,p}}
=
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
! Extra }, or forgotten $.
\text@ ...style \ssf@size {\firstchoice@false #1}}
\check@mathfonts }
l.93 ...0 \leq p \leq 1} \, \bred{p \, e ^{-m\,p}}
=
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
! Extra }, or forgotten $.
\text@ ...firstchoice@false #1}}\check@mathfonts }
l.93 ...0 \leq p \leq 1} \, \bred{p \, e ^{-m\,p}}
=
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
! Extra }, or forgotten $.
\@textcolor ...otect \leavevmode {\color #1{#2}#3}
l.93 ...0 \leq p \leq 1} \, \bred{p \, e ^{-m\,p}}
=
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
! Missing $ inserted.
<inserted text>
$
l.95 where $\bred{p \, e ^{-m\,p}}
$ is $F(p)$
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Extra }, or forgotten $.
<recently read> \egroup
l.95 where $\bred{p \, e ^{-m\,p}}
$ is $F(p)$
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
! Extra }, or forgotten $.
\@textcolor ...otect \leavevmode {\color #1{#2}#3}
l.95 where $\bred{p \, e ^{-m\,p}}
$ is $F(p)$
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
! Missing $ inserted.
<inserted text>
$
l.99 F^
(p) = 0 \Leftrightarrow p = \frac{1}{m} \quad check!
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Missing $ inserted.
<inserted text>
$
l.108 \end{document}
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Improper \prevdepth.
\newpage ...everypar {}\fi \par \ifdim \prevdepth
>\z@ \vskip -\ifdim \prevd...
l.108 \end{document}
You can refer to \spacefactor only in horizontal mode;
you can refer to \prevdepth only in vertical mode; and
neither of these is meaningful inside \write. So
I'm forgetting what you said and using zero instead.
! Missing } inserted.
<inserted text>
}
l.108 \end{document}
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Missing } inserted.
<inserted text>
}
l.108 \end{document}
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Missing } inserted.
<inserted text>
}
l.108 \end{document}
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Missing } inserted.
<inserted text>
}
l.108 \end{document}
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Missing $ inserted.
<inserted text>
$
l.108 \end{document}
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Missing } inserted.
<inserted text>
}
l.108 \end{document}
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Missing } inserted.
<inserted text>
}
l.108 \end{document}
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Missing } inserted.
<inserted text>
}
l.108 \end{document}
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Missing $ inserted.
<inserted text>
$
l.108 \end{document}
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Missing } inserted.
<inserted text>
}
l.108 \end{document}
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Missing } inserted.
<inserted text>
}
l.108 \end{document}
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Missing } inserted.
<inserted text>
}
l.108 \end{document}
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Missing $ inserted.
<inserted text>
$
l.108 \end{document}
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Missing } inserted.
<inserted text>
}
l.108 \end{document}
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Missing } inserted.
<inserted text>
}
l.108 \end{document}
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Missing } inserted.
<inserted text>
}
l.108 \end{document}
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Missing $ inserted.
<inserted text>
$
l.108 \end{document}
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Missing } inserted.
<inserted text>
}
l.108 \end{document}
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Missing { inserted.
<to be read again>
$
l.108 \end{document}
A left brace was mandatory here, so I've put one in.
You might want to delete and/or insert some corrections
so that I will find a matching right brace soon.
(If you're confused by all this, try typing `I}' now.)
! Missing } inserted.
<inserted text>
}
l.108 \end{document}
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Missing { inserted.
<to be read again>
$
l.108 \end{document}
A left brace was mandatory here, so I've put one in.
You might want to delete and/or insert some corrections
so that I will find a matching right brace soon.
(If you're confused by all this, try typing `I}' now.)
! Missing } inserted.
<inserted text>
}
l.108 \end{document}
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Missing { inserted.
<to be read again>
$
l.108 \end{document}
A left brace was mandatory here, so I've put one in.
You might want to delete and/or insert some corrections
so that I will find a matching right brace soon.
(If you're confused by all this, try typing `I}' now.)
! Missing } inserted.
<inserted text>
}
l.108 \end{document}
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Missing } inserted.
<inserted text>
}
l.108 \end{document}
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Missing } inserted.
<inserted text>
}
l.108 \end{document}
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Display math should end with $$.
<to be read again>
\vfil
l.108 \end{document}
The `$' that I just saw supposedly matches a previous `$$'.
So I shall assume that you typed `$$' both times.
Overfull \hbox (522.37697pt too wide) detected at line 108
\OMS/cmsy/m/n/12  [] []  \OML/cmm/m/it/12 r [] [][]
[]
[2] (lecture11.aux) )
Overfull \hbox (29.38765pt too wide) detected at line 80
\U/msb/m/n/12 E [] \OT1/cmr/m/n/12 + 2 \OMS/cmsy/m/n/12  []  [] \OML/cmm
/m/it/12 I\OMS/cmsy/m/n/12 f\OML/cmm/m/it/12 X \OMS/cmsy/m/n/12 2 \OML/cmm/m/it
/12 C[]\OMS/cmsy/m/n/12 g  \OML/cmm/m/it/12 I\OMS/cmsy/m/n/12 f\OML/cmm/m/it/1
2 C[] \OMS/cmsy/m/n/12 \ \OML/cmm/m/it/12 S \OMS/cmsy/m/n/12 6\OT1/cmr/m/n/12 =
0\OMS/cmsy/m/n/12 g \OT1/cmr/m/n/12 =
[]
Overfull \hbox (75.62454pt too wide) detected at line 92
\OT1/cmr/m/n/12 = \OML/cmm/m/it/12 " \OMS/cmsy/m/n/12  []  \U/msb/m/n/12 E
[] \OT1/cmr/m/n/12 + 2 \OMS/cmsy/m/n/12  []  [] \U/msb/m/n/12 E [] \OMS/cm
sy/m/n/12 
[]
Underfull \hbox (badness 10000) in paragraph at lines 123--125
[]
[2 <../img/lez11-img2.JPG>]
<../img/lez11-img3.JPG, id=23, 122.70844pt x 64.74188pt>
File: ../img/lez11-img3.JPG Graphic file (type jpg)
<use ../img/lez11-img3.JPG>
Package pdftex.def Info: ../img/lez11-img3.JPG used on input line 135.
(pdftex.def) Requested size: 77.99881pt x 41.1541pt.
Underfull \hbox (badness 10000) in paragraph at lines 127--139
[]
Underfull \hbox (badness 10000) in paragraph at lines 153--157
[]
Underfull \hbox (badness 10000) in paragraph at lines 166--170
[]
[3 <../img/lez11-img3.JPG>]
Underfull \hbox (badness 10000) in paragraph at lines 193--195
[]
LaTeX Warning: Command \textbullet invalid in math mode on input line 219.
LaTeX Warning: Command \textbullet invalid in math mode on input line 219.
Missing character: There is no ˆ in font cmr12!
LaTeX Warning: Command \textbullet invalid in math mode on input line 219.
LaTeX Warning: Command \textbullet invalid in math mode on input line 219.
Missing character: There is no ˆ in font cmr12!
LaTeX Warning: Command \textbullet invalid in math mode on input line 219.
LaTeX Warning: Command \textbullet invalid in math mode on input line 219.
Missing character: There is no ˆ in font cmr8!
LaTeX Warning: Command \textbullet invalid in math mode on input line 219.
LaTeX Warning: Command \textbullet invalid in math mode on input line 219.
Missing character: There is no ˆ in font cmr6!
Underfull \hbox (badness 10000) in paragraph at lines 217--221
[]
Underfull \hbox (badness 10000) in paragraph at lines 223--229
[]
Underfull \hbox (badness 10000) in paragraph at lines 223--229
[]
Underfull \hbox (badness 10000) in paragraph at lines 233--251
[]
Underfull \hbox (badness 10000) in paragraph at lines 233--251
[]
[4]
Underfull \hbox (badness 10000) in paragraph at lines 253--256
[]
Underfull \hbox (badness 10000) in paragraph at lines 253--256
[]
Underfull \hbox (badness 10000) in paragraph at lines 262--268
[]
Underfull \hbox (badness 10000) in paragraph at lines 270--287
[]
Underfull \hbox (badness 10000) in paragraph at lines 270--287
[]
Underfull \hbox (badness 10000) in paragraph at lines 270--287
[]
Underfull \hbox (badness 10000) in paragraph at lines 270--287
[]
[5]
<../img/lez11-img4.JPG, id=39, 328.22626pt x 147.55125pt>
File: ../img/lez11-img4.JPG Graphic file (type jpg)
<use ../img/lez11-img4.JPG>
Package pdftex.def Info: ../img/lez11-img4.JPG used on input line 311.
(pdftex.def) Requested size: 195.0pt x 87.66011pt.
Underfull \hbox (badness 10000) in paragraph at lines 296--333
[]
Underfull \hbox (badness 10000) in paragraph at lines 296--333
[]
Underfull \hbox (badness 10000) in paragraph at lines 296--333
[]
Underfull \hbox (badness 10000) in paragraph at lines 296--333
[]
Underfull \hbox (badness 10000) in paragraph at lines 296--333
[]
Underfull \hbox (badness 10000) in paragraph at lines 296--333
[]
Underfull \hbox (badness 10000) in paragraph at lines 296--333
[]
[6]
Underfull \hbox (badness 10000) in paragraph at lines 335--341
[]
[7 <../img/lez11-img4.JPG>] (lecture11.aux) )
Here is how much of TeX's memory you used:
5098 strings out of 480934
68778 string characters out of 2909670
334074 words of memory out of 3000000
20855 multiletter control sequences out of 15000+200000
544996 words of font info for 60 fonts, out of 3000000 for 9000
5147 strings out of 480934
69639 string characters out of 2909670
334090 words of memory out of 3000000
20893 multiletter control sequences out of 15000+200000
550599 words of font info for 74 fonts, out of 3000000 for 9000
1141 hyphenation exceptions out of 8191
42i,16n,50p,333b,256s stack positions out of 5000i,500n,10000p,200000b,50000s
<C:\Users\AndreDany\AppData\Local\MiKTeX\2.9\fonts/pk/ljf
our/jknappen/ec/dpi600\ecbx0500.pk> <C:\Users\AndreDany\AppData\Local\MiKTeX\2.
9\fonts/pk/ljfour/jknappen/ec/dpi600\ecbx0800.pk> <C:\Users\AndreDany\AppData\L
ocal\MiKTeX\2.9\fonts/pk/ljfour/jknappen/ec/dpi600\ecbx1200.pk> <C:\Users\Andre
Dany\AppData\Local\MiKTeX\2.9\fonts/pk/ljfour/jknappen/ec/dpi600\ecrm1200.pk> <
C:\Users\AndreDany\AppData\Local\MiKTeX\2.9\fonts/pk/ljfour/jknappen/ec/dpi600\
ecbx1728.pk> <C:\Users\AndreDany\AppData\Local\MiKTeX\2.9\fonts/pk/ljfour/jknap
pen/ec/dpi600\ecbx2488.pk><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfo
nts/cm/cmex10.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/c
mmi12.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmmi5.pfb
><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmmi6.pfb><C:/Prog
ram Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmmi8.pfb><C:/Program Files
/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr12.pfb><C:/Program Files/MiKTeX 2
.9/fonts/type1/public/amsfonts/cm/cmr5.pfb><C:/Program Files/MiKTeX 2.9/fonts/t
ype1/public/amsfonts/cm/cmr8.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/publi
c/amsfonts/cm/cmsy10.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfon
ts/cm/cmsy5.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cms
y6.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmsy8.pfb><C
:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/symbols/msbm10.pfb>
Output written on lecture11.pdf (2 pages, 166486 bytes).
42i,11n,50p,333b,236s stack positions out of 5000i,500n,10000p,200000b,50000s
<C:\Users\AndreDany\AppData\Local
\MiKTeX\2.9\fonts/pk/ljfour/jknappen/ec/dpi600\tcrm1200.pk> <C:\Users\AndreDany
\AppData\Local\MiKTeX\2.9\fonts/pk/ljfour/jknappen/ec/dpi600\ecbx1440.pk> <C:\U
sers\AndreDany\AppData\Local\MiKTeX\2.9\fonts/pk/ljfour/jknappen/ec/dpi600\ecbx
1200.pk> <C:\Users\AndreDany\AppData\Local\MiKTeX\2.9\fonts/pk/ljfour/jknappen/
ec/dpi600\ecrm1200.pk> <C:\Users\AndreDany\AppData\Local\MiKTeX\2.9\fonts/pk/lj
four/jknappen/ec/dpi600\ecbx1728.pk> <C:\Users\AndreDany\AppData\Local\MiKTeX\2
.9\fonts/pk/ljfour/jknappen/ec/dpi600\ecbx2488.pk><C:/Program Files/MiKTeX 2.9/
fonts/type1/public/amsfonts/cm/cmex10.pfb><C:/Program Files/MiKTeX 2.9/fonts/ty
pe1/public/amsfonts/cm/cmmi10.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/publ
ic/amsfonts/cm/cmmi12.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfo
nts/cm/cmmi6.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cm
mi8.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr12.pfb><
C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr6.pfb><C:/Program
Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr8.pfb><C:/Program Files/MiK
TeX 2.9/fonts/type1/public/amsfonts/cm/cmsy10.pfb><C:/Program Files/MiKTeX 2.9/
fonts/type1/public/amsfonts/cm/cmsy6.pfb><C:/Program Files/MiKTeX 2.9/fonts/typ
e1/public/amsfonts/cm/cmsy8.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public
/amsfonts/symbols/msam10.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/am
sfonts/symbols/msbm10.pfb>
Output written on lecture11.pdf (7 pages, 249447 bytes).
PDF statistics:
197 PDF objects out of 1000 (max. 8388607)
263 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)
21 words of extra memory for PDF output out of 10000 (max. 10000000)

View File

@ -5,7 +5,7 @@
\section{Analysis of $\knn$}
$$
\barra{E} \left{\ell_d} (\hat{\ell}_s ) \right] \leq 2 \cdot \ell_D \left( f^* \right) + c \cdot \barra{E}\left[ \, \| X = x_{\Pi(s,x) \| \right]
\barra{E} \left[{\ell_D} (\hat{\ell}_s ) \right] \leq 2 \cdot \ell_D \left( f^* \right) + c \cdot \barra{E}\left[ \, \| X = x_{\Pi(s,x)} \| \, \right]
$$
At which rate this thing goes down? If number of dimension goes up then a lot of point are far away from $X$. \\
So this quantity must depend on the space in which X live.
@ -16,7 +16,12 @@ We are going to use the assumption that:
\\
$| X_t | \leq 1 \qquad \forall $ cordinates $i = 1, ..., d$
\\
--- DISEGNO ---
\begin{figure}[h]
\centering
\includegraphics[width=0.6\linewidth]{../img/lez11-img1.JPG}
\caption{Example of domain of $\knn$}
%\label{fig:}
\end{figure}\\
\\
Hyper box in bydimension. All point live in this box and we exploit that.
Look at the little suare in which is divided and we assume that we are dividing the box in small boxes of size $\varepsilon$. Now the training points will be a strincle of point distributed in the big square. \\
@ -32,74 +37,128 @@ How big is this when we have this two cases?
(We lookjing at specific choices of x and s)
\\
$$
\| X - X_{s,x} \| leq
\| X - X_{s,x} \| \leq \
\begin{cases}
\varepsilon \sqrt[]{d} \qquad c_i \cup S \neq 0 \\
\sqrt[]{d} \qquad c_i \cup S = 0
\varepsilon \ \sqrt[]{d} \qquad C_i \cup S \neq 0 \\
\sqrt[]{d} \qquad C_i \cup S = 0
\end{cases}
$$
were $X \in C_i$
\\
We have to multiply by the lenght of the cube.
Will be $\varepsilon \sqrt[]{d}$
Will be $\varepsilon \ \, \sqrt[]{d}$
\\
-- DISEGNO ---
\begin{figure}[h]
\centering
\includegraphics[width=0.1\linewidth]{../img/lez11-img2.JPG}
\caption{Diagonal length}
%\label{fig:}
\end{figure}\\
\\
If things go badly can be very far away like the length of the domain.
Lenght is $2$ and diagonal is $ \sqrt[]{d}$
Lenght is $2$ and diagonal is $ \ \sqrt[]{d}$
\\
if close they are going to be $\varepsilon close$ or far as domain.
\\
We can split that the expression inside the expectation according to the two cases.
\\
$$
\barra{E} \left[ \| X - X_{\Pi(s,x)} \| \right] \leq \barra{E} \left \varepsilon \sqrt[]{d} \sum_{i = 1}^{r} I \{ X \in C_i \} \cdot I \{ C_1\cap S \neq 0 \} \right] + 2 \cdot \sqrt[]{d} \sum_{i=1}^{r} I \{ X \in C_i \} \cdot I\{C_i \cap S \neq 0 \} \right] =
\barra{E} \left[ \, \| X - X_{\Pi(s,x)} \| \, \right]
\leq
$$
$$
= \varepsilon \sqrt[]{d} \barra{E} \left[ \red{\sum_{t = 1} ^ {r} I \{ X \in C_i \} I \{c_1 \cap S \neq 0 \} \right] } + 2 \sqrt[]{d} \sum_{i = 1}^{r} \barra{E} \left[ I \{ X \in C_1 \} \cdot I \{ C_1 \cap S \neq 0 \} \right]
\barra{E} \left[
\varepsilon \cdot \sqrt[]{d} \cdot \sum_{i = 1}^{r} I \{ X \in C_i \}
\cdot
I \{ C_i\cap S \neq 0 \}
\right]
+ \ 2 \, \cdot \
\sqrt[]{d} \, \cdot \,
\sum_{i=1}^{r} I \{ X \in C_i \}
\cdot I\{C_i \cap S \neq 0 \}
=
$$
I don't care about this one \bred{$\sum_{t = 1} ^ {r} I \{ X \in C_i \} I \{c_1 \cap S \neq 0 \} \right] $}
$$
= \varepsilon \cdot \ \sqrt[]{d} \cdot \ \barra{E} \left[ \,
\bred{ $
\sum_{t = 1}^{r} I \{ X \in C_i \} I \cdot \{C_i \cap S \neq 0 \} $}\, \right]
+ 2 \cdot \ \sqrt[]{d}\ \cdot \ \sum_{i = 1}^{r}
\barra{E} \left[ \,
I \{ X \in C_1 \}
\cdot
I \{ C_1 \cap S \neq 0 \} \,
\right] \leq
$$
I don't care about this one \red{$\sum_{t = 1}^{r} I \{ X \in C_i \}\cdot I
\{ C_i \cap S \neq 0 \} $}
\\
Can be either $0$ or $1$ (if for some $i$, $X$ belong to some $C_i$
\\
So at most 1 the expectation
$$
\leq \ \varepsilon \sqrt[]{d} + \box
\leq \ \varepsilon \cdot \ \sqrt[]{d} + \square
$$
We can bound this square. Are the event I in the summation of the term after +. If they are indepednt the product will be the product of the two expectation. If I fix the cube.
We can bound this square. Are the event I in the summation of the term after $+$. If they are indepednt the product will be the product of the two expectation. If I fix the cube.
$X$ and $S$ are independent.
\\
Now the two events are independent \\ \bred{ $X \in C_1$ is inepdend of $C_i \cap S \neq $}
Now the two events are independent \\ \bred{ $X \in C_i$ is independent of $C_i \cap S \neq $}
$$
\barra{E} \left \I\{X \in C_i \} \cdot I \{ C_1 \cap S \neq 0 \} \right] = \barra{E} \left[ I \{ X \in C_i \} \right] \cdot \barra{E} \left[ I \{ C_i
\barra{E}
\left[
\ I \{ X \in C_i \}
\cdot
I \{ C_i \cap S \neq 0 \}
\right]
= \barra{E}
\left[
I \{ X \in C_i \}
\right]
\cdot
\barra{E}
\left[ I \{ C_i \right \} ]
$$
MANCAAAAAAA 9.26
\\
$$
\barra{P} \left( C_i \cap S \right) = \left( 1- \barra{P} \left( X \in C_1 \right) \right)^m \leq \exp (- m \barra{O} (x \in C_1 ))
\barra{P} \left( C_i \cap S \right) = \left( 1- \barra{P} \left( X \in C_1 \right) \right)^m \leq \exp (- m \cdot \barra{P} (x \in C_1 ))
$$
The probability of the point fall there and will be the probability of falling in the cube.
\\
Probability of Xs to fall in the cube with a m (samples?)
\\
Now use inequality $ (1 - p)^m \in e^{-pm}$ $\longrightarrow$ $1 + x \leq e^x$
-- IMMAGINE --
\begin{figure}[h]
\centering
\includegraphics[width=0.2\linewidth]{../img/lez11-img3.JPG}
\caption{Shape of the function}
%\label{fig:}
\end{figure}\\
$$
\sum_{t = 1}^{r} \barra{E} \left[ \barra{P} (X \in C_1 ) \barra{P} (C_1 \cap S \neq ) \right] \leq sum_{i = 1}^{r} p_i \, e^{-m \, p_i} \leq
\sum_{t = 1}^{r} \ \barra{E} \left[ \, \barra{P} \left(X \in C_1 \right) \cdot \barra{P} \left(C_1 \cap S \neq \right)\, \right] \leq \sum_{i = 1}^{r} p_i \cdot e^{-m \, p_i} \leq
$$
given that $p_i = \barra{P} (X \in C_i)$
I can upper bound this
$$
\leq \sum_{t=1}^{r} \left( \max_{0 \leq p \leq 1} \, p \, e^{- m \, p} \right) \leq r \, \max_{0 \leq p \leq 1} \, \bred{p \, e ^{-m\,p}} =
\leq
\sum_{t=1}^{r}
\left(
\max_{0 \leq p \leq 1}
\, p \, e^{- m \, p}
\right)
\leq
r \, \max_{0 \leq p \leq 1} \, \red{p \, e ^{-m\,p}} \, =
$$
where $\bred{p \, e ^{-m\,p}}$ is $F(p)$
where \bred{$p \, e ^{-m\,p}$} is $F(p)$
it is concave function so i'm going to take first order derivative to maximise it.
\\
$$
F^(p) = 0 \Leftrightarrow p = \frac{1}{m} \quad check!
F'(p) = 0 \Leftrightarrow p = \frac{1}{m} \quad check!
$$
$$
F''(p) \leq 0
F''(p) \leq 0 \qquad \qquad \qquad \qquad
$$
Check this two condition!
$$
@ -109,56 +168,76 @@ $$
Now get expectation
\\
$$
\barra{E} \left[ \| X - X_{\Pi(s,x)} \| \right] \leq \varepsilon \sqrt[]{d} + \left( 2 \cdot \sqrt[]{d}\right) \frac{r}{e \, m} =
\barra{E} \left[ \, \| X - X_{\Pi(s,x)} \| \, \right]
\leq
\varepsilon \cdot \ \sqrt[]{d} + \left( 2 \cdot \sqrt[]{d}\right) \frac{r}{e \, m} =
$$
I have $(2/epsilon)^2$ squares.
This bring $\variepsilon$ in the game
I have $(\frac{2}{\varepsilon})^2$ squares.
This bring $\varepsilon$ in the game
$$
\varepsilon \sqrt[]{d} + \left( 2 \cdot \sqrt[]{d}\right) \frac{1}{e \, m} \cdot \left( \frac{2}{\varepsilon}\right) ^d =
\varepsilon \cdot \ \sqrt[]{d} + \left( 2 \cdot \sqrt[]{d}\right) \frac{1}{e \, m} \cdot \left( \frac{2}{\varepsilon}\right)^d =
$$
$$
= \sqrt[]{d} \left( \varepsilon + \frac{2}{e \, m } \cdot \left( \frac{2}{\varepsilon}^d \right) \right)
= \sqrt[]{d} \left( \varepsilon + \frac{2}{e \, m } \cdot \left( \frac{2}{\varepsilon} \right)^d \right)
$$
\blue{HE MISS THE "c" costant from the start}
we can choose $\varepsilon$ to take them balanced
\\set $\varepsilon = 2 \, m^{\frac{-1}{(d+1)}} $
\bred{
$$
\bred{ \left( \varepsilon + \frac{2}{e \, m } \cdot \left( \frac{2}{\varepsilon}^d \right) \leq 4 \, m ^{\frac{-1}{(d+1)}} = }
\left( \varepsilon + \frac{2}{e \, m } \right)
\cdot
\left( \frac{2}{\varepsilon}^d \right)
\leq 4 \, m ^{\frac{-1}{(d+1)}} =
$$
}
\\
$$
\barra{E} \left[ \ell_d (\hat{h}_s) \leq 2 \ell_d (f^*) + 4 \cdot c \cdot \sqrt[]{d} \cdot m^{-\frac{1}{d+1}}
\barra{E}
\left[
\ell_d (\hat{h}_s) \right] \ \
\leq \ \
2
\ell_d (f^*)
+
4 \cdot c \cdot \ \sqrt[]{d}
\cdot m^{- \frac{1}{d+1}}
$$
We have that:\\
if $m \longrightarrow \infty$ \quad $\ell_D (f^*) \leq \barra{E} \left[ \ell_D (\hat{h}_s \right} \leq 2 \1ell_D(f^*)$
if $m$ $\longrightarrow$ $\infty$ \quad
$\ell_D (f^*) \
\leq \
\barra{E} \left[ \ell_D (\hat{h}_s \right] ) \ \
\leq \ \
2 \ell_D(f^*)$
\\
I want this smaller than twice risk + some small quantity
$$
\barra{E} \left[ \ell_d(\hat{h}_S) \right] \leq 2 \ell_D(f^*) + \varepsilon
\barra{E} \left[ \ell_d(\hat{h}_S) \right] \ \leq \ 2 \ell_D(f^*) + \varepsilon
$$
How big $m$ ?\\
Ignore this part since very small $(4 c \sqrt[]{•d})$
Ignore this part since very small $(4 \cdot c \cdot \ \sqrt[]{•d})$
\\
$$
m ^ {-\frac{1}{d+1}} \leq \varepsilon \Leftrightarrow m \beq (\frac{1}{\varepsilon}^d+1
m ^ {-\frac{1}{d+1}} \ \leq \ \varepsilon \Leftrightarrow m \ \geq \ \left(\frac{1}{\varepsilon}\right)^d+1
$$
So 1-NN require a training set size exponential "accuracy" \ $1-\varepsilon$
\\\\
We show that $1-NN$ can approach twice based risk $2 \ell_D(f^*)$\\
We show that $1-NN$ can approach twice based risk \ $2 \cdot \ell_D(f^*)$\\
but it takes a training set exponential in $d$.
\\
\subsection{Study of $\knn$}
Maybe we can use the $\knn$.
$$
\barra{E}\left[ \ell_D(\hat{h}_s)\right] \leq \left( 1+ \sqrt[]{\frac{8}{k}}\right) \ell_D(f^*) + 0 \, \left((k \, m^{-\frac{1}{d+1}}\right)
\barra{E}\left[ \ell_D(\hat{h}_s)\right] \leq \left( 1+ \sqrt[]{\frac{8}{k}}\right) \ell_D(f^*) + 0 \, \left(k \, m^{-\frac{1}{d+1}}\right)
$$
So is not exponential here.
\\
\bred{Learning algorithm $A$ is consistent for a certain loss $\ell$}
\\
If $\forall \, D$(distribution) of data we have that $A(S_m)$ predictor output by $A$\\.
If $\forall \, D$(distribution) of data we have that $A(S_m)$ predictor output by $A$\\
Now have the risk of that in $\ell_D(A(S_m))$ and we look at the expectation $\barra{E}\left[\ell_D(A(S_m))\right]$
If we give a training set size large ($\lim_{m \rightarrow \infty} \, \barra{E}\left[\ell_D(A(S_m))\right] = \ell_D (f^*)$ risk will converge in based risk.
\\If we give a training set size large ($ \ \lim_{m \rightarrow \infty} \, \barra{E}\left[\ell_D(A(S_m))\right] = \ell_D (f^*)\, $) risk will converge in based risk.
\\\\
$\knn$ where $K = K_m$ (is a function of training set size).
$K_, \rightarrow \infty $ as $m \rightarrow \infty$.
@ -170,7 +249,7 @@ For instance $K_m = \sqrt[]{m}$
\\
Then:
$$
\lim_{m \rightarrow \infty} \barra{E} \left[ \ell_D\left(A'\left(S_m\right)\right) \right] = \ell_D(f^*) \qquad \textbf{where $A'$ is $K_m-NN$ }
\lim_{m \rightarrow \infty} \barra{E} \left[ \ell_D\left(A'\left(S_m\right)\right) \right] = \ell_D(f^*) \qquad \textbf{where $A'$ is $K_m$-$NN$ }
$$
Increasing the size we will converge to this base risk for any distribution and that's nice.
\\\\
@ -183,7 +262,7 @@ Algorithm that grow tree classifiers can also be made consistent provided two co
Tree has to keep growing but not so fast.\\
Second point is: suppose you have a certain number of leaves and you can look at the fraction.
Each leaf $\ell$ gets $N_\ell$ examples. You want that this fraction at any point of time is not going to 0. The fraction of point every leaf receive a split we are reducing the smallest number of examples.
\\Example keep growing and leaves too and we want that $\frac{N_\ell$}{$.$} this not going to 0. $.$ since not showed the formula.
\\Example keep growing and leaves too and we want that $\frac{N_\ell}{manca}$ this not going to 0. $.$ since not showed the formula.
\\\\
Given $A$, how do I know wheter $A$ could be consistent?
$$
@ -192,7 +271,7 @@ $$
$S$ can be any size.
If $A$ is $ERM$ then $H_A = H$, so where ERM minimise it.
\\
If $\exists f^* : X \longrightarrow $ such that $f^* \not{\in} H_A$ and $\exists D$ such that $f^*$ is Bayes optimal for some distribution $D$.
If $\exists f^* : X \longrightarrow $ such that $f^* \not\in H_A$ and $\exists D$ such that $f^*$ is Bayes optimal for some distribution $D$.\\
This cannot be consistent because distribution will not be able to generate the Bayes optimal predictor.
Maybe is there another predictor $f$ which is not equal to $f^*$ risk.
\\\\
@ -227,7 +306,12 @@ More training set for tree, then will grow more, even more larger will be ever g
\\
Any algorithm as a give training points is no parametric, while growing with parametric will stop a some point.
\\
--- IMMAGINE ---
\begin{figure}[h]
\centering
\includegraphics[width=0.5\linewidth]{../img/lez11-img4.JPG}
\caption{Parametric and non parametric growing as training set getting larger}
%\label{fig:}
\end{figure}\\
\\
If algorithm is more parametric as i give training points\\
If a certain point stop growing, $f^*$ will be out and i will grow more.

View File

@ -0,0 +1,7 @@
\relax
\@nameuse{bbl@beforestart}
\babel@aux{english}{}
\@writefile{toc}{\contentsline {chapter}{\numberline {1}Lecture 12 - 21-04-2020}{1}\protected@file@percent }
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
\@writefile{toc}{\contentsline {section}{\numberline {1.1}Non parametrics algorithms}{1}\protected@file@percent }

View File

@ -0,0 +1,334 @@
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (MiKTeX 2.9.7300 64-bit) (preloaded format=pdflatex 2020.4.13) 20 APR 2020 11:35
entering extended mode
**./lecture12.tex
(lecture12.tex
LaTeX2e <2020-02-02> patch level 5
L3 programming layer <2020-03-06>
("C:\Program Files\MiKTeX 2.9\tex/latex/subfiles\subfiles.cls"
Document Class: subfiles 2020/02/14 v1.6 Multi-file projects (class)
Preamble taken from file `../main.tex'
("C:\Program Files\MiKTeX 2.9\tex/latex/tools\verbatim.sty"
Package: verbatim 2019/11/10 v1.5r LaTeX2e package for verbatim enhancements
\every@verbatim=\toks15
\verbatim@line=\toks16
\verbatim@in@stream=\read2
)
("C:\Program Files\MiKTeX 2.9\tex/latex/import\import.sty"
Package: import 2020/04/01 v 6.2
) (../main.tex
("C:\Program Files\MiKTeX 2.9\tex/latex/base\report.cls"
Document Class: report 2019/12/20 v1.4l Standard LaTeX document class
("C:\Program Files\MiKTeX 2.9\tex/latex/base\size12.clo"
File: size12.clo 2019/12/20 v1.4l Standard LaTeX file (size option)
)
\c@part=\count167
\c@chapter=\count168
\c@section=\count169
\c@subsection=\count170
\c@subsubsection=\count171
\c@paragraph=\count172
\c@subparagraph=\count173
\c@figure=\count174
\c@table=\count175
\abovecaptionskip=\skip47
\belowcaptionskip=\skip48
\bibindent=\dimen134
)
("C:\Program Files\MiKTeX 2.9\tex/latex/amsmath\amsmath.sty"
Package: amsmath 2020/01/20 v2.17e AMS math features
\@mathmargin=\skip49
For additional information on amsmath, use the `?' option.
("C:\Program Files\MiKTeX 2.9\tex/latex/amsmath\amstext.sty"
Package: amstext 2000/06/29 v2.01 AMS text
("C:\Program Files\MiKTeX 2.9\tex/latex/amsmath\amsgen.sty"
File: amsgen.sty 1999/11/30 v2.0 generic functions
\@emptytoks=\toks17
\ex@=\dimen135
))
("C:\Program Files\MiKTeX 2.9\tex/latex/amsmath\amsbsy.sty"
Package: amsbsy 1999/11/29 v1.2d Bold Symbols
\pmbraise@=\dimen136
)
("C:\Program Files\MiKTeX 2.9\tex/latex/amsmath\amsopn.sty"
Package: amsopn 2016/03/08 v2.02 operator names
)
\inf@bad=\count176
LaTeX Info: Redefining \frac on input line 227.
\uproot@=\count177
\leftroot@=\count178
LaTeX Info: Redefining \overline on input line 389.
\classnum@=\count179
\DOTSCASE@=\count180
LaTeX Info: Redefining \ldots on input line 486.
LaTeX Info: Redefining \dots on input line 489.
LaTeX Info: Redefining \cdots on input line 610.
\Mathstrutbox@=\box45
\strutbox@=\box46
\big@size=\dimen137
LaTeX Font Info: Redeclaring font encoding OML on input line 733.
LaTeX Font Info: Redeclaring font encoding OMS on input line 734.
\macc@depth=\count181
\c@MaxMatrixCols=\count182
\dotsspace@=\muskip16
\c@parentequation=\count183
\dspbrk@lvl=\count184
\tag@help=\toks18
\row@=\count185
\column@=\count186
\maxfields@=\count187
\andhelp@=\toks19
\eqnshift@=\dimen138
\alignsep@=\dimen139
\tagshift@=\dimen140
\tagwidth@=\dimen141
\totwidth@=\dimen142
\lineht@=\dimen143
\@envbody=\toks20
\multlinegap=\skip50
\multlinetaggap=\skip51
\mathdisplay@stack=\toks21
LaTeX Info: Redefining \[ on input line 2859.
LaTeX Info: Redefining \] on input line 2860.
)
("C:\Program Files\MiKTeX 2.9\tex/latex/systeme\systeme.sty"
("C:\Program Files\MiKTeX 2.9\tex/latex/xstring\xstring.sty"
("C:\Program Files\MiKTeX 2.9\tex/generic/xstring\xstring.tex"
\integerpart=\count188
\decimalpart=\count189
)
Package: xstring 2019/02/06 v1.83 String manipulations (CT)
)
("C:\Program Files\MiKTeX 2.9\tex/generic/systeme\systeme.tex"
\SYS_systemecode=\toks22
\SYS_systempreamble=\toks23
\SYSeqnum=\count190
)
Package: systeme 2019/01/13 v0.32 Mise en forme de systemes d'equations (CT)
)
("C:\Program Files\MiKTeX 2.9\tex/latex/amsfonts\amssymb.sty"
Package: amssymb 2013/01/14 v3.01 AMS font symbols
("C:\Program Files\MiKTeX 2.9\tex/latex/amsfonts\amsfonts.sty"
Package: amsfonts 2013/01/14 v3.01 Basic AMSFonts support
\symAMSa=\mathgroup4
\symAMSb=\mathgroup5
LaTeX Font Info: Redeclaring math symbol \hbar on input line 98.
LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold'
(Font) U/euf/m/n --> U/euf/b/n on input line 106.
))
("C:\Program Files\MiKTeX 2.9\tex/latex/subfiles\subfiles.sty"
Package: subfiles 2020/02/14 v1.6 Multi-file projects (package)
)
("C:\Program Files\MiKTeX 2.9\tex/generic/babel\babel.sty"
Package: babel 2020/02/28 3.41 The Babel package
("C:\Program Files\MiKTeX 2.9\tex/generic/babel\switch.def"
File: switch.def 2020/02/28 3.41 Babel switching mechanism
)
*************************************
* Local config file bblopts.cfg used
*
("C:\Program Files\MiKTeX 2.9\tex/latex/arabi\bblopts.cfg"
File: bblopts.cfg 2005/09/08 v0.1 add Arabic and Farsi to "declared" options of
babel
)
("C:\Program Files\MiKTeX 2.9\tex/latex/babel-english\english.ldf"
Language: english 2017/06/06 v3.3r English support from the babel system
("C:\Program Files\MiKTeX 2.9\tex/generic/babel\babel.def"
File: babel.def 2020/02/28 3.41 Babel common definitions
\babel@savecnt=\count191
\U@D=\dimen144
("C:\Program Files\MiKTeX 2.9\tex/generic/babel\txtbabel.def")
\bbl@readstream=\read3
\bbl@dirlevel=\count192
)
Package babel Info: \l@canadian = using hyphenrules for english
(babel) (\language0) on input line 102.
Package babel Info: \l@australian = using hyphenrules for ukenglish
(babel) (\language72) on input line 105.
Package babel Info: \l@newzealand = using hyphenrules for ukenglish
(babel) (\language72) on input line 108.
))
("C:\Program Files\MiKTeX 2.9\tex/latex/xcolor\xcolor.sty"
Package: xcolor 2016/05/11 v2.12 LaTeX color extensions (UK)
("C:\Program Files\MiKTeX 2.9\tex/latex/graphics-cfg\color.cfg"
File: color.cfg 2016/01/02 v1.6 sample color configuration
)
Package xcolor Info: Driver file: pdftex.def on input line 225.
("C:\Program Files\MiKTeX 2.9\tex/latex/graphics-def\pdftex.def"
File: pdftex.def 2018/01/08 v1.0l Graphics/color driver for pdftex
)
Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1348.
Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1352.
Package xcolor Info: Model `RGB' extended on input line 1364.
Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1366.
Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1367.
Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1368.
Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1369.
Package xcolor Info: Model `Gray' substituted by `gray' on input line 1370.
Package xcolor Info: Model `wave' substituted by `hsb' on input line 1371.
("C:\Program Files\MiKTeX 2.9\tex/latex/graphics\dvipsnam.def"
File: dvipsnam.def 2016/06/17 v3.0m Driver-dependent file (DPC,SPQR)
))
("C:\Program Files\MiKTeX 2.9\tex/latex/graphics\graphicx.sty"
Package: graphicx 2019/11/30 v1.2a Enhanced LaTeX Graphics (DPC,SPQR)
("C:\Program Files\MiKTeX 2.9\tex/latex/graphics\keyval.sty"
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV@toks@=\toks24
)
("C:\Program Files\MiKTeX 2.9\tex/latex/graphics\graphics.sty"
Package: graphics 2019/11/30 v1.4a Standard LaTeX Graphics (DPC,SPQR)
("C:\Program Files\MiKTeX 2.9\tex/latex/graphics\trig.sty"
Package: trig 2016/01/03 v1.10 sin cos tan (DPC)
)
("C:\Program Files\MiKTeX 2.9\tex/latex/graphics-cfg\graphics.cfg"
File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration
)
Package graphics Info: Driver file: pdftex.def on input line 105.
)
\Gin@req@height=\dimen145
\Gin@req@width=\dimen146
)
("C:\Program Files\MiKTeX 2.9\tex/latex/sectsty\sectsty.sty"
Package: sectsty 2002/02/25 v2.0.2 Commands to change all sectional heading sty
les
LaTeX Warning: Command \underbar has changed.
Check if current package is valid.
LaTeX Warning: Command \underline has changed.
Check if current package is valid.
) ("C:\Program Files\MiKTeX 2.9\tex/latex/framed\framed.sty"
Package: framed 2011/10/22 v 0.96: framed or shaded text with page breaks
\OuterFrameSep=\skip52
\fb@frw=\dimen147
\fb@frh=\dimen148
\FrameRule=\dimen149
\FrameSep=\dimen150
)
("C:\Program Files\MiKTeX 2.9\tex/latex/titlesec\titlesec.sty"
Package: titlesec 2019/10/16 v2.13 Sectioning titles
\ttl@box=\box47
\beforetitleunit=\skip53
\aftertitleunit=\skip54
\ttl@plus=\dimen151
\ttl@minus=\dimen152
\ttl@toksa=\toks25
\titlewidth=\dimen153
\titlewidthlast=\dimen154
\titlewidthfirst=\dimen155
)
("C:\Program Files\MiKTeX 2.9\tex/latex/base\fontenc.sty"
Package: fontenc 2020/02/11 v2.0o Standard LaTeX package
)))
("C:\Program Files\MiKTeX 2.9\tex/latex/l3backend\l3backend-pdfmode.def"
File: l3backend-pdfmode.def 2020-03-12 L3 backend support: PDF mode
\l__kernel_color_stack_int=\count193
\l__pdf_internal_box=\box48
)
(lecture12.aux)
\openout1 = `lecture12.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 2.
LaTeX Font Info: ... okay on input line 2.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 2.
LaTeX Font Info: ... okay on input line 2.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 2.
LaTeX Font Info: ... okay on input line 2.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 2.
LaTeX Font Info: ... okay on input line 2.
LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 2.
LaTeX Font Info: ... okay on input line 2.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 2.
LaTeX Font Info: ... okay on input line 2.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 2.
LaTeX Font Info: ... okay on input line 2.
("C:\Program Files\MiKTeX 2.9\tex/context/base/mkii\supp-pdf.mkii"
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count194
\scratchdimen=\dimen156
\scratchbox=\box49
\nofMPsegments=\count195
\nofMParguments=\count196
\everyMPshowfont=\toks26
\MPscratchCnt=\count197
\MPscratchDim=\dimen157
\MPnumerator=\count198
\makeMPintoPDFobject=\count199
\everyMPtoPDFconversion=\toks27
) ("C:\Program Files\MiKTeX 2.9\tex/latex/epstopdf-pkg\epstopdf-base.sty"
Package: epstopdf-base 2020-01-24 v2.11 Base part for package epstopdf
("C:\Program Files\MiKTeX 2.9\tex/generic/infwarerr\infwarerr.sty"
Package: infwarerr 2019/12/03 v1.5 Providing info/warning/error messages (HO)
)
("C:\Program Files\MiKTeX 2.9\tex/latex/grfext\grfext.sty"
Package: grfext 2019/12/03 v1.3 Manage graphics extensions (HO)
("C:\Program Files\MiKTeX 2.9\tex/generic/kvdefinekeys\kvdefinekeys.sty"
Package: kvdefinekeys 2019-12-19 v1.6 Define keys (HO)
))
("C:\Program Files\MiKTeX 2.9\tex/latex/kvoptions\kvoptions.sty"
Package: kvoptions 2019/11/29 v3.13 Key value format for package options (HO)
("C:\Program Files\MiKTeX 2.9\tex/generic/ltxcmds\ltxcmds.sty"
Package: ltxcmds 2019/12/15 v1.24 LaTeX kernel commands for general use (HO)
)
("C:\Program Files\MiKTeX 2.9\tex/generic/kvsetkeys\kvsetkeys.sty"
Package: kvsetkeys 2019/12/15 v1.18 Key value parser (HO)
))
("C:\Program Files\MiKTeX 2.9\tex/latex/pdftexcmds\pdftexcmds.sty"
Package: pdftexcmds 2019/11/24 v0.31 Utility functions of pdfTeX for LuaTeX (HO
)
("C:\Program Files\MiKTeX 2.9\tex/generic/iftex\iftex.sty"
Package: iftex 2020/03/06 v1.0d TeX engine tests
)
Package pdftexcmds Info: \pdf@primitive is available.
Package pdftexcmds Info: \pdf@ifprimitive is available.
Package pdftexcmds Info: \pdfdraftmode found.
)
Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 4
85.
Package grfext Info: Graphics extension search list:
(grfext) [.pdf,.png,.jpg,.mps,.jpeg,.jbig2,.jb2,.PDF,.PNG,.JPG,.JPE
G,.JBIG2,.JB2,.eps]
(grfext) \AppendGraphicsExtensions on input line 504.
)
Chapter 1.
[1
{C:/Users/AndreDany/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}]
(lecture12.aux) )
Here is how much of TeX's memory you used:
5036 strings out of 480934
67935 string characters out of 2909670
328090 words of memory out of 3000000
20817 multiletter control sequences out of 15000+200000
536495 words of font info for 30 fonts, out of 3000000 for 9000
1141 hyphenation exceptions out of 8191
42i,5n,50p,333b,142s stack positions out of 5000i,500n,10000p,200000b,50000s
<C:\Users\AndreDany\AppData\Local\MiKTeX\2.9\fonts/pk/ljfour/
jknappen/ec/dpi600\ecrm1200.pk> <C:\Users\AndreDany\AppData\Local\MiKTeX\2.9\fo
nts/pk/ljfour/jknappen/ec/dpi600\ecbx1728.pk> <C:\Users\AndreDany\AppData\Local
\MiKTeX\2.9\fonts/pk/ljfour/jknappen/ec/dpi600\ecbx2488.pk>
Output written on lecture12.pdf (1 page, 13581 bytes).
PDF statistics:
47 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)

View File

@ -0,0 +1,11 @@
\documentclass[../main.tex]{subfiles}
\begin{document}
\chapter{Lecture 12 - 21-04-2020}
\section{Non parametrics algorithms}
%\expt{\ell(\hat{\ell}) + 2}
\end{document}

View File

@ -82,6 +82,22 @@
\@writefile{toc}{\contentsline {section}{\numberline {10.2}MANCANO 20 MINUTI DI LEZIONE}{54}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {10.1}{\ignorespaces Point (2) - where \hskip 1em\relax $y = cx +q$ \hskip 2em\relax $y = -cx +q $}}{56}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {10.3}Compare risk for zero-one loss}{56}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {10.2}{\ignorespaces Point}}{57}\protected@file@percent }
\@writefile{toc}{\contentsline {chapter}{\numberline {11}Lecture 11 - 20-04-2020}{58}\protected@file@percent }
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
\@writefile{toc}{\contentsline {section}{\numberline {11.1}Analysis of $K_{NN}$}{58}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {11.1}{\ignorespaces Example of domain of $K_{NN}$}}{58}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {11.2}{\ignorespaces Diagonal length}}{59}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {11.3}{\ignorespaces Shape of the function}}{60}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {11.1.1}Study of $K_{NN}$}{61}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {11.1.2}study of trees}{62}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {11.2}Non-parametric Algorithms}{63}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {11.4}{\ignorespaces Parametric and non parametric growing as training set getting larger}}{64}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {11.2.1}Example of parametric algorithms}{64}\protected@file@percent }
\@writefile{toc}{\contentsline {chapter}{\numberline {12}Lecture 12 - 21-04-2020}{65}\protected@file@percent }
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
\@writefile{toc}{\contentsline {section}{\numberline {12.1}Non parametrics algorithms}{65}\protected@file@percent }
\bibstyle{abbrv}
\bibdata{main}
\@writefile{lof}{\contentsline {figure}{\numberline {10.2}{\ignorespaces Point}}{57}\protected@file@percent }

View File

@ -26,3 +26,9 @@
\addvspace {10\p@ }
\contentsline {figure}{\numberline {10.1}{\ignorespaces Point (2) - where \hskip 1em\relax $y = cx +q$ \hskip 2em\relax $y = -cx +q $}}{56}%
\contentsline {figure}{\numberline {10.2}{\ignorespaces Point}}{57}%
\addvspace {10\p@ }
\contentsline {figure}{\numberline {11.1}{\ignorespaces Example of domain of $K_{NN}$}}{58}%
\contentsline {figure}{\numberline {11.2}{\ignorespaces Diagonal length}}{59}%
\contentsline {figure}{\numberline {11.3}{\ignorespaces Shape of the function}}{60}%
\contentsline {figure}{\numberline {11.4}{\ignorespaces Parametric and non parametric growing as training set getting larger}}{64}%
\addvspace {10\p@ }

View File

@ -1,4 +1,4 @@
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (MiKTeX 2.9.7300 64-bit) (preloaded format=pdflatex 2020.4.13) 16 APR 2020 15:49
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (MiKTeX 2.9.7300 64-bit) (preloaded format=pdflatex 2020.4.13) 20 APR 2020 11:36
entering extended mode
**./main.tex
(main.tex
@ -232,20 +232,20 @@ File: l3backend-pdfmode.def 2020-03-12 L3 backend support: PDF mode
(main.aux)
\openout1 = `main.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 46.
LaTeX Font Info: ... okay on input line 46.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 46.
LaTeX Font Info: ... okay on input line 46.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 46.
LaTeX Font Info: ... okay on input line 46.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 46.
LaTeX Font Info: ... okay on input line 46.
LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 46.
LaTeX Font Info: ... okay on input line 46.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 46.
LaTeX Font Info: ... okay on input line 46.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 46.
LaTeX Font Info: ... okay on input line 46.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 47.
LaTeX Font Info: ... okay on input line 47.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 47.
LaTeX Font Info: ... okay on input line 47.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 47.
LaTeX Font Info: ... okay on input line 47.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 47.
LaTeX Font Info: ... okay on input line 47.
LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 47.
LaTeX Font Info: ... okay on input line 47.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 47.
LaTeX Font Info: ... okay on input line 47.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 47.
LaTeX Font Info: ... okay on input line 47.
("C:\Program Files\MiKTeX 2.9\tex/context/base/mkii\supp-pdf.mkii"
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count194
@ -301,12 +301,12 @@ G,.JBIG2,.JB2,.eps]
<./img/unimi.png, id=1, 1240.635pt x 416.2752pt>
File: ./img/unimi.png Graphic file (type png)
<use ./img/unimi.png>
Package pdftex.def Info: ./img/unimi.png used on input line 55.
Package pdftex.def Info: ./img/unimi.png used on input line 56.
(pdftex.def) Requested size: 195.0pt x 65.42395pt.
<./img/front.jpg, id=3, 1606.0pt x 903.375pt>
File: ./img/front.jpg Graphic file (type jpg)
<use ./img/front.jpg>
Package pdftex.def Info: ./img/front.jpg used on input line 74.
Package pdftex.def Info: ./img/front.jpg used on input line 75.
(pdftex.def) Requested size: 350.99762pt x 197.4336pt.
[1
@ -805,42 +805,42 @@ Overfull \hbox (30.95695pt too wide) detected at line 115
LaTeX Warning: Command \textquoteright invalid in math mode on input line 163.
)
Underfull \hbox (badness 10000) in paragraph at lines 142--98
Underfull \hbox (badness 10000) in paragraph at lines 142--99
[]
Underfull \hbox (badness 10000) in paragraph at lines 142--98
Underfull \hbox (badness 10000) in paragraph at lines 142--99
[]
Underfull \hbox (badness 10000) in paragraph at lines 142--98
Underfull \hbox (badness 10000) in paragraph at lines 142--99
[]
Underfull \hbox (badness 10000) in paragraph at lines 142--98
Underfull \hbox (badness 10000) in paragraph at lines 142--99
[]
Underfull \hbox (badness 10000) in paragraph at lines 142--98
Underfull \hbox (badness 10000) in paragraph at lines 142--99
[]
Underfull \hbox (badness 10000) in paragraph at lines 142--98
Underfull \hbox (badness 10000) in paragraph at lines 142--99
[]
Underfull \hbox (badness 10000) in paragraph at lines 142--98
Underfull \hbox (badness 10000) in paragraph at lines 142--99
[]
Underfull \hbox (badness 10000) in paragraph at lines 142--98
Underfull \hbox (badness 10000) in paragraph at lines 142--99
[]
@ -1352,7 +1352,7 @@ Underfull \hbox (badness 10000) in paragraph at lines 271--273
[]
[40])
Underfull \hbox (badness 10000) in paragraph at lines 295--110
Underfull \hbox (badness 10000) in paragraph at lines 295--111
[]
@ -1604,12 +1604,12 @@ Package pdftex.def Info: lectures/../img/lez9-img3.JPG used on input line 215.
(pdftex.def) Requested size: 234.00238pt x 133.93207pt.
)
Underfull \hbox (badness 10000) in paragraph at lines 209--118
Underfull \hbox (badness 10000) in paragraph at lines 209--119
[]
Underfull \hbox (badness 10000) in paragraph at lines 209--118
Underfull \hbox (badness 10000) in paragraph at lines 209--119
[]
@ -1722,20 +1722,244 @@ Package pdftex.def Info: lectures/../img/lez10-img2.JPG used on input line 131
LaTeX Warning: `h' float specifier changed to `ht'.
) [56 <./lectures/../img/lez10-img1.JPG>] (main.bbl [57 <./lectures/../img/lez1
0-img2.JPG>]
) [56 <./lectures/../img/lez10-img1.JPG>] (lectures/lecture11.tex [57 <./lectur
es/../img/lez10-img2.JPG>]
Chapter 11.
<lectures/../img/lez11-img1.JPG, id=232, 214.55156pt x 150.5625pt>
File: lectures/../img/lez11-img1.JPG Graphic file (type jpg)
<use lectures/../img/lez11-img1.JPG>
Package pdftex.def Info: lectures/../img/lez11-img1.JPG used on input line 21.
(pdftex.def) Requested size: 234.00238pt x 164.21324pt.
Underfull \hbox (badness 10000) in paragraph at lines 9--39
[]
Underfull \hbox (badness 10000) in paragraph at lines 9--39
[]
Underfull \hbox (badness 10000) in paragraph at lines 9--39
[]
[58
<./lectures/../img/lez11-img1.JPG>]
<lectures/../img/lez11-img2.JPG, id=236, 51.19125pt x 42.1575pt>
File: lectures/../img/lez11-img2.JPG Graphic file (type jpg)
<use lectures/../img/lez11-img2.JPG>
Package pdftex.def Info: lectures/../img/lez11-img2.JPG used on input line 53.
(pdftex.def) Requested size: 39.00238pt x 32.1217pt.
Underfull \hbox (badness 10000) in paragraph at lines 45--65
[]
Underfull \hbox (badness 10000) in paragraph at lines 45--65
[]
Overfull \hbox (29.38765pt too wide) detected at line 80
\U/msb/m/n/12 E [] \OT1/cmr/m/n/12 + 2 \OMS/cmsy/m/n/12  []  [] \OML/cmm
/m/it/12 I\OMS/cmsy/m/n/12 f\OML/cmm/m/it/12 X \OMS/cmsy/m/n/12 2 \OML/cmm/m/it
/12 C[]\OMS/cmsy/m/n/12 g  \OML/cmm/m/it/12 I\OMS/cmsy/m/n/12 f\OML/cmm/m/it/1
2 C[] \OMS/cmsy/m/n/12 \ \OML/cmm/m/it/12 S \OMS/cmsy/m/n/12 6\OT1/cmr/m/n/12 =
0\OMS/cmsy/m/n/12 g \OT1/cmr/m/n/12 =
[]
Overfull \hbox (75.62454pt too wide) detected at line 92
\OT1/cmr/m/n/12 = \OML/cmm/m/it/12 " \OMS/cmsy/m/n/12  []  \U/msb/m/n/12 E
[] \OT1/cmr/m/n/12 + 2 \OMS/cmsy/m/n/12  []  [] \U/msb/m/n/12 E [] \OMS/cm
sy/m/n/12 
[]
Underfull \hbox (badness 10000) in paragraph at lines 123--125
[]
[59 <./lectures/../img/lez11-img2.JPG>]
<lectures/../img/lez11-img3.JPG, id=240, 122.70844pt x 64.74188pt>
File: lectures/../img/lez11-img3.JPG Graphic file (type jpg)
<use lectures/../img/lez11-img3.JPG>
Package pdftex.def Info: lectures/../img/lez11-img3.JPG used on input line 135
.
(pdftex.def) Requested size: 77.99881pt x 41.1541pt.
Underfull \hbox (badness 10000) in paragraph at lines 127--139
[]
Underfull \hbox (badness 10000) in paragraph at lines 153--157
[]
Underfull \hbox (badness 10000) in paragraph at lines 166--170
[]
[60 <./lectures/../img/lez11-img3.JPG>]
Underfull \hbox (badness 10000) in paragraph at lines 193--195
[]
LaTeX Warning: Command \textbullet invalid in math mode on input line 219.
LaTeX Warning: Command \textbullet invalid in math mode on input line 219.
Missing character: There is no ˆ in font cmr12!
LaTeX Warning: Command \textbullet invalid in math mode on input line 219.
LaTeX Warning: Command \textbullet invalid in math mode on input line 219.
Missing character: There is no ˆ in font cmr12!
LaTeX Warning: Command \textbullet invalid in math mode on input line 219.
LaTeX Warning: Command \textbullet invalid in math mode on input line 219.
Missing character: There is no ˆ in font cmr8!
LaTeX Warning: Command \textbullet invalid in math mode on input line 219.
LaTeX Warning: Command \textbullet invalid in math mode on input line 219.
Missing character: There is no ˆ in font cmr6!
Underfull \hbox (badness 10000) in paragraph at lines 217--221
[]
Underfull \hbox (badness 10000) in paragraph at lines 223--229
[]
Underfull \hbox (badness 10000) in paragraph at lines 223--229
[]
Underfull \hbox (badness 10000) in paragraph at lines 233--251
[]
Underfull \hbox (badness 10000) in paragraph at lines 233--251
[]
[61]
Underfull \hbox (badness 10000) in paragraph at lines 253--256
[]
Underfull \hbox (badness 10000) in paragraph at lines 253--256
[]
Underfull \hbox (badness 10000) in paragraph at lines 262--268
[]
Underfull \hbox (badness 10000) in paragraph at lines 270--287
[]
Underfull \hbox (badness 10000) in paragraph at lines 270--287
[]
Underfull \hbox (badness 10000) in paragraph at lines 270--287
[]
Underfull \hbox (badness 10000) in paragraph at lines 270--287
[]
[62]
<lectures/../img/lez11-img4.JPG, id=252, 328.22626pt x 147.55125pt>
File: lectures/../img/lez11-img4.JPG Graphic file (type jpg)
<use lectures/../img/lez11-img4.JPG>
Package pdftex.def Info: lectures/../img/lez11-img4.JPG used on input line 311
.
(pdftex.def) Requested size: 195.0pt x 87.66011pt.
Underfull \hbox (badness 10000) in paragraph at lines 296--333
[]
Underfull \hbox (badness 10000) in paragraph at lines 296--333
[]
Underfull \hbox (badness 10000) in paragraph at lines 296--333
[]
Underfull \hbox (badness 10000) in paragraph at lines 296--333
[]
Underfull \hbox (badness 10000) in paragraph at lines 296--333
[]
Underfull \hbox (badness 10000) in paragraph at lines 296--333
[]
Underfull \hbox (badness 10000) in paragraph at lines 296--333
[]
[63]) [64 <./lectures/../img/lez11-img4.JPG>] (lectures/lecture12.tex
Chapter 12.
) [65
] (main.bbl
LaTeX Warning: Empty `thebibliography' environment on input line 3.
) [58
) [66
] (main.aux) )
Here is how much of TeX's memory you used:
5286 strings out of 480934
74499 string characters out of 2909670
336238 words of memory out of 3000000
20967 multiletter control sequences out of 15000+200000
558361 words of font info for 83 fonts, out of 3000000 for 9000
5334 strings out of 480934
75897 string characters out of 2909670
336254 words of memory out of 3000000
21003 multiletter control sequences out of 15000+200000
561784 words of font info for 96 fonts, out of 3000000 for 9000
1141 hyphenation exceptions out of 8191
34i,13n,42p,311b,355s stack positions out of 5000i,500n,10000p,200000b,50000s
<C:\Users\AndreDany\AppData\Local\MiKTeX\2.9\fonts/pk/ljfour/jkn
@ -1755,19 +1979,20 @@ rm2074.pk> <C:\Users\AndreDany\AppData\Local\MiKTeX\2.9\fonts/pk/ljfour/jknappe
n/ec/dpi600\ecbx2488.pk><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfont
s/cm/cmbx6.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmbx
8.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmex10.pfb><C
:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmmi12.pfb><C:/Progra
m Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmmi6.pfb><C:/Program Files/M
iKTeX 2.9/fonts/type1/public/amsfonts/cm/cmmi8.pfb><C:/Program Files/MiKTeX 2.9
/fonts/type1/public/amsfonts/cm/cmr12.pfb><C:/Program Files/MiKTeX 2.9/fonts/ty
pe1/public/amsfonts/cm/cmr6.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public
/amsfonts/cm/cmr8.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/
cm/cmsy10.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmsy6
.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmsy8.pfb><C:/
Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/symbols/msam10.pfb><C:/Pro
gram Files/MiKTeX 2.9/fonts/type1/public/amsfonts/symbols/msbm10.pfb>
Output written on main.pdf (59 pages, 1616411 bytes).
:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmmi10.pfb><C:/Progra
m Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmmi12.pfb><C:/Program Files/
MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmmi6.pfb><C:/Program Files/MiKTeX 2.
9/fonts/type1/public/amsfonts/cm/cmmi8.pfb><C:/Program Files/MiKTeX 2.9/fonts/t
ype1/public/amsfonts/cm/cmr12.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/publ
ic/amsfonts/cm/cmr6.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfont
s/cm/cmr8.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmsy1
0.pfb><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmsy6.pfb><C:
/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmsy8.pfb><C:/Program
Files/MiKTeX 2.9/fonts/type1/public/amsfonts/symbols/msam10.pfb><C:/Program Fil
es/MiKTeX 2.9/fonts/type1/public/amsfonts/symbols/msbm10.pfb>
Output written on main.pdf (67 pages, 1699850 bytes).
PDF statistics:
712 PDF objects out of 1000 (max. 8388607)
748 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 500000)
96 words of extra memory for PDF output out of 10000 (max. 10000000)
116 words of extra memory for PDF output out of 10000 (max. 10000000)

View File

@ -27,10 +27,11 @@
\newcommand\nl{N_{\ell}}
\newcommand\sll{S_{\ell}}
\newcommand\red[1]{\textcolor{BrickRed}{#1}}
\newcommand\bred[1]{\textcolor{BrickRed}{\textbf{#1}}}
\newcommand\bred[1]{\textcolor{Red}{\textbf{#1}}}
\newcommand\blue[1]{\textcolor{Blue}{\textbf{#1}}}
\newcommand\gray[1]{\textcolor{mygray}{#1}}
\newcommand\col[2]{\textcolor{#2}{#1}}
\newcommand\expt[1]{$\barra{E}\left[ \,{#1}\, \right] $}
%\titleformat{\chapter}[display]
% {\normalfont\bfseries}{}{0pt}{\Large}
@ -120,6 +121,13 @@
\newpage
\subfile{lectures/lecture10}
\newpage
\subfile{lectures/lecture11}
\newpage
\subfile{lectures/lecture12}
\newpage
\bibliographystyle{abbrv}
\bibliography{main}

View File

@ -44,3 +44,11 @@
\contentsline {section}{\numberline {10.1}TO BE DEFINE}{54}%
\contentsline {section}{\numberline {10.2}MANCANO 20 MINUTI DI LEZIONE}{54}%
\contentsline {section}{\numberline {10.3}Compare risk for zero-one loss}{56}%
\contentsline {chapter}{\numberline {11}Lecture 11 - 20-04-2020}{58}%
\contentsline {section}{\numberline {11.1}Analysis of $K_{NN}$}{58}%
\contentsline {subsection}{\numberline {11.1.1}Study of $K_{NN}$}{61}%
\contentsline {subsection}{\numberline {11.1.2}study of trees}{62}%
\contentsline {section}{\numberline {11.2}Non-parametric Algorithms}{63}%
\contentsline {subsection}{\numberline {11.2.1}Example of parametric algorithms}{64}%
\contentsline {chapter}{\numberline {12}Lecture 12 - 21-04-2020}{65}%
\contentsline {section}{\numberline {12.1}Non parametrics algorithms}{65}%