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

ความคิดเห็น • 79

  • @ArikLikesWolves
    @ArikLikesWolves 3 ปีที่แล้ว +2

    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!

  • @lennyspecht
    @lennyspecht 4 ปีที่แล้ว +4

    I like that EVERY commercial has been for candy products... Good Job TH-cam AI!

    • @EVERYTHINGABOUTCOMPUTING
      @EVERYTHINGABOUTCOMPUTING 4 ปีที่แล้ว

      th-cam.com/video/foSxFJIxNi8/w-d-xo.html how to reset linux password without log into the system 👍👍👍👍👍👍

  • @vignesharasu4521
    @vignesharasu4521 4 ปีที่แล้ว +3

    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.

  • @wxdddadon
    @wxdddadon ปีที่แล้ว

    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

  • @Magmatic91
    @Magmatic91 4 ปีที่แล้ว +4

    Love the content of this guy, many thanks. Can you please give me a project idea where I can apply this same model?

  • @rodongo5221
    @rodongo5221 4 ปีที่แล้ว +4

    Extremely useful. Thank you for this 🙏

  • @padmavathisonnaila6600
    @padmavathisonnaila6600 3 ปีที่แล้ว +1

    Hi sir,
    Thank you for the video..
    if we have any missing values in dataset then how to handle it in streamlit??

  • @mohamadrezashahabedin329
    @mohamadrezashahabedin329 4 ปีที่แล้ว +3

    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?

    • @platin2148
      @platin2148 4 ปีที่แล้ว

      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.

  • @awadelrahman
    @awadelrahman 2 ปีที่แล้ว

    Great!
    A question: does the model get trained every time the user changes the input?

  • @patmtesterfr2010
    @patmtesterfr2010 4 ปีที่แล้ว

    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)

  • @georgeseletski8241
    @georgeseletski8241 3 ปีที่แล้ว +1

    What books about making web-apps will u recommend?

  • @alex150668
    @alex150668 4 ปีที่แล้ว

    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

  • @hirenkakkad3747
    @hirenkakkad3747 4 ปีที่แล้ว +1

    Superb. I loved it. Thank you. ❤️

  • @trochymiak
    @trochymiak 4 ปีที่แล้ว +1

    Very, very nice stuff! Thx for this new great video.

    • @EVERYTHINGABOUTCOMPUTING
      @EVERYTHINGABOUTCOMPUTING 4 ปีที่แล้ว

      th-cam.com/video/foSxFJIxNi8/w-d-xo.html how to reset linux password without log into the system 👍👍👍👍👍👍

  • @BekBrace
    @BekBrace 4 ปีที่แล้ว +1

    Great video ! Thank you 🙏

  • @espnmob5163
    @espnmob5163 4 ปีที่แล้ว +2

    Really great stuff 💪🏾

  • @prod.kashkari3075
    @prod.kashkari3075 3 ปีที่แล้ว +1

    What the hell, why did I never do this before. Stream lit makes this so easy.

  • @tohakim29
    @tohakim29 3 ปีที่แล้ว

    Really easy now!

  • @syedjawadali1467
    @syedjawadali1467 4 ปีที่แล้ว +1

    Nice Video Sir.

  • @gracioushouse8581
    @gracioushouse8581 3 ปีที่แล้ว

    Very helpful Video will want to ask some questions please

  • @AH-zs3vm
    @AH-zs3vm 4 ปีที่แล้ว +3

    Awesome information and breakdown for compiling. Thank you.

    • @ComputerSciencecompsci112358
      @ComputerSciencecompsci112358  4 ปีที่แล้ว

      Thanks Amod !

    • @josefftan1203
      @josefftan1203 4 ปีที่แล้ว

      I like this kind of contents it's more fun!! 😁Please do more @computer science

    • @EVERYTHINGABOUTCOMPUTING
      @EVERYTHINGABOUTCOMPUTING 4 ปีที่แล้ว

      th-cam.com/video/foSxFJIxNi8/w-d-xo.html how to reset linux password without log into the system 👍👍👍👍👍👍

    • @isratjahan-zk3ke
      @isratjahan-zk3ke 3 ปีที่แล้ว

      Can you tell me the all requirements of this project??

  • @josefftan1203
    @josefftan1203 4 ปีที่แล้ว +1

    Thank you!!

  • @aboudezoa
    @aboudezoa 3 ปีที่แล้ว

    Awesome tutorial

  • @wskariah
    @wskariah 4 ปีที่แล้ว +2

    Dude put the required packages list on the description

    • @isratjahan-zk3ke
      @isratjahan-zk3ke 3 ปีที่แล้ว

      Can you tell me the requirements for this project??

  • @nareshannapureddy746
    @nareshannapureddy746 3 ปีที่แล้ว

    hi... very nice video can u please machine learning application in django with python

  • @yashbadgujar4854
    @yashbadgujar4854 3 ปีที่แล้ว +1

    Hey i cant install streamlit. From "pip install streamlit". help please

    • @isratjahan-zk3ke
      @isratjahan-zk3ke 3 ปีที่แล้ว

      Can you tell me the all requirements of this project??

  • @therolinga79
    @therolinga79 4 ปีที่แล้ว +1

    Nice Video. But how did you make the front end ?

    • @keving98
      @keving98 4 ปีที่แล้ว

      I have the same question too.

    • @SACHINRAMESH100
      @SACHINRAMESH100 3 ปีที่แล้ว

      yaa same doubt.does any 1 know?

    • @Rameshram-ge7no
      @Rameshram-ge7no 3 ปีที่แล้ว

      & how to get the data table ?In Which app this programm should be written ?

    • @TITANMARTIALCLUB
      @TITANMARTIALCLUB 2 ปีที่แล้ว

      Watch the full video, that's what he did in the entire video

  • @ronit.dhingra_
    @ronit.dhingra_ 4 ปีที่แล้ว

    Where I can get access to the CSV files that you import?

  • @Magmatic91
    @Magmatic91 4 ปีที่แล้ว

    Can I use logistic regression on this data set and have the same results? (I'm a beginner in ML).

    • @axa3547
      @axa3547 3 ปีที่แล้ว +1

      no, it wont produce the same result,but its good if u using different ML model on it

  • @eddiekim7801
    @eddiekim7801 4 ปีที่แล้ว

    where did you get csv file?

  • @windandrain98
    @windandrain98 3 ปีที่แล้ว

    But this app runs locally on your computer, right? Can you explain how could a friend run it on his web browser?

    • @windandrain98
      @windandrain98 3 ปีที่แล้ว

      I mean, like an web application where with just an url you can access this.

  • @eagle43257
    @eagle43257 4 ปีที่แล้ว +1

    useful

  • @akshaygaikwad8949
    @akshaygaikwad8949 3 ปีที่แล้ว

    can u create web app with selenium testing on that!!!

  • @AlokKumar-fi8qh
    @AlokKumar-fi8qh 4 ปีที่แล้ว

    Can you share the github link for the code also..

  • @HumptyDumptyActual
    @HumptyDumptyActual 4 ปีที่แล้ว

    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 :-)

  • @athiradu1154
    @athiradu1154 3 ปีที่แล้ว

    Which ide is this can i do the same in vs code please replay

  • @vardanvardanyan2130
    @vardanvardanyan2130 3 ปีที่แล้ว

    Can't we get the data sets without a membership?

    • @sohaibamrani4175
      @sohaibamrani4175 3 ปีที่แล้ว

      www.kaggle.com/mathchi/diabetes-data-set

  • @oriaburehopeeromhosele883
    @oriaburehopeeromhosele883 3 ปีที่แล้ว

    Can we really create web app that can detect diabetes? Please answer me.

  • @AlokKumar-fi8qh
    @AlokKumar-fi8qh 4 ปีที่แล้ว

    g8 video for building GUI for ML models

  • @elviana7078
    @elviana7078 3 ปีที่แล้ว

    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

  • @yadjnishnursiah8621
    @yadjnishnursiah8621 3 ปีที่แล้ว

    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 ?

  • @khairulontor2676
    @khairulontor2676 4 ปีที่แล้ว

    can anyone please share the data set plz

    • @r1se233
      @r1se233 4 ปีที่แล้ว

      you can find it on the github just type diabetes.csv

  • @owaiskhan7607
    @owaiskhan7607 3 ปีที่แล้ว

    What do u mean by number of pregnancies ?

  • @naya786_5
    @naya786_5 4 ปีที่แล้ว +1

    Third

  • @michelpereira1843
    @michelpereira1843 4 ปีที่แล้ว +1

    Second

  • @RoshanLamichhane
    @RoshanLamichhane 4 ปีที่แล้ว +1

    First