# 0.6 Compression of nonparametric sources  (Page 3/3)

 Page 3 / 3

Because of the AEP  [link] ,

$Pr\left({x}_{1}^{l},:,\left|\frac{-log\left(Pr\left({x}_{1}^{l}\right)\right)}{{l}_{0}},-,H\right|,>,ϵ\right)\to 0.$

Therefore, for a typical input $Pr\left({x}_{1}^{l}\right)>{2}^{-{l}_{0}\left(H+ϵ\right)}$ .

Recall that the interval length is ${l}_{0}=\frac{log\left({n}_{w}\right)}{H+2ϵ},$ and so the probability that an interval cannot be found in the history is

$\frac{{2}^{-{l}_{0}\left(H+2ϵ\right)}}{{2}^{-{l}_{0}\left(H+ϵ\right)}}={2}^{-{l}_{0}ϵ}\to 0.$

For a long enough interval, this probability goes to zero.

## Redundancy of parsing schemes

There are many Ziv-Lempel style parsing algorithms  [link] , [link] , [link] , and each of the variantshas different details, but the key idea is to find the longest match in a window of length ${n}_{w}$ . The length of the match is $L$ , where we remind the reader that $L\approx \frac{log\left({n}_{w}\right)}{H}$ .

Now, encoding $L$ requires $log\left({n}_{w}\right)$ bits, and so the per-symbol compression ratio is $\frac{log\left({n}_{w}\right)}{L}$ , which in the limit of large ${n}_{w}$ approaches the entropy rate $H$ .

However, the encoding of $L$ must also desribe its length, and often the symbol that follows the match. These require length $log\left(L\right)\approx log\left(log\left({n}_{w}\right)\right)$ , and the normalized (per-symbol) cost is

$\frac{log\left(log\left({n}_{w}\right)\right)}{L}=O\left(\frac{log\left(log\left({n}_{w}\right)\right)}{log\left({n}_{w}\right)}\right).$

Therefore, the redundancy of Ziv-Lempel style compression algorithms is proportional to $O\left(\frac{log\left(log\left(n\right)\right)}{log\left(n\right)}\right)$ , which is much greater than the $O\left(\frac{log\left(n\right)}{n}\right)$ that we have seen for parametric sources. The fundamental reason why the redundancy is greater is that the class of non-parametric sources is much richer. Detailedredundancy analyses appear in a series of papers by Savari (c.f.  [link] ).

## Parsing for lossy compression

The parsing schemes that we have seen can also be adapted to lossy compression. Let us describe several approaches along these lines.

Fixed length: The first scheme, due to Gupta et al.  [link] , constructs a codebook of size $\approx {2}^{LR\left(D\right)}$ codewords, where $L$ is the length of the phrase being matched and $R\left(D\right)$ is the rate distortion function. The algorithm cannot search for perfect matches of the phrase, because this is lossy compression. Instead, it seeks the codeword that matches our input phrase most closely. It turns out that for large $L$ the expected distortion of the lossy match will be approximately $D$ per symbol.

Variable length: Another approach, due to Gioran and Kontoyiannis  [link] , constructs a single long database string, and searches for the longest match whose distortion w.r.t. the input is approximately $D$ ; the location and length of the approximate match are encoded. Seeing that the database is of length $\approx {2}^{LR}$ , encoding the location requires $\approx LR$ bits, and the $D$ -match (a match with distortion $D$ w.r.t. the input string) is typically of length $\approx L$ , giving a per-symbol rate of $\approx R\left(D\right)$ bits.

An advantage of the latter scheme by Gioran and Kontoyiannis  [link] is reduced memory use. The database is a string of length $\approx {2}^{LR\left(D\right)}$ , instead of a codebook comprised of $\approx {2}^{LR\left(D\right)}$ codewords, each of length $L$ . On the other hand, the Gupta et al. algorithm  [link] has better $RD$ performance, because it does not need to spend $\approx log\left(L\right)$ bits per phrase to describe its length. An improved algorithm, dubbed the hybrid algorithm by Gioran and Kontoyiannis, constructs a single database and performs fixed length coding for the best match of length $L$ in the database. Therefore, it combines the memory usage of a single database approach with the $RD$ performance of fixed length coding.

anyone know any internet site where one can find nanotechnology papers?
research.net
kanaga
Introduction about quantum dots in nanotechnology
what does nano mean?
nano basically means 10^(-9). nanometer is a unit to measure length.
Bharti
do you think it's worthwhile in the long term to study the effects and possibilities of nanotechnology on viral treatment?
absolutely yes
Daniel
how to know photocatalytic properties of tio2 nanoparticles...what to do now
it is a goid question and i want to know the answer as well
Maciej
Abigail
for teaching engĺish at school how nano technology help us
Anassong
Do somebody tell me a best nano engineering book for beginners?
there is no specific books for beginners but there is book called principle of nanotechnology
NANO
what is fullerene does it is used to make bukky balls
are you nano engineer ?
s.
fullerene is a bucky ball aka Carbon 60 molecule. It was name by the architect Fuller. He design the geodesic dome. it resembles a soccer ball.
Tarell
what is the actual application of fullerenes nowadays?
Damian
That is a great question Damian. best way to answer that question is to Google it. there are hundreds of applications for buck minister fullerenes, from medical to aerospace. you can also find plenty of research papers that will give you great detail on the potential applications of fullerenes.
Tarell
what is the Synthesis, properties,and applications of carbon nano chemistry
Mostly, they use nano carbon for electronics and for materials to be strengthened.
Virgil
is Bucky paper clear?
CYNTHIA
carbon nanotubes has various application in fuel cells membrane, current research on cancer drug,and in electronics MEMS and NEMS etc
NANO
so some one know about replacing silicon atom with phosphorous in semiconductors device?
Yeah, it is a pain to say the least. You basically have to heat the substarte up to around 1000 degrees celcius then pass phosphene gas over top of it, which is explosive and toxic by the way, under very low pressure.
Harper
Do you know which machine is used to that process?
s.
how to fabricate graphene ink ?
for screen printed electrodes ?
SUYASH
What is lattice structure?
of graphene you mean?
Ebrahim
or in general
Ebrahim
in general
s.
Graphene has a hexagonal structure
tahir
On having this app for quite a bit time, Haven't realised there's a chat room in it.
Cied
what is biological synthesis of nanoparticles
what's the easiest and fastest way to the synthesize AgNP?
China
Cied
types of nano material
I start with an easy one. carbon nanotubes woven into a long filament like a string
Porter
many many of nanotubes
Porter
what is the k.e before it land
Yasmin
what is the function of carbon nanotubes?
Cesar
I'm interested in nanotube
Uday
what is nanomaterials​ and their applications of sensors.
Got questions? Join the online conversation and get instant answers!