Build A Machine Learning Web App Using Python
ฝัง
- เผยแพร่เมื่อ 6 ก.ย. 2024
- #MachineLearning #Python #WebApp
Build A Machine Learning Web App Using Python
⭐Please Subscribe !⭐
⭐Get the code and data sets by becoming a supporter on Patreon:
/ computerscience
⭐Website:
everythingcompu...
⭐Helpful Programming Books
► Python (Hands-Machine-Learning-Scikit-Learn-TensorFlow):
amzn.to/2AD1axD
► Learning Python:
amzn.to/3dQGrEB
►Head First Python:
amzn.to/3fUxDiO
Great tutorial! If you want to automate writing out how to get each feature input from the user you could do something like
def get_user_input():
user_data = {}
for feature in df.columns[:-1]:
slider_max = (df[feature].max()*2)
if 'int' in str(type(df[feature][0])):
data = st.sidebar.slider(str(feature), 0, slider_max, 0)
else:
data = st.sidebar.slider(str(feature), 0.0, slider_max, 0.0)
user_data[feature] = data
features = pd.DataFrame(user_data, index=[0])
return features
Its quicker and can be quickly reused if you only have int and float features!
I like that EVERY commercial has been for candy products... Good Job TH-cam AI!
th-cam.com/video/foSxFJIxNi8/w-d-xo.html how to reset linux password without log into the system 👍👍👍👍👍👍
Great video. The PIMA Indians Diabetes dataset is really popular and plenty of projects can be done using that dataset. Building a web app for it was a great idea and the app looked really good. Really well done.
Thank you for these kind words !
Great video this is the exact foundation i needed to understand ML a little better. The concept was fairly easy to understand but i needed an example to get it
Love the content of this guy, many thanks. Can you please give me a project idea where I can apply this same model?
Extremely useful. Thank you for this 🙏
Thank you for the comment, I am glad this video was useful for you !
Hi sir,
Thank you for the video..
if we have any missing values in dataset then how to handle it in streamlit??
That was great، what if we want to get rid of the command prompt part and creat a .exe file, which rub the webpage by clicking it?
Reza Shahabedin Sure just pack it in a exe but here a warning it will not be very fast and also wasting a lot of space on your disk as it needs to copy the entire python runtime + all libs.
Great!
A question: does the model get trained every time the user changes the input?
here is a sub section of my code
# Create and train the model
classifier = RandomForestClassifier()
classifier.fit(X_train, Y_train)
# Show the model matrix
st.subheader('Model Test Accuracy Score:')
st.write(str(accuracy_score(Y_test, classifier.predict(X_test)) * 100) + '%')
# store the model prediction and variable
prediction = classifier.predict(user_input)
# Set subheader and display the classification
st.subheader('Classification:')
st.write(prediction)
What books about making web-apps will u recommend?
Very very useful and nice as usual, but I would like to know a way to import datas you found for your program from a specific website instead
Superb. I loved it. Thank you. ❤️
Very, very nice stuff! Thx for this new great video.
th-cam.com/video/foSxFJIxNi8/w-d-xo.html how to reset linux password without log into the system 👍👍👍👍👍👍
Great video ! Thank you 🙏
Thanks Bek !
Really great stuff 💪🏾
Thank you!
th-cam.com/video/foSxFJIxNi8/w-d-xo.html how to reset linux password without log into the system 👍👍👍👍👍👍
What the hell, why did I never do this before. Stream lit makes this so easy.
Really easy now!
Nice Video Sir.
Thank you!
Very helpful Video will want to ask some questions please
Awesome information and breakdown for compiling. Thank you.
Thanks Amod !
I like this kind of contents it's more fun!! 😁Please do more @computer science
th-cam.com/video/foSxFJIxNi8/w-d-xo.html how to reset linux password without log into the system 👍👍👍👍👍👍
Can you tell me the all requirements of this project??
Thank you!!
Thank you Joseff for watching!
Awesome tutorial
Dude put the required packages list on the description
Can you tell me the requirements for this project??
hi... very nice video can u please machine learning application in django with python
Hey i cant install streamlit. From "pip install streamlit". help please
Can you tell me the all requirements of this project??
Nice Video. But how did you make the front end ?
I have the same question too.
yaa same doubt.does any 1 know?
& how to get the data table ?In Which app this programm should be written ?
Watch the full video, that's what he did in the entire video
Where I can get access to the CSV files that you import?
Can I use logistic regression on this data set and have the same results? (I'm a beginner in ML).
no, it wont produce the same result,but its good if u using different ML model on it
where did you get csv file?
But this app runs locally on your computer, right? Can you explain how could a friend run it on his web browser?
I mean, like an web application where with just an url you can access this.
useful
Glad the video was helpful!
can u create web app with selenium testing on that!!!
Can you share the github link for the code also..
Can you also make a video where you make a web application using Plotly's "Dash"? That would be awesome as well.
Edit: I am such a d**k! Forgot to say thank you! Have a gread day and stay safe :-)
Which ide is this can i do the same in vs code please replay
Pycharm
Can't we get the data sets without a membership?
www.kaggle.com/mathchi/diabetes-data-set
Can we really create web app that can detect diabetes? Please answer me.
g8 video for building GUI for ML models
hello computer science. this is the tutorial how to build a machine learning web app to predict if someone has diabetes. what if i want to modify this to predict someone's mental health? which code i should change? thanks. i hope you reply and help me for my final project to get my bachelor degree
Is it possible to add this WebApp to my website and html file ? and if yes, can anyone tell me how to do it please ?
can anyone please share the data set plz
you can find it on the github just type diabetes.csv
What do u mean by number of pregnancies ?
Third
Second
First