Why i paid 50k for college is beyond me when this explanation is free and is better than how my professor explained it
@Stofzuigerr16 жыл бұрын
Because he doesn't hand out your certificate unfortunately.
@zerocode15046 жыл бұрын
Is this static or dynamic huffman?
@OwzaB6 жыл бұрын
Even better than my Course prescribed textbook.
@GoodNewsJim3 жыл бұрын
Heads up, University is only for people who don't know how to learn since lectures came online since 2003. If you know how to learn, you can be a polymath in the time people go to uni for stuff. If you want to be a slave to student loans, by all means go to uni if you're into that kind of kink. If you're smart, just learn online.
@jamalmydeen84462 жыл бұрын
i paid 4L indian rupeee
@suzanbobette25807 жыл бұрын
Best explanation of Huffman coding!! Thank you! Great pace and simple explanation. Great job!!!
@furkanfrost Жыл бұрын
this was the best text compression teaching video ive ever watched thanks for helping
@celestinomacie95892 жыл бұрын
I am amazed! I am a college student in Mozambique and I've been struggling to understand the Huffman Coding. Thank you for the simplicty of how you explain things
@pannerbiryani30025 ай бұрын
This is good explanation!! you explained it so simply. we need more explanation videos of this format!!
@bluesystemjackson6 жыл бұрын
Learned more in 6 minutes than in two entire lectures and two tutorial classes at university. Why do Profs and teachers make it so hard, when it can be explained so easily?
@ExZeMIP Жыл бұрын
Better to have 2 lectures wasted on something simple, than 2 lectures fully packed with content, no?
@Farrukhw6 жыл бұрын
Finally, I got some clear understanding of building the tree using smallest frequency values.. Thanks a bunch... Greetings from Pakistan...
@gabrielangel19966 жыл бұрын
Thats the easiest and Best explanation on the subject. Thank you very much sir
@UsmanArshad-qv5nt Жыл бұрын
What a stupendous, winsome, elegant, and terse explanation!
@JamieJaftha7 жыл бұрын
Thank you so much!! Now I understand Huffman coding much better than before.
@ZackDiD3 жыл бұрын
man, you are a genius. your explanation is better than some professors
@任安明7 жыл бұрын
finally,i understand Huffman code
@wardamtn7 жыл бұрын
You have saved my life. thank you so much. Such an easy explanation.
@ndm999995 жыл бұрын
sir, its too easy to understand thank you so much ,love from sri lanka
@Kurasz6664 жыл бұрын
Thanks man, cheers from IT student in Poland
@jakub65144 жыл бұрын
Same situation here :P This guy up there, explained it to me in 6 minutes, when my professor wasn't able to do this is 6 months...
@jasinsworld30959 күн бұрын
Best video on this topic
@davidbachy5627 Жыл бұрын
The best explanation yet!!!
@piyushukla227 жыл бұрын
Honestly speaking, this is the best video available on huffman coding throughout youtube Although I have a small doubt about... how to trace back to the original message from the encoded one ;) If someone could give a little brief. Thanks in advance!!
@zerocode15046 жыл бұрын
Is this static or dynamic huffman?
@vapula874 жыл бұрын
You have to rebuild the tree so that the values are in the exact same place. Then you use the bits to go right or left in the tree.
@GurdevSeepersaud2 жыл бұрын
Wow that was actually pretty interesting
@cangozpinar2 ай бұрын
Beautifully explained thank you
@mortred41443 жыл бұрын
Thanks, you explained it better than my professor.
@Dacarns4 жыл бұрын
This is the best example I could find. Thank you!
@manikantap7865 Жыл бұрын
Good explanation sir😊
@puskk14196 жыл бұрын
Best explanation...!! Thanks
@maazbukhsh75117 жыл бұрын
finally, i understand what Huffman coding is
@tomq64919 ай бұрын
Great video and well explained. Just one thing I would say about the ASCII coding, one of its 8 bits is used for parity check so perhaps it would be more fair to consider the ASCII characters as 7 bits. It would still be a great example of lossless compression though.
@yassinal-nuaimee12044 жыл бұрын
Great explanation👌🏼
@02smn2 жыл бұрын
Thank you! Great explanation. Subbed because of this great teaching video.
@kritikabagmar79766 жыл бұрын
Good explanation.. Thanks
@vitragb59084 жыл бұрын
Finally got it Nicely explain
@vincentverdugo4 жыл бұрын
The best explanation
@lukem60304 жыл бұрын
This video helped a lot thank you so much :) .
@RamKumar-ox3bs5 жыл бұрын
Easy to digest 😁😁 Thanks
@confessions926 жыл бұрын
Best explanation I found on youtube!! :D
@chrysleague4 жыл бұрын
This demonstration was really great! My only complaint is I think it's unfair to compare the 46 bits with Huffman tree to 136 with ASCII at 8 bits per character. Those 8 bits are supporting up to 256 distinct characters, while the Huffman tree only accommodates 8 characters. So if we only need to encode the characters used in the message (ISPRMVE_), we could do that with just 3 bits per character. Then this fixed-size encoding would be 17×3=51 bits. So the Huffman tree still yields a savings, but it's more like 47/51 ~= 92% of the length of the original. [Full disclosure: I also have an explainer video about Huffman coding, and teach it pretty regularly.]
@TashingaPemhiwa3 жыл бұрын
But you'd still need to send a mapping (full ASCII code to Huffman code), along with the encoded data, resulting in the transmitted data being longer than the original data (for this particular example)
@McMxxCiV Жыл бұрын
Doesn't the dictionary also need to be saved, with the letters in their original 8 bit form for a total of 64 and the codes adding up to 26, making compressed text + dictionary add up to 136 again?
@YTM4niac7 жыл бұрын
Actually.. you explained it the best! Thanks :)
@ahmadrezabolghad98113 жыл бұрын
Thank you so much, this technique is very easy
@dionrl435 Жыл бұрын
2:29 how come u didn’t join pr4 and the one to the right of it?
@bloopyikes71774 жыл бұрын
how would the receiving computer or whatever know how to translate the message though? would the binary values for all of the characters be sent too?
@rustycherkas82293 жыл бұрын
Kudos to the presentation, but... for a newbie like me there are some questions remain. The original string (used for demonstration only, I understand) is only 17 characters long, and chosen to show some recurring characters. The 'dictionary' for this message would contain 8 entries (1 byte each), and the 'paths' for each entry would fit into 8 bits (1 byte), so nothing is gained in this example... A much larger block of English text would benefit from the compression, obviously, but I wonder if protection is needed for long long branches on making Huffman trees?
@technoplus98775 жыл бұрын
You !!!! please(100X) i love you ....What amazing explanation.... THNKS
@shattikbandyopadhyaa17873 жыл бұрын
thank you! from Bangladesh
@dochollywood7 жыл бұрын
Clear and concise. Thanks!
@susybucket-le6vy8 ай бұрын
great video
@jamoliddinz4 жыл бұрын
thank you, that was really easy to understand.
@ndm999995 жыл бұрын
please i need help , if there are a simple letter ,imagine it is 'm' what is value? is it equal to capital 'M' value ? or do we want to find it ?
@DavidaThatch Жыл бұрын
So so good; thank you!
@lajoskicsi69103 жыл бұрын
Does the mapping table also take place? The 46 bits probably do not contain it, right? How the receiver decodes it?
@Saul-ju4zd3 жыл бұрын
Great explanation, thanks.
@bono95zg6 жыл бұрын
And how do you reconstruct it? You have to save the table also but then for this example you didnt save space...
@carelceri44283 жыл бұрын
Very clear. Thank you sir
@mixupthings4 жыл бұрын
superb
@rootMySql6 жыл бұрын
I need it! Thanks for this video:)
@latedeveloper78363 жыл бұрын
5:17 Compression Ratio
@diegosanchez670410 ай бұрын
Thank you!
@uchaopham91472 жыл бұрын
Did the huffman code provide the best solution? I mean in this example, can we use shorter unused bit for M, V..., like 10, 01 or 11, the total bits must be lower. Thank you for your explanation
@chromzepher2 жыл бұрын
Doing that would result in situations where you could end up with ambiguous combinations. Take representing M as 10 like your example. If I receive a string of bits 10100100 it's impossible for the receiver to tell is that's mmsi (10 10 01 00) or mpp (10 100 100) as all the computer has is the limited dictionary we gave it and the string of bits. Using the full dictionary provided and assuming M was given a value of 10 instead of 1100. When we try to write out Mississippi we get 100001010001010010010000. When the receiver gets this text we can assume it organizes letter by checking the string number by number until it hits an invalid combination then it steps back one and puts a break there. As it runs through this string it will see 1 then 0 and think I know this is an M but if the next number is 0 it is also a P so it checks, finds a 0, then checks the next, finds another 0 but knows there's nothing for 1000 but there is something for 100 so it thinks the first letter is 100 and moves on. If we run it through without any context the computer will try to break it up as pirissippi (100 00 101 00 01 01 00 100 100 00)
@rumishruu73945 жыл бұрын
Thank you very u saved my life
@kodagabriel6 жыл бұрын
THE BEST!!
@tzr6k6 ай бұрын
thank you!
@giacomobiancalana69497 жыл бұрын
I'm not so sure, but for this example, without the Huffman coding, you can represent the letters with only 3 bit (8 characters = 2^3), not 8. 3 is the number of bits with which you have to calculate the percentage. So 3 bits x 17 total characters = 51 . (46/51)*100= 90.2, so the saving is only about 10%. You can't say that you need 8 bit to trasmit/represent each character without the Huffman coding, because in this case you have to use them also with it, which is useless.
@luanbaviloni67147 жыл бұрын
But Huffman Coding is used mostly for text compression, so if you consider that any character of ASCII table can be used in the uncompressed text, the length of 8 bits has to be considered.
@grmvishnu78933 жыл бұрын
Can you share the code for this ? @Estudy
@12bucukfalandim6 жыл бұрын
adamsın corç :d
@somebrotherfromgermany5 жыл бұрын
asdfadsfgasgs
@klaragiceva87755 жыл бұрын
best explanation !!!!!!!!
@jarrydpatel96505 жыл бұрын
Great Video, Thank you..
@helloyou1915 жыл бұрын
what software do you use for the dashboard ?
@ade-joshe6 жыл бұрын
Nice and precise
@raymondfosu78213 жыл бұрын
"I love you telecommunication and network" Can someone solve this using Huffman's tree and Huffman's code
@ethanbai57126 жыл бұрын
Great explanation. Thanks! One question: when building the tree, why did you choose to add PR4 and MVE_ instead of PR4 and S4? MVE_ and S4 have the same values of 4.
@harrymon04 жыл бұрын
He's sticking with prioritizing the rightmost available sums when all else is equal. Try doing it the alternate way you've just outlined. Do you notice the potential to lose efficiency?
@mostafaaly93317 жыл бұрын
good one .....keep it up thank u :)
@amirezasobhdel70135 жыл бұрын
can you explain how the receiver device understands the encoded message?
@leosmi14 жыл бұрын
I have the same doubt
@amit_go2 ай бұрын
gem
@hyy34344 жыл бұрын
Thanks for great explanation!
@tsepontimane46787 жыл бұрын
got it, thank you.
@gauravburad74044 жыл бұрын
Thanks
@TheCCBoi7 жыл бұрын
Great video, if I could give you two thumbs up I would. Thank you!
@sabsab75047 жыл бұрын
if we have frequency 12,12,4,4 how result please help me
@bono95zg6 жыл бұрын
Combine 4 4, now ypu have 12,12,8. Then combine 12 and 8, now you have 12 20. An thn combine them and have 32
@vaelkokach29413 жыл бұрын
i think the calculation is wrong, lowest frequency should have the highest priority not the opposite
@22puru227 жыл бұрын
Best!!
@surajrock2994 жыл бұрын
Finally understand
@amansyanbusiness Жыл бұрын
You did a mistake it’s actually 43 bits
@getmymail45074 жыл бұрын
best knowladge received
@poonjaga41914 жыл бұрын
So easly to understand
@Symmetryful7 жыл бұрын
Sorry this might be unrelated but why does ASCII representation use 8 bits? As far as I can see, if you need to represent {a,...,z,A,...,Z} in binary code, surely you just need to minimise n subject to 2^n >= 52 (which yields n = 6). Then you can represent each letter uniquely, 6 bits each. Why use 8 bits?
@Drakkenstien7 жыл бұрын
6 bits doesn't actually give us enough room to work with, because there's a large variation of characters that can't be handled by a mere 6 bytes, including numerals, mathematical symbols, newlines, spaces, tabs, null, end of file characters, and so on. In fact, 8 bytes generally isn't enough either to include all the characters we need either, which is why Unicode was developed. As to why 8 bits per byte, it's mostly because it's the first power of two that can store a sufficient number of data to be flexible, while being small enough to be able to work around.
@nasrothepunisher5744 Жыл бұрын
It's 16caractère not 17..you cant count the espace
@linconnuoppoa5s Жыл бұрын
Why WE compress our language using our language when it IS to thé machine to compress it in its language . Why using A B C. .. when its simple tobuse 0 and 1
@patrickschnurbusch83196 жыл бұрын
i think you did it wrong, looking at my class notes 0 should be on the right and 1 on the left
@vapula874 жыл бұрын
The number of edges is what is important, not whether you use 0 or 1 in a certain direction. It's the same number of bits.
@mp33115 жыл бұрын
Sir, but this is wrong. 8 should switch with 9. The smaller number goes in the left child and the bigger in the right...
@vapula874 жыл бұрын
It doesn't matter. The Huffman binary tree is correct if each parent's key is equal to the sum of its childrens' keys and all nodes with elements are leaf nodes.
@ganeshmantri1917 жыл бұрын
R2 IS SUBSET OF V1
@giacomobiancalana69497 жыл бұрын
It is. In fact, for this coding, the only thing is don't be a prefix. Being a subset is ok.
@giacomobiancalana69497 жыл бұрын
Sorry for my English... I think that the actual sentence has to finish this way : "...is not to be a prefix".