there is any two sentence meaning nlp or algorithm is there? or not is there means can you tell which algo or nlp ?how that work
@jsp2518 Жыл бұрын
I found this video right when i need and i have been getting back to it. Would be awesome to have more tutorials, really high quality here!
@BigPython Жыл бұрын
Glad you found the video useful! :) I'd like to create more videos this year, so please stay tuned.
@robimez2 жыл бұрын
very interesting , love how you explain things , subbed.
@RobinNeville2 жыл бұрын
Super helpful tutorial, thank you! This will be especially useful in large projects when objects want to influence one another but they don't necessarily have direct access. E.g. instead of doing snake.increase_length() (which requires access to the snake instance) we can do messages.append(IncreaseSnakeLength()) and trust that the snake instance will be listening. Awesome!
@andreaventurelli23592 жыл бұрын
You talk about the possibility of change the weight of the (add,delete,replace) how can it is achievable?
@BigPython2 жыл бұрын
In the Wagner-Fisher algorithm, when computing d[i, j] you take minimum of the neighbors d[i-1, j], d[i, j-1], d[i-1, j-1] with cost of the operation added to each. Usually all the costs (weights) are set to 1, except for the case of d[i-1, j-1] when a[i-1] == b[j-1] (which is a match, so it should not add to the distance).
@proff82942 жыл бұрын
you noob
@艺卢2 жыл бұрын
Pretty nice!! Good one you and everything is explained well and nice, thanks very much!
@nerdyturkey3123 жыл бұрын
Interesting content, just subbed 👍 any more pygame projects planned?I have my own pygame channel focused on game dev tools and puzzles ( when I have time).
@lammelmiklos37653 жыл бұрын
Very nice tutorial! I was wondering: what dev environment do you use here in the video? It seem to be some kind of Jupyter Notebook with some nice cusomization... How did you customize?
@BigPython3 жыл бұрын
Thanks! It's Jupyter Notebook with github.com/dunovank/jupyter-themes and some custom CSS styles on top using github.com/openstyles/stylus
@lammelmiklos37653 жыл бұрын
@@BigPython Thank you very much!
@lammelmiklos37653 жыл бұрын
@@BigPython I played with the styles a little bit, and figured, that you were using the grade3 style. However my understanding of the openstyles, that is has to applied to the browser itself. Is that correct? Do you mind sharing your style?
@BigPython3 жыл бұрын
@@lammelmiklos3765 Yes, it's applied at the browser level. I've added my current CSS to the git repo, feel free to have a look :) github.com/tkarabela/bigpython/blob/master/jupyter-grade3-bigpython.css
@MrWrklez3 жыл бұрын
Loved the video, I was impressed by the code but blown away by the way you duplicated these lines! Lol
@BigPython3 жыл бұрын
Thanks! Yeah, multiple cursors are pretty cool, I still remember when I first saw them used by our college prof... I was like "what just happened" :D
@thanhhuy52773 жыл бұрын
nice video , i see O(n^2), and i have 1 question ,if input text long 500 and has 1e7 item, how much is the time run?
@Naton3 жыл бұрын
can it handle exceptions?
@BigPython3 жыл бұрын
If you mean "try: ... except Exception as e: match e: ..." then I suppose it should, haven't tried it. The try/except statement already works kind of like pattern matching, I don't remember wanting more from it :)
@Martin.Eriksson3 жыл бұрын
Great video
@BigPython3 жыл бұрын
Thank you! :)
@SnekCato3 жыл бұрын
I cannot wait to be able to how to do this, i'm still a beginner but i love how you explain such cool topics.
@BigPython3 жыл бұрын
Thank you! I used to do private tutoring while I studied at university, so I guess I miss explaining this stuff :D Teaching is a good way of learning, nothing quite makes you understand a subject like having to break it down for someone else. Your videos have a nice easy-to-understand presentation and great visuals, I'd love to see your take on some more advanced topics! I'm sure you'll get there in time :)
@RyanSteele823 жыл бұрын
Thank you for this. Really good explanation!
@BigPython3 жыл бұрын
Thanks, I'm glad it was helpful :)
@slanecek3 жыл бұрын
This reminds me of "when" statement from Kotlin. Neat.
@BigPython3 жыл бұрын
Yeah, all the fancy languages seem to have something like that ^^
@vedantsharma61133 жыл бұрын
Nicely explained, Subbed :D
@PeloCN3 жыл бұрын
Hey the production quality is really nice! I love finding quality small channels. Subbed!
@jewpcabra6663 жыл бұрын
wonderful video! so so excited to have this feature in python. Its one of my absolute favorite features from programming in functional languages like haskell, elm, sml. Super powerful and useful!
@BigPython3 жыл бұрын
Yeah, it looks very nice, esp. in combination with dataclasses :)
@MaxMustermann-on2gd3 жыл бұрын
What Frontend is this? Looks like a newer version of Notebook?
@BigPython3 жыл бұрын
It's Jupyter Notebook with github.com/dunovank/jupyter-themes
@MaxMustermann-on2gd3 жыл бұрын
@@BigPython looks great. thank you, will try this out.
@mohammadsheikh75643 жыл бұрын
Came across this right when I needed it, thanks for the video. Would love to see a video on the Finite State Machines as well.
@BigPython3 жыл бұрын
Glad it was useful! I have something in the works on Levenshtein automata and Tries, that video is coming :)
@snowdick13 жыл бұрын
Could you elaborate a bit on your use of dataclasses? Why is there so many of them? Thank you.
@BigPython3 жыл бұрын
Sure! The Entities don't really need to be dataclasses, it just saves a bit of code for __init__ and printing to console. The Messages on the other hand fit dataclasses well I think (they don't have any logic, just contain data). However, there are some strange cases like SpawnFoodMessage which doesn't have any attributes (which doesn't make much sense from OOP point of view). The Message hierarchy is basically an ADT (algebraic data type) like you would have in Haskell or Rust - think enum, but each variant can have its own dataclass and not just unique label. Alternative approach would be to have just one Message class, which would have two attributes: message type (integer ID, or better - enum) and message contents (dict). I believe this is what PyGame does for its events. This makes it easier to implement, but the message structure is less clear - with the strongly typed ADT approach, it's just not possible to create some kinds of invalid messages (EntityCollisionMessage without two entities, etc.), and possible messages are quite obvious from the definitions. When you just say "Message is an ID with a dict", then you don't get these typing advantages.
@maxcurzi3 жыл бұрын
Great video structure, content, and editing. Please keep them coming :)
@BigPython3 жыл бұрын
Thank you! :)
@Formulka3 жыл бұрын
very nice explanation, thank you!
@BigPython3 жыл бұрын
Thanks!
@damzduro13 жыл бұрын
Great video, I've subscribed and look forward to more python goodness in the future.
@BigPython3 жыл бұрын
Thanks! I hope you'll find it useful :)
@MahdeenSky3 жыл бұрын
oml I really need that switch case, the number of possibilities are limitless
@piotrekgor183 жыл бұрын
Match is actually much more powerful than switch
@spooooooky3 жыл бұрын
Underrated channel!
@BigPython3 жыл бұрын
Thanks for the kind words! Well, I've started it just a few days ago, let's see where it goes :)
@joeeeee87383 жыл бұрын
Great video! Excellent examples. What are you using to run these notebooks? Looks neat
@BigPython3 жыл бұрын
It's regular Jupyter with Jupyter-themes ( github.com/dunovank/jupyter-themes ), I believe it's the "grade3" skin. It's as simple as "pip install jupyterthemes" and "!jt -t grade3". I have it in the last cell in the notebook: github.com/tkarabela/bigpython/blob/master/002--python-3-10-pattern-matching/structural-pattern-matching.ipynb
@Bryan-wl4mj3 жыл бұрын
Thank you for this amazing tutorial. This is exactly what I needed to start understanding event driven programming.
@BigPython3 жыл бұрын
Glad you found it useful :) Thanks for stopping by!