




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































We are discussing non-parametric estimation ofdensity functions.
PR NPTEL course ā p.1/
We are discussing non-parametric estimation ofdensity functions.
Here we do not assume any form for the densityfunction.
PR NPTEL course ā p.2/
The choice of size of
is critical for getting good
estimates.
PR NPTEL course ā p.4/
The choice of size of
is critical for getting good
estimates.
As discussed in last class there are two possibilities:
PR NPTEL course ā p.5/
The choice of size of
is critical for getting good
estimates.
As discussed in last class there are two possibilities:
we can fix
and compute
k
(Parzen Window or
kernel-density estimate)
we can fix
k
and compute
(k-nearest neighbour
density estimate)
PR NPTEL course ā p.7/
The choice of size of
is critical for getting good
estimates.
As discussed in last class there are two possibilities:
we can fix
and compute
k
(Parzen Window or
kernel-density estimate)
we can fix
k
and compute
(k-nearest neighbour
density estimate)
We discuss these in this class
PR NPTEL course ā p.8/
We first consider the Parzen window method.
Define a function
Ļ
d
by
Ļ
u
if
u
i
, i
, d
otherwise
where
u
u
1
, u
d
T
.
PR NPTEL course ā p.10/
We first consider the Parzen window method.
Define a function
Ļ
d
by
Ļ
u
if
u
i
, i
, d
otherwise
where
u
u
1
, u
d
T
.
This defines a unit hypercube in
d
centered at origin.
PR NPTEL course ā p.11/
Ļ
u
ā
u
0
h
is a hypercube of side
h
centered at
u
0
.
PR NPTEL course ā p.13/
Ļ
u
ā
u
0
h
is a hypercube of side
h
centered at
u
0
.
Let
x
1
, x
n
be the data samples.
PR NPTEL course ā p.14/
Ļ
u
ā
u
0
h
is a hypercube of side
h
centered at
u
0
.
Let
x
1
, x
n
be the data samples.
Then, for any
x
,
Ļ
x
ā
x
i
h
would be
only if
x
i
falls in a
hypercube of side
h
centered at
x
.
Hence the number of data points falling in ahypercube of side
h
centered at
x
is
k
n
i
=
Ļ
x
x
i
h
PR NPTEL course ā p.16/
Hypercube of side
h
in
d
has volume
h
d
.
PR NPTEL course ā p.17/
Hypercube of side
h
in
d
has volume
h
d
.
Hence we can write our estimated density function as
f
x
(^1) n
n
i
=
h
d
Ļ
x
x
i
h
Known as Parzen window estimate.
PR NPTEL course ā p.19/
Hypercube of side
h
in
d
has volume
h
d
.
Hence we can write our estimated density function as
f
x
(^1) n
n
i
=
h
d
Ļ
x
x
i
h
Known as Parzen window estimate.
If we store all
x
i
, we can compute
f
x
at any
x
.
PR NPTEL course ā p.20/