Eating a baby habanero
1:37
Жыл бұрын
Resume vs. CV Workshop
32:36
Жыл бұрын
The Academic Career Path
1:01:51
Жыл бұрын
Academia vs. Industry Panel
58:33
Жыл бұрын
Пікірлер
@tysonliu2833
@tysonliu2833 5 сағат бұрын
very confusing
@Computervirusworld
@Computervirusworld 4 күн бұрын
thanks
@thomasfrew3882
@thomasfrew3882 8 күн бұрын
Lovely video :)
@mariamamrou2005
@mariamamrou2005 15 күн бұрын
Thank you so much this is very clear and easy to understand!
@Idrees_m_aziz
@Idrees_m_aziz 23 күн бұрын
cardinality... not magnitude.
@karthik-varma-1579
@karthik-varma-1579 Ай бұрын
Most needed vudeo
@bodourmohamed1305
@bodourmohamed1305 Ай бұрын
You made it very simple, thank you🤍
@amy-cv2nw
@amy-cv2nw 2 ай бұрын
Thank you so much for the simple explanation, this was so helpful!
@lanternofthegreen
@lanternofthegreen 2 ай бұрын
What a cliffhanger. Then what? How do you align the queries?
@A-DokkoiSHOW
@A-DokkoiSHOW 2 ай бұрын
I really wish i could attend this class omg
@ryandas5644
@ryandas5644 2 ай бұрын
Cse 101 exam today! Look who popped up on my feed professor niema❤
@niemasd
@niemasd 2 ай бұрын
Good luck on the exam! You got this 😄
@carabineers
@carabineers 2 ай бұрын
song name? i bought this game aswell thank you! i codded an AI and a weather app with this, (and help of my friends!)
@niemasd
@niemasd 2 ай бұрын
I'm so glad you're enjoying the game! And awesome to hear that you made an AI and a weather app 🙂Here's the link to the song (it's Creative Commons license: ccmixter.org/files/tobias_weber/56664)
@hitarthk
@hitarthk 2 ай бұрын
we can probably save on some space by storing map<character, child_pointer>. So every node doesn't use space of |∑| pointers
@niemasd
@niemasd 2 ай бұрын
@@hitarthk Absolutely! But only if you expect relatively few children per node compared to the total alphabet size (as Hash Maps need lots of extra space to maintain the O(1) average case time complexity)
@hitarthk
@hitarthk 2 ай бұрын
@@niemasd thanks. yes that makes sense. But then I am wondering how this map version of the trie compare against ternary search trees (kzbin.info/www/bejne/mIjEiZeueq2Ul8k&ab_channel=NiemaMoshiri)
@1090persian
@1090persian 3 ай бұрын
thank you so much , but how we can count the patterns ? for example there are two AN in BANANA and two NA in BANANA too .
@niemasd
@niemasd 3 ай бұрын
@@1090persian Counting them is out of the scope of this video (we just get a binary "yes" or "no", but Pavel Pevzner and Phillip Compeau's "Bioinformatics Algorithms" KZbin videos cover the topic further, including how to get the actual count
@rc_woshimao957
@rc_woshimao957 3 ай бұрын
PROFESSOR NIEMA LE GOAT
@user-wr4yl7tx3w
@user-wr4yl7tx3w 3 ай бұрын
Can you not also design a better hash function?
@niemasd
@niemasd 3 ай бұрын
Sure! But all hashing related videos I'm showing are assuming all of your hash functions are excellent: they all uniformly distribute hash values across all possible integers. In other words, we're assuming that, if there are M columns in my Count-Min Sketch, the probability that my element maps to any given index is 1/M
@ericbolander8742
@ericbolander8742 3 ай бұрын
I never understood this until now, thank you!!!
@UwUAroze
@UwUAroze 3 ай бұрын
if you look at your points in a different order, you'll have a different looking tree. does that matter..?
@niemasd
@niemasd 3 ай бұрын
@@UwUAroze That does indeed matter; great insight! 😄 Much like how, with a BST, you typically want to optimize the insertion order in some way to make the tree well-balanced, the same logic applies for K-D Trees. There are algorithms for building well-balanced K-D Trees from a given dataset; see here: en.wikipedia.org/wiki/K-d_tree#Construction
@UwUAroze
@UwUAroze 3 ай бұрын
@@niemasd oh so it matters from a standpoint of optimising the nns search/etc, but regardless of order it would be able to do the search with the correct answer?
@alejandroorregoroldan1012
@alejandroorregoroldan1012 3 ай бұрын
Nuevo seguidor, muy buen tutorial, ni los tutoriales en mi idioma los entendi tan bien como este👋
@Abhi-pv2qf
@Abhi-pv2qf 3 ай бұрын
Thanks man
@logantodd5943
@logantodd5943 4 ай бұрын
This was fascinating, thank you.
@mitenmehta79
@mitenmehta79 4 ай бұрын
may use some concrete example like n = 1million and FP<1% and showing math will be helpful.
@soumyajitchatterjee5822
@soumyajitchatterjee5822 5 ай бұрын
Beautiful
@linnaeusbundalian9290
@linnaeusbundalian9290 5 ай бұрын
Hello. I cannot access the file (lecture slides)
@niemasd
@niemasd 5 ай бұрын
Woops, thank you for catching that! I archived a lot of my teaching-related files from past quarters, and I forgot that the lecture slides for this course were being linked in the KZbin descriptions. I am away from my computer at the moment, but I'll repost them soon, and I'll follow up in another reply to this comment when I do
@niemasd
@niemasd 5 ай бұрын
Okay, I just updated the links to all of the lecture slides in this playlist, so it should work now! Please feel free to comment again on any of them if the link seems broken. Thanks again for catching this 🙂
@linnaeusbundalian9290
@linnaeusbundalian9290 5 ай бұрын
@@niemasd thanks a lot for sharing
@mlemImlem
@mlemImlem 5 ай бұрын
very good explanation thank you for teaching this
@InsocialDev
@InsocialDev 5 ай бұрын
Abstract data type is basically the abstraction of data structure at the user-level ( high-end programming)
@niemasd
@niemasd 5 ай бұрын
@@InsocialDev Essentially! I would personally slightly adjust it and say that an Abstract Data Type is an abstraction of a container, and that we can use Data Structures to *implement* ADTs. In other words, I would start with the abstract (the ADT essentially just defines what operations *should exist*, without any details about how they work or how fast they are), and then transition to the concrete (the Data Structure then defines *how* the operations will work, and as a result, how fast they will be). But both ways of thinking are essentially equivalent 😄
@InsocialDev
@InsocialDev 5 ай бұрын
@@niemasd Thanks for the correction🥰
@niemasd
@niemasd 5 ай бұрын
@@InsocialDev Thank you for watching the video! 😄
@ilioscio
@ilioscio 6 ай бұрын
This is just what I was looking for, thanks for the information
@dmytroboiko1
@dmytroboiko1 6 ай бұрын
This is super useful, thanks!
@MadpolygonDEV
@MadpolygonDEV 7 ай бұрын
I wish it included an example in the end where you showed how we could find point within a threshold, as in find the closest points to a target etc. great video though
@onescYT
@onescYT 7 ай бұрын
Wow
@dkkogmaw1311
@dkkogmaw1311 7 ай бұрын
but this approach leading to cache misses if we use linked lists for collisions or am I wrong?
@niemasd
@niemasd 7 ай бұрын
Great insight! Yes, in practice, it is common to use an array-based structure (e.g. an Array List) as the separation chain, but it's ultimately up to the implementation
@ArshamMikaeili-xy1td
@ArshamMikaeili-xy1td 7 ай бұрын
Great talk! Special thank to Neima and Dr. Carter.
@ranasameh2086
@ranasameh2086 7 ай бұрын
thanks ❤
@channelname9468
@channelname9468 7 ай бұрын
why talk about linear probing in a video about double hashing
@48_subhambanerjee22
@48_subhambanerjee22 7 ай бұрын
LOVE FROM INDIA ❤❤
@kirakiraspm
@kirakiraspm 7 ай бұрын
very underrated video!
@warguy6474
@warguy6474 7 ай бұрын
dayum prof niema the goat even back then, time to get back to study for cse100 final 🐐🐐🐐🐐🐐
@niemasd
@niemasd 7 ай бұрын
LOL I've been super into console hacking since middle school! Been doing this a loooong time 😂 Good luck with the final!!
@sonofgod00
@sonofgod00 8 ай бұрын
But i am still trying to understand the time complexity
@sonofgod00
@sonofgod00 8 ай бұрын
Thanks for making DFS BFS simple
@SINDRASENAGOWDU
@SINDRASENAGOWDU 8 ай бұрын
i cant understand the hard example ..please explain
@Xn_Fdez
@Xn_Fdez 8 ай бұрын
Gracias por el video máquina! Muy buena explicación.
@SirajahamedDharmayath
@SirajahamedDharmayath 8 ай бұрын
What happens if the keys are in ascending order and priorities are in descending order? Won't the treap become skewed and lose the balanced property? How is this handled?
@niemasd
@niemasd 8 ай бұрын
Yes, that is the worst case scenario for a Treap (keys and priorities are both sorted), which results in O(n) time complexity just like the BST worst case. You'll how Treaps are useful (and how this worst case scenario becomes unlikely in practical uses) in the Randomized Search Tree video
@zuowang5185
@zuowang5185 8 ай бұрын
and you didn't finish the video? just left with a not optimal solution
@niemasd
@niemasd 8 ай бұрын
It continues in the next video in the playlist... kzbin.info/aero/PLM_KIlU0WoXmkV4QB1Dg8PtJaHTdWHwRS&si=ZZkCLwbNvCIhDwdF
@jy6960
@jy6960 8 ай бұрын
nice
@skiller179
@skiller179 9 ай бұрын
u the best
@TcG7o3
@TcG7o3 9 ай бұрын
in case 2 if I insert a new node to a black parent it violates the depth. will it still considered case 2 or not?
@niemasd
@niemasd 9 ай бұрын
I'm not sure I understand your question; can you clarify? New nodes are inserted as red nodes, so if the new red node has a black parent, no need to do anything: it's already valid
@nottofind
@nottofind 9 ай бұрын
What is the DOI of the original Burrows Wheeler Transformation Paper? I can't find it :/ Great explanation though!
@niemasd
@niemasd 9 ай бұрын
Great question! BWT was originally not intended for this task (it was originally intended for data compression), and the original BWT paper can be found here: www.eecs.harvard.edu/~michaelm/CS222/burrows-wheeler.pdf *To my knowledge*, this is the first paper that applies BWT to the "match a bunch of short strings to a single long string" problem in Bioinformatics: doi.org/10.1186%2Fgb-2009-10-3-r25 Also, *to my knowledge*, this is the first paper that applies BWT to genomic data: doi.org/10.1089/cmb.2005.12.943
@MathComputerScienceTradi-ge7tw
@MathComputerScienceTradi-ge7tw 10 ай бұрын
But how to implement in code
@yesyas5972
@yesyas5972 10 ай бұрын
All clear, thanks
@traindeluxe3789
@traindeluxe3789 10 ай бұрын
Great explanation. what tool do you use to draw and how do you send the output to main screen?
@niemasd
@niemasd 10 ай бұрын
Thank you! I wrote a guide about my workflow here (I use a Paint-like drawing tool, and I use OBS to capture the drawing canvas): github.com/niemasd/teaching/blob/master/Tutorials/VideosKhanAcademy.md