No video

Build A Beautiful Machine Learning Web App With Streamlit And Scikit-learn | Python Tutorial

  Рет қаралды 157,072

Patrick Loeber

Patrick Loeber

Күн бұрын

Пікірлер: 193
@carljohnsrude6527
@carljohnsrude6527 4 жыл бұрын
This is absolutely incredible. As someone studying data science, I know nothing about web apps. However, this tutorial and streamlit in general make deploying data web apps look super easy! I would love more videos on streamlit
@patloeber
@patloeber 4 жыл бұрын
Glad you like it :)
@kccchiu
@kccchiu 3 жыл бұрын
Best streamlit tutorial I have come across so far. Concise yet informative. This is a very good tool to show (and tune) my models with other colleagues.
@patloeber
@patloeber 3 жыл бұрын
Glad it helped!
@sammagagula3221
@sammagagula3221 3 жыл бұрын
Thanks, you just made my day...I've been struggling with this for some time...Keep-up the good work
@patloeber
@patloeber 3 жыл бұрын
Glad it was helpful :)
@murtazajabalpurwala8124
@murtazajabalpurwala8124 3 жыл бұрын
after watching 10 videos and didnt understand them, your video chopped streamlit to me so easily. Very very nice video
@patloeber
@patloeber 3 жыл бұрын
glad to hear this!
@hungnd589
@hungnd589 2 ай бұрын
Great tool and beautiful intstructor. Thank you so much Mr.Patrick Loeber
@saitaro
@saitaro Жыл бұрын
What a great tutorial! Patrick is the best, as always.
@user-or7ji5hv8y
@user-or7ji5hv8y 4 жыл бұрын
Excellent video! Be great if we can also see an example of streamlit deployed on Google Cloud, may be with Docker.
@patloeber
@patloeber 4 жыл бұрын
I will consider this :) thanks for the suggestion
@brijpatel237
@brijpatel237 4 жыл бұрын
@@patloeber +1, i was thinking the same
@Anu_was_here
@Anu_was_here 3 жыл бұрын
@@patloeber 😍 did we got one?
@divyakarade4378
@divyakarade4378 3 жыл бұрын
I have seen this video many times as a beginner. Very well explained with beautiful work. Thanks.
@patloeber
@patloeber 3 жыл бұрын
Glad it was helpful!
@mayanktripathi4u
@mayanktripathi4u 4 жыл бұрын
Really a good video... I was struggling with Django and Flask to have the ML models into Web.. with this streamlit life will be easier. Thanks a lot :)
@patloeber
@patloeber 4 жыл бұрын
Thanks! Glad you like it
@Robay146
@Robay146 2 жыл бұрын
Thank you so much for this tutorial! Well explained! 👍🏾
@patloeber
@patloeber 2 жыл бұрын
Glad it was helpful!
@Guillermo140273
@Guillermo140273 2 жыл бұрын
It is amazing. I am looking for this tools to show the result of our models. you are rock.
@julianschmidt6669
@julianschmidt6669 3 жыл бұрын
this was actually fun and easy to follow
@patloeber
@patloeber 3 жыл бұрын
Glad to hear that!
@julianschmidt6669
@julianschmidt6669 3 жыл бұрын
I actually started working as a student intern at an institute in Berlin. Now I do use streamlit to present results of some data analysis to other colleagues from my team. And it made a good impression so thanks for that 👍👍
@ibanguniverse811
@ibanguniverse811 2 жыл бұрын
I am lucky finding this Amazing channel, Big thanks !
@vikdfr
@vikdfr 4 жыл бұрын
you produce the most useful and practical data science videos on youtube! Thank you!
@patloeber
@patloeber 4 жыл бұрын
Thank you! I'm glad it is helpful :)
@kulamanisahoo4785
@kulamanisahoo4785 3 жыл бұрын
Dude Grand Salute to you.This is THE BEST which i have seen in KZfaq in terms of teaching.Didnt skip the ads Bro.You are just aweosme,..Could you please start a series for Deep learning as well.
@patloeber
@patloeber 3 жыл бұрын
thanks a lot :)
@clueple
@clueple 4 жыл бұрын
Great... looking for an easy interface to do analysis and prediction ...and saw this ... Big thanks
@patloeber
@patloeber 4 жыл бұрын
you're welcome :)
@siddharthsharma5065
@siddharthsharma5065 4 жыл бұрын
Thank you biddy for this beautiful project tutorial, loved it and loved your channel
@patloeber
@patloeber 4 жыл бұрын
Thank you :)
@AladdinPersson
@AladdinPersson 4 жыл бұрын
This was a great video, been following you for a while and the work you do is great man 👊
@patloeber
@patloeber 4 жыл бұрын
Thanks :) glad you like it !
@irfansyamsuddin994
@irfansyamsuddin994 2 жыл бұрын
this is really helpful mate ... thanks a lot
@arzwanaris7229
@arzwanaris7229 4 жыл бұрын
Nice tutorial man. I have subscribed to your channel. Well done.
@patloeber
@patloeber 4 жыл бұрын
Thank you 😊
@kasibantegeoffrey1054
@kasibantegeoffrey1054 4 жыл бұрын
I felt in love with streamlit. Have subscribed to your channel.
@patloeber
@patloeber 4 жыл бұрын
Thank you !
@sanketgadge9060
@sanketgadge9060 4 жыл бұрын
me too
@themachineball
@themachineball 3 жыл бұрын
My first youtube comment! I just want to say "Awesome!"
@patloeber
@patloeber 3 жыл бұрын
Thank you so much!
@sitrakaforler8696
@sitrakaforler8696 Жыл бұрын
Great content !!! Thank you for uploading it !
@BillAugersdca
@BillAugersdca 4 жыл бұрын
Nicely done, sir. You are really helping me build my Streamlit chops!
@patloeber
@patloeber 4 жыл бұрын
Thank you 😊
@randhirsingh5896
@randhirsingh5896 4 жыл бұрын
Awesome, this is precisely I was looking for. Many many thanks dear
@patloeber
@patloeber 4 жыл бұрын
Glad it is helpful :)
@MaximumZebra
@MaximumZebra 3 жыл бұрын
Great content as always! I have two questions: 1. Where are the data sets coming from? 2. How are you getting the models to train so quickly?? It's awesome, but when I run the models it takes time. I am curious how this is happening so quickly!
@patloeber
@patloeber 3 жыл бұрын
1. the datasets in this video are built-in in scikit-learn, but you can also find all of them here: archive.ics.uci.edu/ml/datasets.php 2. I edit the videos and cut out or speed up the training part ;)
@Zekulz
@Zekulz 2 жыл бұрын
Amazing Video I wish I explored your channel earlier, Legit you do amazing work.
@patloeber
@patloeber 2 жыл бұрын
glad you found it :)
@ravindrav1895
@ravindrav1895 2 жыл бұрын
Awesome video sir, I learnt a lot through your video , thank you for your guidance, make like this contents more so that you a help lot of people like me.
@flintskeen1828
@flintskeen1828 4 жыл бұрын
Thank a ton for this. I am really loving your channel.
@patloeber
@patloeber 4 жыл бұрын
Thanks a lot :)
@muhammadrafiansyah4005
@muhammadrafiansyah4005 3 жыл бұрын
wow, thank you, sir. It just what I'm looking for!! keep it up I need more like this
@patloeber
@patloeber 3 жыл бұрын
Glad you like it!
@TeaandTech.
@TeaandTech. 3 жыл бұрын
Great Tutorial man. Thanks for the content!!
@patloeber
@patloeber 3 жыл бұрын
glad you like it!
@fuffsec
@fuffsec 4 жыл бұрын
keep doing sir. i see a great teacher coming up. you are my fav.
@patloeber
@patloeber 4 жыл бұрын
Thank you for the feedback :)
@flamboyantperson5936
@flamboyantperson5936 4 жыл бұрын
You are great man I always miss your tutorial
@patloeber
@patloeber 4 жыл бұрын
thank you :)
@luckgutierrez6655
@luckgutierrez6655 3 жыл бұрын
Excellent excersice my friend, thanks so much.
@patloeber
@patloeber 3 жыл бұрын
Glad you liked it!
@ahmedhelal920
@ahmedhelal920 2 жыл бұрын
very nice , i really enjoy it .. Thanks for sharing ..
@bedeamadi9317
@bedeamadi9317 4 жыл бұрын
i love the contents you put up on your channel.
@patloeber
@patloeber 4 жыл бұрын
thanks!
@ravapurnomo9430
@ravapurnomo9430 2 жыл бұрын
something is missing, you forgot to explain to build a conda environment first the rest of the video is an amazing tutorial! I have subscribed you
@Mayo020
@Mayo020 3 жыл бұрын
Thanks man
@nitishsonkar8947
@nitishsonkar8947 2 жыл бұрын
thank you
@maxameddeeq2081
@maxameddeeq2081 Жыл бұрын
Great tutorial sir, and if I may ask how do we load a dataset from our computer?
@roshankumargupta46
@roshankumargupta46 4 жыл бұрын
Thanks for another great tutorial!
@patloeber
@patloeber 4 жыл бұрын
thanks for watching :)
@thomascastri
@thomascastri 3 жыл бұрын
Really really great thanks very much !!!
@patloeber
@patloeber 3 жыл бұрын
glad you like it!
@aruns5705
@aruns5705 3 жыл бұрын
You are a star...this was too good... :)
@patloeber
@patloeber 3 жыл бұрын
Thanks :)
@tejamarneni
@tejamarneni 4 жыл бұрын
Thank you for the awesome video
@DhruvGandhiBEE
@DhruvGandhiBEE 3 жыл бұрын
Great video , it helped a lot!!!! thnx
@patloeber
@patloeber 3 жыл бұрын
Glad you like it :)
@mikiallen7733
@mikiallen7733 Жыл бұрын
Great tutorial, however in which step shall I add a streaming source datasets instead of the static one which you have presented here ? Best
@zappa8155
@zappa8155 2 жыл бұрын
Very helpful
@patloeber
@patloeber 2 жыл бұрын
Glad it helped
@declanonyinye9421
@declanonyinye9421 3 жыл бұрын
Nice video ... you just save a soul
@patloeber
@patloeber 3 жыл бұрын
Glad to hear that
@declanonyinye9421
@declanonyinye9421 3 жыл бұрын
@@patloeber i want to build a web application for fraud detection.. can you assist me?
@thopbgm38
@thopbgm38 Жыл бұрын
sir,you didn't do the preprocessing step is it really necessary to do preprocessing for built in datasets
@kammelna
@kammelna 2 жыл бұрын
Thank you very much for your valuable efforts, it really helped me a lot. Wanna take this advantage to ask if there is any thing we can do to earn money from acquiring ml and dl skills like freelancing? What possible sort of work can we expect? Thanks again!
@abdjanshvamdjsj
@abdjanshvamdjsj 4 жыл бұрын
Very cool man. Thanks :)
@patloeber
@patloeber 4 жыл бұрын
Glad you like it!
@architchaudhary1791
@architchaudhary1791 4 жыл бұрын
Today you got a new subscriber
@patloeber
@patloeber 4 жыл бұрын
Thank you :)
@manishsharma2211
@manishsharma2211 4 жыл бұрын
Awesome. Subbed
@patloeber
@patloeber 4 жыл бұрын
Thanks!
@johnobiebi2075
@johnobiebi2075 3 жыл бұрын
I followed this exact code and it gave me this error rs\User\PycharmProjects\pythonProject13\sogum.py", line 72, in acc = accuracy_score(y_test, y_pred) NameError: name 'y_test' is not defined
@sanketgadge9060
@sanketgadge9060 4 жыл бұрын
Awesome! Good stuff
@patloeber
@patloeber 4 жыл бұрын
Thanks :)
@gauravvan
@gauravvan 2 жыл бұрын
You teach great, no one can teach better than you, but that voice of yours, I was getting bored and feeling sleep due to your voice, they say if there are 40 students and 1 teacher in a class, a good teacher's voice will be louder and more energetic than all those 40 combined.
@mp6557
@mp6557 3 жыл бұрын
Thanks alotttt!!!
@terraflops
@terraflops 3 жыл бұрын
1. I have Streamlit working on my laptop (Macbook OS v10.x) and but not my desktop (iMac v11.x) (unknown reasons, no solutions found that work for me) 2. This was a great video and glad you made it, thank you Patrick!
@patloeber
@patloeber 3 жыл бұрын
hm this is weird. I have a mac v10.x too. Will test this soon with v11
@umerusman7720
@umerusman7720 4 жыл бұрын
i wish i had words to thank you .....
@patloeber
@patloeber 4 жыл бұрын
Glad you like it :)
@freedomranch7617
@freedomranch7617 Жыл бұрын
Great vedio but How to import our ml project and if we want our ouput in image form can we do it by importing an image please reply ASAP
@carl9739
@carl9739 Жыл бұрын
GOod content
@wildLeaner
@wildLeaner 4 жыл бұрын
Thank you man, for this beautiful project and explain it, here is plus one subrscibre, wich to watch all your beautiful videos
@patloeber
@patloeber 4 жыл бұрын
thanks :)
@franciscomiranda3239
@franciscomiranda3239 2 жыл бұрын
If posible to make a complete desktop Application with python streamlit like c++???
@codingpathshala559
@codingpathshala559 Жыл бұрын
How to add external dataset, which is not present in SkLearn?
@pavansatyakrishnav3700
@pavansatyakrishnav3700 2 жыл бұрын
I’m getting a TypeError: get_classifier() missing 1 required positional argument: ‘params’
@harshvardhanshringi933
@harshvardhanshringi933 3 жыл бұрын
amazing ....
@patloeber
@patloeber 3 жыл бұрын
thanks :)
@username42
@username42 4 жыл бұрын
how can i add my own data to page and use it for analysis in this streamlit?
@khalilk3189
@khalilk3189 3 жыл бұрын
great tutorial
@patloeber
@patloeber 3 жыл бұрын
Thanks!
@keving98
@keving98 4 жыл бұрын
Good work! Can you share how to save the web app file and post it to a url or a website?
@patloeber
@patloeber 4 жыл бұрын
thanks! I will look into that
@sotirigeorgiou3205
@sotirigeorgiou3205 4 жыл бұрын
Brilliant!
@easylearning29
@easylearning29 2 жыл бұрын
I have. Question I want to deploy my classification model using radio buttons using streamlit . But it is givivg an error : string cannot convert to numeric My excel file is in 0 and 1 form . And I want when I fill yes radiobutton. it take it as (1) and else (0) Please give some suggestions..
@arnokyro5352
@arnokyro5352 Жыл бұрын
awesome
@MMSakho
@MMSakho 2 жыл бұрын
Excellen video!. But can you make auto ML which can recieve random dataset (unlimit) & the apps has a fiture to select desired column for training and modeling in it?
@wildLeaner
@wildLeaner 4 жыл бұрын
Please can i do this with adding a new machin library like pyStacknet ? it's like Stacking in sklearn ensembl
@patloeber
@patloeber 4 жыл бұрын
I don't know this library but it looks interesting
@wildLeaner
@wildLeaner 4 жыл бұрын
@@patloeber okey, btw, i did this job, i created a stacking and pystacknet forms and application in steamlit ^^
@harshvardhanshringi933
@harshvardhanshringi933 3 жыл бұрын
when i am using multiple text input its showing a key error please help!
@saurabhjain507
@saurabhjain507 4 жыл бұрын
Just came here to say you are awesome. Thank you so much for putting up this video. Turned on the notifications so that I don't miss your videos. 😉
@patloeber
@patloeber 4 жыл бұрын
Thanks for supporting me :)
@yusufaltnsk1368
@yusufaltnsk1368 3 жыл бұрын
Thanks for the video. My question is ,do you know any way to use weka library for the same thing ? I want to use weka in my project
@irfansyamsuddin4673
@irfansyamsuddin4673 2 жыл бұрын
very good tutorial .... how to import ML models from Weka or Rapidminer or Orange into Streamlit ?
@MdAbdullah1509
@MdAbdullah1509 2 жыл бұрын
It shows error after importing sklearn, how to fix this?? Please help
@sumithhh9379
@sumithhh9379 4 жыл бұрын
Nailed it.
@patloeber
@patloeber 4 жыл бұрын
Thanks
@johnanih56
@johnanih56 4 жыл бұрын
Wawu! I love it!
@patloeber
@patloeber 4 жыл бұрын
Thanks!
@OwusuIsaac-zs9go
@OwusuIsaac-zs9go 8 ай бұрын
Wow wow wow , I really enjoyed these kinds of videos , building apps with your trained models,you are really a helper of my life 🥰🥰💗I really love you dude ,God bless you . Can we please text on any socialedia you are available pleaseeee!!,🙏🏻🙏🏻😭
@BalloonAffirmations
@BalloonAffirmations 3 жыл бұрын
Hey! Your explanations are amazing but no matter what streamlit hello just would work at my system, saying that it is not recognizable command. Can you please help!!!
@ineshmaidi7617
@ineshmaidi7617 3 жыл бұрын
hi it's amazing ..but i have a probleme that i can't do the link between the streamlit and my code ? how you do that
@thopbgm38
@thopbgm38 Жыл бұрын
when i try to fit the training data then i am getting the error like this ValueError: Found input variables with inconsistent numbers of samples: [120, 30] can anyone solve that one? I am stucked in here
@amitasingh4583
@amitasingh4583 3 жыл бұрын
So basically this video would help me not getting into flask. Reply if I am wrong
@patloeber
@patloeber 2 жыл бұрын
yep it's different than Flask
@saurabh1812
@saurabh1812 3 жыл бұрын
Sir I want to make web application with machine learning highest( for heart disease) accuracy model using streamlit can you guide me
@bitrish34
@bitrish34 3 жыл бұрын
am getting error when i am tyring to use buttomor map by the ocde st.buttom error is-- AttributeError: module 'streamlit' has no attribute 'buttom' Traceback: File "c:\programdata\anaconda3\lib\site-packages\streamlit\script_runner.py", line 338, in _run_script exec(code, module.__dict__) File "C:\Users\HP\Desktop\introstreamlit\first.py", line 43, in if st.buttom("Say hello"): how can i solve this error please help thanks
@gamerinyourtown5592
@gamerinyourtown5592 3 жыл бұрын
mine is localhost 8501 for some reason but I do not think that matters
@username42
@username42 4 жыл бұрын
how to add automl for hyperparameter optimization here ?
@EveningEchoes19
@EveningEchoes19 2 жыл бұрын
What is data.data and data.training?
@user-or7ji5hv8y
@user-or7ji5hv8y 3 жыл бұрын
Can you also do Streamlit examples, like training a deep learning model and then use the model with user inputs for predictions? I noticed that the model gets trained again, each time you modify the input parameter, at least, when I tried.
@Mavengence27
@Mavengence27 3 жыл бұрын
I assume it'd be better if you save your deeplearning model, then you create a button which fires the model load and the model predict and then you write the result with streamlit.
@patloeber
@patloeber 3 жыл бұрын
Yes that's exactly the approach :) I plan to do one with streamlit and pytorch in the future. But basically it's the same approach as in my pytorch+Flask tutorial
@tshiamoselemogwe4234
@tshiamoselemogwe4234 11 ай бұрын
Good day, What IDE are you using?
@aakashpal0777
@aakashpal0777 11 ай бұрын
VS Code
@akshitagarwal7925
@akshitagarwal7925 3 жыл бұрын
1000th like!
@patloeber
@patloeber 3 жыл бұрын
Wow this video has gotten a little popular. Thanks so much :)
@abdulghani9596
@abdulghani9596 5 ай бұрын
This is vscode??
@vivekmajithia5747
@vivekmajithia5747 2 жыл бұрын
Would this be able to work if you have an sklearn pipeline instead?
@patloeber
@patloeber 2 жыл бұрын
absolutely! I always recommend to use a Pipeline for more advanced students :)
@vivekmajithia5747
@vivekmajithia5747 2 жыл бұрын
@@patloeber Excellent! Would you be able to know a resource where I can learn how to do that? I can't seem to find one with an application yet.
@salikmalik7631
@salikmalik7631 3 жыл бұрын
how to setup streamlit that entire script don't run again?
@patloeber
@patloeber 3 жыл бұрын
you need to put your code into functions and apply st.cache for those functions
@akhil3365
@akhil3365 2 жыл бұрын
can you please make a video on how to make a note-taking app in streamlit I tried to implement it but there are so many problems with my version because while deleting a note (row in the data frame) it messes up because the select_box doesn't get updated and sometimes deletes the row which is not intended to: def Notes(): st.markdown('## Notes') st.markdown('####') df= pd.read_csv('Notes.csv') Seal = st.container() nt,tb=st.columns(2) val=nt.text_area('Edit','Enter Note',height=200) if nt.button('Add note'): if val not in df['All Notes'].tolist() and val!='Enter Note': df.loc[len(df.index)]=val df['.']='.' df.to_csv('Notes.csv',index=False) tb.table(df.rename(columns={'All Notes': 'Highlights'}).set_index('.').sample(2)) with nt.expander('Delete'): delt=st.selectbox('Delete',df['All Notes']) if st.button('Delete'): df= pd.read_csv('Notes.csv') df=df.drop(df[df['All Notes']==delt].index) df.to_csv('Notes.csv',index=False) with Seal.expander('See All'): st.table(df.set_index('.')) Notes() this is my implementation.
@md.alamintalukder3261
@md.alamintalukder3261 3 жыл бұрын
thanks a lot. which IDE do you use for it?
@patloeber
@patloeber 3 жыл бұрын
VS Code. I have a tutorial about my editor setup on this channel
@akshatsaxena6404
@akshatsaxena6404 3 жыл бұрын
Which editor is this?
Streamlit Elements You Should Know About in 2023
14:31
Mısra Turp
Рет қаралды 95 М.
Streamlit: The Fastest Way To Build Python Apps?
11:57
pixegami
Рет қаралды 98 М.
Comfortable 🤣 #comedy #funny
00:34
Micky Makeover
Рет қаралды 17 МЛН
If Barbie came to life! 💝
00:37
Meow-some! Reacts
Рет қаралды 67 МЛН
Schoolboy Runaway в реальной жизни🤣@onLI_gAmeS
00:31
МишАня
Рет қаралды 2,6 МЛН
Tesla FSD 12.5.1.3: LAX to Palos Verdes with Zero Interventions
10:38
Whole Mars Catalog
Рет қаралды 116
Build A Machine Learning Web App From Scratch
53:20
Patrick Loeber
Рет қаралды 207 М.
Build an AI app with FastAPI and Docker - Coding Tutorial with Tips
35:18
Streamlit Crash Course: From Zero to Data App
24:40
Streamlit
Рет қаралды 4,8 М.
The Streamlit Epic Overview (part 1/2)
13:06
Fanilo Andrianasolo
Рет қаралды 53 М.
This is why Deep Learning is really weird.
2:06:38
Machine Learning Street Talk
Рет қаралды 382 М.
The moment we stopped understanding AI [AlexNet]
17:38
Welch Labs
Рет қаралды 937 М.
Stock Price Prediction Using Python & Machine Learning
49:48
Computer Science
Рет қаралды 1,2 МЛН
Comfortable 🤣 #comedy #funny
00:34
Micky Makeover
Рет қаралды 17 МЛН