I tried to build a Python Machine Learning Streamlit App in 7 Minutes | Coding Challenge

  Рет қаралды 60,374

Nicholas Renotte

Nicholas Renotte

Күн бұрын

What's happening guys, welcome to the fifth episode of CodeThat!
In this ep I try to build a machine learning app to for deploying scikit-learn models using the titanic dataset using nothing but Python. In this case we used a XGBoost model, Streamlit, Pandas and Numpy!
Get the Code: github.com/nic...
Oh, and don't forget to connect with me!
LinkedIn: bit.ly/324Epgo
Facebook: bit.ly/3mB1sZD
GitHub: bit.ly/3mDJllD
Patreon: bit.ly/2OCn3UW
Join the Discussion on Discord: bit.ly/3dQiZsV
Happy coding!
Nick
P.s. Let me know how you go and drop a comment if you need a hand!
#machinelearning #codingchallenge #tkintertutorial #python

Пікірлер: 99
@93hothead
@93hothead 2 жыл бұрын
I have to say you are the best machine learning KZbin channel. Other channels always assume the viewer is already at an advanced level.
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Thanks @93hothead, trying it make it a little more accessible!!
@zkiyyeller3525
@zkiyyeller3525 Жыл бұрын
YOU ARE AWESOME. Love how light-hearted you are about not making it on time. Inspiring non the less.
@BeastyPete98
@BeastyPete98 2 жыл бұрын
You have been a life changer, your channel is so much more practical than what cs programs teach
@sahilverma9330
@sahilverma9330 2 жыл бұрын
Man you content is hella addictive. The videos are always jam-packed with useful info which is presented in such a slick way. Nick, i just got one doubt, i am super noob in ml ai deep learning. i am not sure where to start or what to do. can you just tell us or make a video regarding the step bystep process of how you got to know soooo much about this field and how to attain the same level of knowledge as you do. like what to study to reach this point
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
You got it!
@malikahmed5281
@malikahmed5281 2 жыл бұрын
His way of representation is soo good that why we are here at first second...
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Thanks a million @Malik, glad to have you here!!
@malikahmed5281
@malikahmed5281 2 жыл бұрын
I'm also making a final year project from your idea of Toxic comment...love that.
@fustigate8933
@fustigate8933 2 жыл бұрын
Nick you're almost at 100k subs!!! Way to go!!!
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
We’re closing in!!! Thanks for being here @Fustigate!!
@sadra2637
@sadra2637 2 жыл бұрын
Just as always, amazing and very nice to watch 👌. Keep it up Nick.😃
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Glad you enjoyed it @Sadra!
@kaushalpowar1531
@kaushalpowar1531 Жыл бұрын
It's a great tutorial, learned a lot. I think you accidentally pasted cabin at the place of embarked variable at 10:10.
@handle_gc
@handle_gc 2 жыл бұрын
Streamlit is great. I have built UI for Satellite image processing app in very few lines.
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
It's great right?!
@handle_gc
@handle_gc 2 жыл бұрын
@@NicholasRenotte Thanks for the ❤️ In case you wanna dig deeper, go for: "Getting Started with Streamlit for Data Science" by Tyler Richards.
@alx8439
@alx8439 Жыл бұрын
Mate, you really need to master multicursor editing mode. It will boost your productivity in tasks like this
@shubhamprasad6910
@shubhamprasad6910 4 ай бұрын
It was a great tutorial on how to make a streamlit application. I was looking for how the xgboost pipeline was made.
@luis96xd
@luis96xd 2 жыл бұрын
Amazing video! Great challenge, now I learned how to use streamlit 😁😁 Thanks
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
YESS, awesome work!!
@hope-kz6tb
@hope-kz6tb 2 жыл бұрын
I watch your video where you use anvil with ml please can you make more videos on that topic ?
@einsteinsboi
@einsteinsboi 2 жыл бұрын
Another fab tutorial but whyyyyy did you limit yourself to 7 minutes this time LOL? Glutton for punishment ay? The vid edits are hysterical btw... love it! Thanks for sharing your mad skillz with us... also now my inner kiwi has been switched back to down under lingo, will be using using doco and stacko in regular convos... chur mate!! :)
@luis96xd
@luis96xd 2 жыл бұрын
Yeah, that's true!!! Why 7 minutes 🤯
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
I can't help myself Mary 😂, stoked you're enjoying them!!
@alisaqib5715
@alisaqib5715 2 жыл бұрын
Tbh ... I don't like time constraints... Just want to learn more no matter how much time will it take ...
@bartoszhojnacki2233
@bartoszhojnacki2233 2 жыл бұрын
Again awesome stuff! Also really nice intro to streamlit. Is it possible that one of the next episodes will be NLP related?
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Possibly!!
@polinalee9128
@polinalee9128 Жыл бұрын
I noticed that the .fit function inside the utils.py file on line 8 - self.ageImputer.fit(X[['Age']]) - only has a single input, and X. In the tutorials I've seen that usually the line is formatted as 'model.fit(x_train, y_train)'. Why is it different in this case?
@najiibrashiidabdi5014
@najiibrashiidabdi5014 2 жыл бұрын
Thank you nicholas and i will hope to reach 100k in the future
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
thanks a mil @Najiib!!
@cedricvillani8502
@cedricvillani8502 2 жыл бұрын
There’s a 9 year old video on KZbin about a program called ‘Wizard’ and if you are looking for real unfiltered predictions and querying of a db or whatever, with just Drag and Drop.. then check it out
@ChannelBlogTechIndonesia
@ChannelBlogTechIndonesia Жыл бұрын
Thank you bro, very inspiring... keep up the enthusiasm for your work...
@infarctus05
@infarctus05 Жыл бұрын
I liked a lot. It’s going to help me through my project in school about world cup predictions😅
@JohnMitchellCalif
@JohnMitchellCalif Жыл бұрын
that was super fun! Subscribed
@wasgeht2409
@wasgeht2409 2 жыл бұрын
Bro pls tell me that, whyyy are u soooo good ? hahaha
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
LOL, thanks for checking it out 😂😂
@CyberVagabonds
@CyberVagabonds 9 ай бұрын
Great!! With an Selectkbests maybe you finish before, with 4 or 5 columns only
@chanin-at-streamlit
@chanin-at-streamlit 2 жыл бұрын
That was a super fun challenge!
@symsth16
@symsth16 5 ай бұрын
Nice! Thanks a lot bro!
@hope-kz6tb
@hope-kz6tb 2 жыл бұрын
Specialy stable diffusion with anvil
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Like an image generator app?
@hope-kz6tb
@hope-kz6tb 2 жыл бұрын
Yes yes
@hope-kz6tb
@hope-kz6tb 2 жыл бұрын
Deploy own stable diffusion on hugging face spaces and use it as backend and then use anvil as frunt end and please also tell how we can put adsense ads code in anvil website
@hope-kz6tb
@hope-kz6tb 2 жыл бұрын
I know its look like i am asking you about creating a complete project but i like your teaching method so it will be helpful for me if you make some videos on this
@tsibulsky4900
@tsibulsky4900 8 ай бұрын
Thank you for the video 👍. You put cabin twice instead of embarkation .
@gustavojuantorena
@gustavojuantorena 2 жыл бұрын
Almost 100k 🚀🚀🚀🚀🚀🚀
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
YEAHHHH, we're getting there!!
@ahmedgailanqasem5652
@ahmedgailanqasem5652 10 ай бұрын
Amazing. Thank you
@gozdemdndr
@gozdemdndr Жыл бұрын
Thank you that was really helpful!
@CognitiveDissonance1
@CognitiveDissonance1 2 жыл бұрын
thank you for the content
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Anytime @Kong, glad you enjoyed it!
@hugaexpl0it
@hugaexpl0it Жыл бұрын
10:14 Bro, you pasted "cabin" on top of "embarked", and it was giving me anxiety for the rest of video. Haha
@chinmaybapat3273
@chinmaybapat3273 2 жыл бұрын
Hey, when u pass the preds to the model, u actually typed cabin twice😂
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Oh crap I did, I have no idea how that didn’t throw errors. Good pickup.
@etterathe
@etterathe 2 жыл бұрын
Hey Nick, I am a beginner in DS and while watching your videos I've got few questions. What a good EDA consists of? (When I thought about that I made a list: missing values, duplicates, outliers, data types, ranges, distributions, is there something else?) As a senior data scientist do you often help juniors at IBM? Which cases are the most problematic for junior data scientists?
@etterathe
@etterathe 2 жыл бұрын
And following questions to those above: is there any sense in doing huge EDA? Maybe we should use pandas profiller and in few lines of code we have everything we need?
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Heya @etterath, that's a great start and what I usually start with. Could add correlation (and others measures of association) and data viz as well!
@theswissdevelopers4107
@theswissdevelopers4107 Жыл бұрын
Hey Nicholas, Great video but I cannot run the script. Can you tell me the versions you used for: scikit-learn, streamlit, xgboost? Thank you!
@MusabShaikh-xq6mv
@MusabShaikh-xq6mv Жыл бұрын
Hey Nicolas i have one doubt. How can we deploy a trained GAN model on backend and feed it text input. I tried searching on web but there is no documentation or blog about this
@danishsohail6948
@danishsohail6948 Жыл бұрын
Exactly which utils library is it? bcz its giving me error cannot import PrepProcessor and columns from utils even though i pip install utils
@gplgomes
@gplgomes 2 жыл бұрын
One question: Don't the streamlit run over Jupyter Notebook? I converted the app.py to app.ipynb, but it seems that it don't work.
@balavikashkandukuri6139
@balavikashkandukuri6139 2 жыл бұрын
I tried but it didn't worked. So I used Pycharm ide . And working fine
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Haven't used it inside of Jupyter before, didn't see a clear answer here: discuss.streamlit.io/t/working-with-jupyter-notebooks/368/5
@balavikashkandukuri6139
@balavikashkandukuri6139 2 жыл бұрын
@@NicholasRenotte for IBM Watson stt. While using continuous as a parameter. Getting type error. Please help me 😭😭😭😭
@motohomemadness
@motohomemadness Жыл бұрын
Hey Nick, thank you so much for sharing this stuff. In the Jupiter NB for this on training the model, after mlfit, you reference model but it doesn't exists yet. What am I missing?
@rajharshit4365
@rajharshit4365 Жыл бұрын
yeah same with me! u got any updates?
@ezrachua1317
@ezrachua1317 Жыл бұрын
doesnt work
@張舜博-r8f
@張舜博-r8f 5 ай бұрын
Does it able to adjust the font size of the output?
@koji4059
@koji4059 2 жыл бұрын
Would love more tutorial videos
@rozaomar2446
@rozaomar2446 Жыл бұрын
what if we have challenges with terminal 😭
@shreyasnair994
@shreyasnair994 2 жыл бұрын
Hey Nicholas can you please post a video about using aws recognition for real time object detection and triggering a raspberry pi when certain objects are detected using aws lambda, I really would like to know if its even possible and if yes how it can be done.
@priscarogi2183
@priscarogi2183 3 ай бұрын
Hi there, I am looking for a Streamlit tutor to help me with my project. I am a biginner and my project is simple, but I have never used strealint before and need a tutor asap . Do you think you could help?
@venkatesh2788
@venkatesh2788 2 жыл бұрын
Please build real time video recommendations project and connect with backend (nodejs)
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
You got it!!
@gplgomes
@gplgomes 2 жыл бұрын
Another great job. :-) But the link for the source code isn' t working.
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
My bad, repo was set to private. Try now!
@gplgomes
@gplgomes 2 жыл бұрын
@@NicholasRenotte OK. Thank you.
@shanno88
@shanno88 2 жыл бұрын
404 popup when opening Git repo?
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
My bad, repo was private. Give it a crack now @Shanno
@syukrikoko5975
@syukrikoko5975 Жыл бұрын
Nice bro..👍👍
@lohitkattimani7668
@lohitkattimani7668 6 ай бұрын
I want to know how many retakes you took 😂😂
@nkorochinaechetam2516
@nkorochinaechetam2516 2 жыл бұрын
First to watch, comment and enjoy this beautiful content
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Heyyy, thanks so much @Nkoro!!
@rapunzelle714
@rapunzelle714 2 жыл бұрын
Oh, time limit is going down? Looking forward to "Code that" in 5, 3 and 1 minute 😅
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
LOL > "And today I'm going to do Object Detection in 30 seconds"
@nikitaandriievskyi3448
@nikitaandriievskyi3448 2 жыл бұрын
@@NicholasRenotte lmao, and you also should build and train the OD model from scratch in 30 sec too lol
@rapunzelle714
@rapunzelle714 2 жыл бұрын
Okay - but now it sounds like you kinda did already have a shorts planned for that 🤣
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
@@nikitaandriievskyi3448 LOL
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
@@rapunzelle714 👀👀
@mohammedzain9876
@mohammedzain9876 2 жыл бұрын
how to deploy a tflite model on streamlit
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Let me add this to the challenge list!!
@fairyroot1653
@fairyroot1653 2 жыл бұрын
#code_that_suggestion Generate working Akamai sensor data cookie using trained model of an AI
@piyushguptaaa
@piyushguptaaa 2 жыл бұрын
Please build real time detection model and connect it to flutter Ps. Can i get you mail so that we can connect?
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Yo!! Best place to connect is here!!
@IvanSedov-i7f
@IvanSedov-i7f Жыл бұрын
Спасибо, это было очень интересно
@History-AI-version
@History-AI-version Ай бұрын
please change that not intelligent thumbnail. please stop showing that weird surprise look.
@fizipcfx
@fizipcfx 2 жыл бұрын
im gonna open 5k fake account just to get you to 100k subs. I love your content.
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
🙏🙏🙏 my guy, I'm happy to have you here man!!
Build a Python Website in 15 Minutes With Streamlit
18:37
Tech With Tim
Рет қаралды 62 М.
Spongebob ate Patrick 😱 #meme #spongebob #gmod
00:15
Mr. LoLo
Рет қаралды 13 МЛН
Bike Vs Tricycle Fast Challenge
00:43
Russo
Рет қаралды 91 МЛН
Minecraft Creeper Family is back! #minecraft #funny #memes
00:26
💩Поу и Поулина ☠️МОЧАТ 😖Хмурых Тварей?!
00:34
Ной Анимация
Рет қаралды 1,8 МЛН
Streamlit: The Fastest Way To Build Python Apps?
11:57
pixegami
Рет қаралды 113 М.
Run ALL Your AI Locally in Minutes (LLMs, RAG, and more)
20:19
Cole Medin
Рет қаралды 77 М.
ML Was Hard Until I Learned These 5 Secrets!
13:11
Boris Meinardus
Рет қаралды 304 М.
Streamlit Elements You Should Know About in 2023
14:31
Mısra Turp
Рет қаралды 100 М.
Crafting a Dashboard App in Python using Streamlit
36:47
Streamlit
Рет қаралды 57 М.
Building a Machine Learning API in 15 Minutes | Coding Challenge
20:04
Nicholas Renotte
Рет қаралды 129 М.
Streamlit Crash Course: From Zero to Data App
24:40
Streamlit
Рет қаралды 8 М.
Spongebob ate Patrick 😱 #meme #spongebob #gmod
00:15
Mr. LoLo
Рет қаралды 13 МЛН