I’m beginner 5:39 in this moment it’s look like Class ,I showed you first time my English very bad but i can understand you very good thank you, for your English very easy 🙃
I watched the first half of the video and I'm like, oh so lambdas are super dumb, and then I watched the second half and I'm like, woah this looks awesome ...idk why i felt the need to comment that
Hi sir, I learned some pygame techniques with your previous videos. Now, I am currently doing research about Machine Learning and AI stuffs. I would like to ask if you would have interest in making voice model from a pack of sound files? For example, I prepare 1000 lores of voice files and put it into the model and result out a voice model that can do the text to audio work.
Hi! That is interesting but I don’t do much with AI or machine learning today! I know the tensor flow and PyTorch modules are very useful for that content but there are other creators in TH-cam doing a lot of AI work!
I love how you explain, you're amazin! Congratulations!
Thank you very much and thanks for watching!
Embedding lambda inside a function was sneaky!
yeah but sooooo smooth :D
isn't that just an higher order function?
I’m beginner 5:39 in this moment it’s look like Class ,I showed you first time my English very bad but i can understand you very good thank you, for your English very easy 🙃
class Power:
def __init__(self, n):
self.n = n
def calculate(self, a):
return a ** self.n
squared = Power(2)
cubed = Power(3)
quadded = Power(4)
print(squared.calculate(5)) # 25
print(cubed.calculate(5)) # 125
print(quadded.calculate(5)) # 625
Thank you for watching!!
Anonymous functions with a fancy name😎
I see - the lambdas can hold a state, like a function object.
Haha exactly! Yeah they're very interesting tools and I honestly don't use them as often as I probably should but good to know about 😎
I watched the first half of the video and I'm like, oh so lambdas are super dumb, and then I watched the second half and I'm like, woah this looks awesome
...idk why i felt the need to comment that
Haha well thank you for the comment I have had both those thoughts myself as well lol
Hi sir, I learned some pygame techniques with your previous videos. Now, I am currently doing research about Machine Learning and AI stuffs. I would like to ask if you would have interest in making voice model from a pack of sound files? For example, I prepare 1000 lores of voice files and put it into the model and result out a voice model that can do the text to audio work.
Hi! That is interesting but I don’t do much with AI or machine learning today! I know the tensor flow and PyTorch modules are very useful for that content but there are other creators in TH-cam doing a lot of AI work!
Complex but still useful I guess. Well now I am sort of familiar with it
Its a great thing to get introduced to even if you don't need to use it a ton!