Build A Machine Learning Web App Using Python
Вставка
- Опубліковано 10 лис 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 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 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!
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
I like that EVERY commercial has been for candy products... Good Job UA-cam AI!
ua-cam.com/video/foSxFJIxNi8/v-deo.html how to reset linux password without log into the system 👍👍👍👍👍👍
Extremely useful. Thank you for this 🙏
Thank you for the comment, I am glad this video was useful for you !
Great!
A question: does the model get trained every time the user changes the input?
Love the content of this guy, many thanks. Can you please give me a project idea where I can apply this same model?
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?
Superb. I loved it. Thank you. ❤️
Hi sir,
Thank you for the video..
if we have any missing values in dataset then how to handle it in streamlit??
Very, very nice stuff! Thx for this new great video.
ua-cam.com/video/foSxFJIxNi8/v-deo.html how to reset linux password without log into the system 👍👍👍👍👍👍
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
Great video ! Thank you 🙏
Thanks Bek !
Really great stuff 💪🏾
Thank you!
ua-cam.com/video/foSxFJIxNi8/v-deo.html how to reset linux password without log into the system 👍👍👍👍👍👍
Really easy now!
What the hell, why did I never do this before. Stream lit makes this so easy.
Awesome tutorial
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.
Where I can get access to the CSV files that you import?
Thank you!!
Thank you Joseff for watching!
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
ua-cam.com/video/foSxFJIxNi8/v-deo.html how to reset linux password without log into the system 👍👍👍👍👍👍
Can you tell me the all requirements of this project??
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.
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 :-)
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
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
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
Can we really create web app that can detect diabetes? Please answer me.
Can't we get the data sets without a membership?
www.kaggle.com/mathchi/diabetes-data-set
useful
Glad the video was helpful!
Can you share the github link for the code also..
Which ide is this can i do the same in vs code please replay
Pycharm
where did you get csv file?
@@studio623 life saver
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
can u create web app with selenium testing on that!!!
g8 video for building GUI for ML models
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 ?
Hey i cant install streamlit. From "pip install streamlit". help please
Can you tell me the all requirements of this project??
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 ?
Second
Third
First