31 ESSENTIAL Python String Methods
11:20
Super Quick Python Refactoring Tips
5:13
Пікірлер
@geroigamechannel222
@geroigamechannel222 19 сағат бұрын
How to embed(build) a project, example beget
@GnanendraManne
@GnanendraManne Күн бұрын
Waste video. The GitHub does not contain app.py code
@dawidrucinski1881
@dawidrucinski1881 Күн бұрын
Better is pwinput
@JohnSmith-kd6ip
@JohnSmith-kd6ip 2 күн бұрын
I have been looking for a way to make textmode programs in Python, since I messed around with Turbo Pascal in my youth. So I installed the 'rich' library on my Win10 PC. When I type "python -m rich", the colors are less rich (looks like only 13 different colors), the text formats (bold, italic, underline etc) are not showing, just plain basic text. Also the asian characters don't show.
@aciddev_
@aciddev_ 2 күн бұрын
best for loop → for (int i = 0; i < 10; i++)
@Bximbo
@Bximbo 2 күн бұрын
"n_samples, n_features = X.shape" please what is the use of this line?
@JocelynShannon-gn9dr
@JocelynShannon-gn9dr 2 күн бұрын
Great video thanks - there needs to be an update in the code for file google-cloud-run/test/train.py on line 25 - optim = keras.optimizers.Adam(lr=0.001) --> optim = keras.optimizers.Adam(learning_rate=0.001) This is due to 'lr' being deprecated :)
@sireode
@sireode 3 күн бұрын
When I recreated this app, when I predict based on Bachelor’s degree, the salary predicts well. But when I predict based on "Post grad " select, the salary prediction is not accurate. On zero experience, i get a a higher salary than when I have one year experience. This also applicable to the other selections. Only Bachelor’s degree select predicts well. Is this as a result of the outlier?
@mehdismaeili3743
@mehdismaeili3743 4 күн бұрын
Excellent.
@Justeinturn
@Justeinturn 5 күн бұрын
🎯 Key Takeaways for quick navigation: 🤖 The video demonstrates how to create and deploy a custom chatbot on a website using Python, Flask, and JavaScript. 🛠️ Flask is used as the backend framework, while JavaScript is utilized for the frontend interaction. 📦 Two deployment options are explained: using Flask with Jinja templates internally or building a Flask REST API for separate frontend deployment. 📋 The setup involves cloning a repository, creating a virtual environment, and installing necessary dependencies like Flask, Torch, and NLTK. 🧠 The chatbot's functionality relies on a PyTorch model trained using natural language processing (NLP) techniques. 🎨 The customization of the chatbot is achieved through modifying the intents.json file, which defines different intents, example patterns, and responses. 🔧 Implementation details for the Flask app include defining routes, handling requests, and allowing cross-origin resource sharing (CORS) if deploying frontend and backend separately. 🚀 The tutorial concludes by demonstrating how to run the chatbot either integrated with Flask or as a separate frontend communicating with the Flask backend through POST requests.
@lakshaygogia
@lakshaygogia 5 күн бұрын
I have a ques, Can this project of yours also work today with the new access levels for Twitter/X Api Please respond
@recaseng
@recaseng 5 күн бұрын
Thank you ^^
@ingenuity8886
@ingenuity8886 6 күн бұрын
Thank you so much , you explained it really good.
@asaagosan8120
@asaagosan8120 6 күн бұрын
Do you know why my « loss = » does not decrease and stay close to 0.49 ?
@therohanjaiswal
@therohanjaiswal 7 күн бұрын
The lecture is awesome, but i have one question, here why the labels are not converted from shape [100] to [100 * 1]?
@AFreaks
@AFreaks 7 күн бұрын
please explain what features and labels are instead of just saying them.
@leamon9024
@leamon9024 8 күн бұрын
Does Cloud Run support GPU now?
@bcg3507
@bcg3507 8 күн бұрын
Your video Literally saved my ass ...Dankeschon
@MdAlAmin-xj1km
@MdAlAmin-xj1km 8 күн бұрын
I use wordpress custom html block to add calculator any other thing that I built using html, css and js code. Now can we use pyton code also in wordpress?
@amrgaber4662
@amrgaber4662 9 күн бұрын
thanks
@alexandruteodor3585
@alexandruteodor3585 10 күн бұрын
My favorite one-liner is getting the most frequent element from a list :D. my_list = [1, 2, 3, 1, 1, 2, 3, 1, 1] print(sorted({x: my_list .count(x) for x in my_list }.items(), key = lambda x: x[1])[-1][0]) But I think the translate() and maketrans() methods are dope. I saw this on a Clash of code and my jaw dropped, I instantly became a fan of these methods: r = input() print(r.translate(str.maketrans('OiEhS9L6','01345679')))
@DakshSingh-vl7bq
@DakshSingh-vl7bq 10 күн бұрын
I have a doubt, I'm not getting the 2:53 part of the video, I don't know howto get that terminal😅
@suprith777
@suprith777 10 күн бұрын
Thank you very much❤❤
@user-bo1uw6vy3l
@user-bo1uw6vy3l 10 күн бұрын
This is the best python tutorial i think. Thanks for giving free advance tutorial.
@CupapiTG
@CupapiTG 11 күн бұрын
Nice! I didn't think of some of these, good tips.
@blogactivities5462
@blogactivities5462 12 күн бұрын
thank you Patrick
@Shaan11s
@Shaan11s 13 күн бұрын
Why not lemmatize vs. stem?
@riadhossainbhuiyan4978
@riadhossainbhuiyan4978 13 күн бұрын
Great teaching ❤
@kevinliao9938
@kevinliao9938 13 күн бұрын
This is really helpful. Thank you!
@Muhammad_Abdullah_Sultan
@Muhammad_Abdullah_Sultan 15 күн бұрын
Amazing
@maharshipathak
@maharshipathak 15 күн бұрын
For python 3.11+, pytorch 2.3+ change the dataiter.next() to next(dataiter)
@sinaorojlo5980
@sinaorojlo5980 15 күн бұрын
Nice 🎉
@gurudarshan1
@gurudarshan1 15 күн бұрын
Hello Patrick, extending my heartfelt gratitude for this tensor flow series.
@helloansuman
@helloansuman 16 күн бұрын
can you able to add a pretrained object detection code?
@mani_a_g
@mani_a_g 16 күн бұрын
but from where to get the script u used?
@yooflo
@yooflo 17 күн бұрын
great video, thank you for this. I was wondering how I can delay the responses of the chatbot by a few seconds to seem more natural
@hlubradio2318
@hlubradio2318 17 күн бұрын
Do a code completion one
@magicmedia7950
@magicmedia7950 17 күн бұрын
I have watched many tutorials on you tube but this is the best for a course that is hard to learn. You make it so easy to understand. Even a five year old can graspe the concept!
@josuemonteiro6017
@josuemonteiro6017 17 күн бұрын
man... idk if i did it right.. but seems like the first improvment dont works with a lot of data... look: @clock def test_1(): for i in range(len(dados)): if i % 2 == 0: dados[i] = 0 @clock def test_1_improved(): for index, i in enumerate(dados): if i % 2 == 0: dados[index] = 0 test_1() test_1_improved() where data is a list of all the number from 1 to 10000. look the output: test_1 executou em 0.00046789998305030167 segundos test_1_improved executou em 0.000614999997196719 segundos test_1_improved did in more time!! what shold i do? thats right?
@shreyansu805
@shreyansu805 17 күн бұрын
thanks for this great tutorial! How do I integrate this bot to a already built website?
@Omena0
@Omena0 17 күн бұрын
You totally forgot the ollama python library!!!!
@AmodeusR
@AmodeusR 18 күн бұрын
For some reason even with the -v flag it didn't update the container, and it doesn't update even if I delete an recreate the container. Also, when I open VSCode in the running container, there's no folder opened, nor any actual python file. Any idea why?
@AmodeusR
@AmodeusR 18 күн бұрын
Very interesting video. Although it lacks some clarifications on the docker commands, this gap could be filled by ChatGPT helping me out understand what they were exactly. Thanks for the video
@fadoobaba
@fadoobaba 18 күн бұрын
many thanks!
@saharshsaxena
@saharshsaxena 18 күн бұрын
great video!
@user-wg8rh7oh4b
@user-wg8rh7oh4b 19 күн бұрын
Would be great if you could just import torch first 👀
@AlexSharesTheView
@AlexSharesTheView 19 күн бұрын
How do I install Playsound? I get an error I can't resolve
@Yarkanlaki
@Yarkanlaki 20 күн бұрын
Flast 2m , FastAPI 5m. and Django 10m
@ashanbandaranayeke9344
@ashanbandaranayeke9344 20 күн бұрын
Thanks Patrick! Was a lovely tutorial and guessing the frame can be used to design other linear regression apps easily (and other models with a little bit of work).
@Biisal-ai
@Biisal-ai 21 күн бұрын
Thank you sir for this tutorial