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

КОМЕНТАРІ • 80

  • @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.

  • @ArikLikesWolves
    @ArikLikesWolves 3 роки тому +3

    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!

  • @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

  • @lennyspecht
    @lennyspecht 4 роки тому +4

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

    • @EVERYTHINGABOUTCOMPUTING
      @EVERYTHINGABOUTCOMPUTING 4 роки тому

      ua-cam.com/video/foSxFJIxNi8/v-deo.html how to reset linux password without log into the system 👍👍👍👍👍👍

  • @rodongo5221
    @rodongo5221 4 роки тому +4

    Extremely useful. Thank you for this 🙏

  • @awadelrahman
    @awadelrahman 2 роки тому

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

  • @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?

  • @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 4 роки тому +1

    What books about making web-apps will u recommend?

  • @hirenkakkad3747
    @hirenkakkad3747 4 роки тому +1

    Superb. I loved it. Thank you. ❤️

  • @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??

  • @trochymiak
    @trochymiak 4 роки тому +1

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

    • @EVERYTHINGABOUTCOMPUTING
      @EVERYTHINGABOUTCOMPUTING 4 роки тому

      ua-cam.com/video/foSxFJIxNi8/v-deo.html how to reset linux password without log into the system 👍👍👍👍👍👍

  • @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

  • @BekBrace
    @BekBrace 4 роки тому +1

    Great video ! Thank you 🙏

  • @espnmob5163
    @espnmob5163 4 роки тому +2

    Really great stuff 💪🏾

  • @tohakim29
    @tohakim29 3 роки тому

    Really easy now!

  • @prod.kashkari3075
    @prod.kashkari3075 4 роки тому +1

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

  • @aboudezoa
    @aboudezoa 4 роки тому

    Awesome tutorial

  • @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.

  • @ronit.dhingra_
    @ronit.dhingra_ 4 роки тому

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

  • @josefftan1203
    @josefftan1203 4 роки тому +1

    Thank you!!

  • @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 роки тому

      ua-cam.com/video/foSxFJIxNi8/v-deo.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??

  • @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.

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

  • @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

  • @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

  • @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

  • @oriaburehopeeromhosele883
    @oriaburehopeeromhosele883 4 роки тому

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

  • @vardanvardanyan2130
    @vardanvardanyan2130 4 роки тому

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

    • @loyd1298
      @loyd1298 3 роки тому

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

  • @eagle43257
    @eagle43257 4 роки тому +1

    useful

  • @AlokKumar-fi8qh
    @AlokKumar-fi8qh 4 роки тому

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

  • @athiradu1154
    @athiradu1154 3 роки тому

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

  • @eddiekim7801
    @eddiekim7801 4 роки тому

    where did you get csv file?

    •  4 роки тому

      @@studio623 life saver

  • @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

  • @akshaygaikwad8949
    @akshaygaikwad8949 4 роки тому

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

  • @AlokKumar-fi8qh
    @AlokKumar-fi8qh 4 роки тому

    g8 video for building GUI for ML models

  • @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 ?

  • @yashbadgujar4854
    @yashbadgujar4854 4 роки тому +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??

  • @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 ?

  • @michelpereira1843
    @michelpereira1843 4 роки тому +1

    Second

  • @naya786_5
    @naya786_5 4 роки тому +1

    Third

  • @RoshanLamichhane
    @RoshanLamichhane 4 роки тому +1

    First