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
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.
Dude Grand Salute to you.This is THE BEST which i have seen in UA-cam in terms of teaching.Didnt skip the ads Bro.You are just aweosme,..Could you please start a series for Deep learning as well.
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!
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 ;)
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 :)
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 👍👍
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.
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!
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
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!
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..
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?
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
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!!!
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
Hi Sir, when I try to install streamlit i get a 'failed to build pyarrow' error. Any ideas on how to fix this? I am using windows machine and Python 3.6.3 (python is installed directly on windows... no conda env.) Please suggest.
@@patloeber Yes, actually i was using Python 3.6 on Windows 32 bit machine, and Streamlit works with 64 bit. So for now i have installed Python 3.6 on Virtual Box with 64bit env. and here it worked well. Now have to figure out how to use Python with 32 bit and 64 bit on same machine. Or have to go with Virtual Box only.
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.
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.
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.
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
Hi loved your video so my query is there a way where we could add a python function in html file like the thing is I am trying to make a home page with html and I want to call my python function developed using streamlit which contains the model loading and execution part by clicking on a button created using html?
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.
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
Glad you like it :)
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.
Glad it helped!
after watching 10 videos and didnt understand them, your video chopped streamlit to me so easily. Very very nice video
glad to hear this!
Thanks, you just made my day...I've been struggling with this for some time...Keep-up the good work
Glad it was helpful :)
Great tool and beautiful intstructor. Thank you so much Mr.Patrick Loeber
Excellent video! Be great if we can also see an example of streamlit deployed on Google Cloud, may be with Docker.
I will consider this :) thanks for the suggestion
@@patloeber +1, i was thinking the same
@@patloeber 😍 did we got one?
I have seen this video many times as a beginner. Very well explained with beautiful work. Thanks.
Glad it was helpful!
It is amazing. I am looking for this tools to show the result of our models. you are rock.
I am lucky finding this Amazing channel, Big thanks !
What a great tutorial! Patrick is the best, as always.
Dude Grand Salute to you.This is THE BEST which i have seen in UA-cam in terms of teaching.Didnt skip the ads Bro.You are just aweosme,..Could you please start a series for Deep learning as well.
thanks a lot :)
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!
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 ;)
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 :)
Thanks! Glad you like it
Thank you so much for this tutorial! Well explained! 👍🏾
Glad it was helpful!
this was actually fun and easy to follow
Glad to hear that!
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 👍👍
Great tutorial, however in which step shall I add a streaming source datasets instead of the static one which you have presented here ? Best
you produce the most useful and practical data science videos on youtube! Thank you!
Thank you! I'm glad it is helpful :)
Great... looking for an easy interface to do analysis and prediction ...and saw this ...
Big thanks
you're welcome :)
This was a great video, been following you for a while and the work you do is great man 👊
Thanks :) glad you like it !
Great tutorial sir, and if I may ask how do we load a dataset from our computer?
Nice tutorial man. I have subscribed to your channel. Well done.
Thank you 😊
I felt in love with streamlit. Have subscribed to your channel.
Thank you !
me too
Amazing Video I wish I explored your channel earlier, Legit you do amazing work.
glad you found it :)
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.
this is really helpful mate ... thanks a lot
Great content !!! Thank you for uploading it !
Thank you biddy for this beautiful project tutorial, loved it and loved your channel
Thank you :)
Awesome, this is precisely I was looking for. Many many thanks dear
Glad it is helpful :)
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!
Great Tutorial man. Thanks for the content!!
glad you like it!
Nicely done, sir. You are really helping me build my Streamlit chops!
Thank you 😊
Thank a ton for this. I am really loving your channel.
Thanks a lot :)
Excellent excersice my friend, thanks so much.
Glad you liked it!
wow, thank you, sir. It just what I'm looking for!! keep it up I need more like this
Glad you like it!
You are great man I always miss your tutorial
thank you :)
very nice , i really enjoy it ..
Thanks for sharing ..
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
i love the contents you put up on your channel.
thanks!
sir,you didn't do the preprocessing step is it really necessary to do preprocessing for built in datasets
My first youtube comment! I just want to say "Awesome!"
Thank you so much!
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
Nice video ... you just save a soul
Glad to hear that
@@patloeber i want to build a web application for fraud detection.. can you assist me?
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
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!
hm this is weird. I have a mac v10.x too. Will test this soon with v11
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..
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?
very good tutorial .... how to import ML models from Weka or Rapidminer or Orange into Streamlit ?
Good work!
Can you share how to save the web app file and post it to a url or a website?
thanks! I will look into that
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
Thanks for another great tutorial!
thanks for watching :)
Really really great thanks very much !!!
glad you like it!
You are a star...this was too good... :)
Thanks :)
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
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!!!
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
I’m getting a TypeError: get_classifier() missing 1 required positional argument: ‘params’
If posible to make a complete desktop Application with python streamlit like c++???
How to add external dataset, which is not present in SkLearn?
Great video , it helped a lot!!!! thnx
Glad you like it :)
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
how can i add my own data to page and use it for analysis in this streamlit?
It shows error after importing sklearn, how to fix this??
Please help
This is vscode??
thanks a lot. which IDE do you use for it?
VS Code. I have a tutorial about my editor setup on this channel
Please can i do this with adding a new machin library like pyStacknet ?
it's like Stacking in sklearn ensembl
I don't know this library but it looks interesting
@@patloeber okey, btw, i did this job, i created a stacking and pystacknet forms and application in steamlit ^^
Sir I want to make web application with machine learning highest( for heart disease) accuracy model using streamlit can you guide me
Thank you for the awesome video
Awesome! Good stuff
Thanks :)
Today you got a new subscriber
Thank you :)
Which editor is this?
Good day, What IDE are you using?
VS Code
Very cool man. Thanks :)
Glad you like it!
Would this be able to work if you have an sklearn pipeline instead?
absolutely! I always recommend to use a Pipeline for more advanced students :)
@@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.
Hi Sir, when I try to install streamlit i get a 'failed to build pyarrow' error. Any ideas on how to fix this?
I am using windows machine and Python 3.6.3 (python is installed directly on windows... no conda env.)
Please suggest.
Did you succeed in the meantime? Considering your newest comment it looks like it works now ?!
@@patloeber Yes, actually i was using Python 3.6 on Windows 32 bit machine, and Streamlit works with 64 bit. So for now i have installed Python 3.6 on Virtual Box with 64bit env.
and here it worked well.
Now have to figure out how to use Python with 32 bit and 64 bit on same machine. Or have to go with Virtual Box only.
Awesome. Subbed
Thanks!
What is data.data and data.training?
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.
Thanks man
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.
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.
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
Thank you man, for this project, i try to install streamlit but it give error?
i am using pycharm
Which error ?
Thank you man, for this beautiful project and explain it, here is plus one subrscibre, wich to watch all your beautiful videos
thanks :)
Hi loved your video so my query is there a way where we could add a python function in html file like the thing is I am trying to make a home page with html and I want to call my python function developed using streamlit which contains the model loading and execution part by clicking on a button created using html?
pyscript might help you
thank you
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.
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. 😉
Thanks for supporting me :)
Which tool we have to install?
pip install streamlit
Very helpful
Glad it helped
Does Streamlit not work with jupyter notebook.?
no you need a normal python script to run streamlit
@@patloeber ok thanks man.
BTW great content.
Thank you.👍
@@pranavmaheshwari8352 thanks :)
Which IDE do you use?
VS Code in this video
@@patloeber thanks
great tutorial
Thanks!
how to add automl for hyperparameter optimization here ?
i wish i had words to thank you .....
Glad you like it :)
Is it possible to connect your database with streamlit? We would appreciate more videos with streamlit
I try to do another tutorial on Streamlit in the future!
Which data we used with project. Cz i didn't understand where the dataset is loaded or its just inbuilt
Thanks alotttt!!!
Nailed it.
Thanks
So basically this video would help me not getting into flask. Reply if I am wrong
yep it's different than Flask
Brilliant!
Wawu! I love it!
Thanks!
how to setup streamlit that entire script don't run again?
you need to put your code into functions and apply st.cache for those functions
GOod content