Creating a Machine Learning Based App in Django Complete tutorial 2020

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 พ.ย. 2024

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

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

    I am yet to go through, the title caught me as i have been looking for this a long time...thanks for this.

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

    thanku so very much sir ,this is one of the most useful nd productive video on youtube for students like me .🙏🙏🙏🙏

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

    Really amazing
    You will get 1M subscribers soon

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

    Great Tutorial, Sir. Made my day.

  • @Maca-c2s
    @Maca-c2s 3 ปีที่แล้ว

    This tutorial was very very helpful!! Thank you for the great video!!

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

    Good work! Keep posting different use cases

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

    Congrats and thankyou so much for this lesson.

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

    Amazing content ; You deserve growth bro.....

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

    hello. I believe django.conf.urls is not working anymore. How can I solve this issue?

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

    Great video and tutorial, many thanks

  • @네-b3v
    @네-b3v 2 ปีที่แล้ว

    당신은 최고입니다 당신이 나를 살렸습니다 당신은 아주 좋은 일이 생길 것입니다

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

    Really helpful!! Thank you so much

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

    Awesome video but I have request if possible please make details video tutorial for this type topic.

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

      Sure, will try!

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

      Thank very much. Waiting for more interesting tutorial.

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

    Very helpful. Thank you

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

    how to resolve this
    when i am printing your pkl file it is showing predict
    but that scoreval is not able to get the 'predict'
    showing error as 'str' object has no attribute 'predict'

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

      you need to create a model object from pkl file first.

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

    I am using a vectorizer function to convert input strings to numerical data in my python code...so to get the output I need to pass the input string through vectorizer function. How can I make it?... Please help me get out of this..

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

    Thanks a lot for this video bro. This video cleared most of my confusions related to django.

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

    Thanks for this video , I suggest you use visual studio terminal next time , it will make your work more easy and you can also introduce to other subscribers who have not knowledge .Keep Growing , Thanks for this video again , I would love to see your more videos about Data science and Django

  • @Anushka792-h1z
    @Anushka792-h1z 7 หลายเดือนก่อน

    Hi.. Can you help me creating a subjective answer evaluation using machine learning in django?

    • @technologyfornoobs
      @technologyfornoobs  7 หลายเดือนก่อน

      Ping me at Techfornoobs01@gmail.com

    • @Anushka792-h1z
      @Anushka792-h1z 7 หลายเดือนก่อน

      @@technologyfornoobs Sure

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

    Hi Sir, How to work with Scalers if any used in model. As to predict the value on unseen data, first it should has to go through all pre-processing steps. How to handle this from Django.
    Please have some guidence on this as well.

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

      Instead of model, build a pipeline and deploy that pipeline in django!

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

      @@technologyfornoobs Thanks

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

    ModuleNotFoundError: No module named 'sklearn.preprocessing.data'
    I am getting this error do anyone have any ideas on this
    I am doing my final datascience project and I am using the same concept

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

      check the sklearn version I am using and yours? you will be able to figure out the issue.

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

    Sir , it's giving me the error--> Input contains NaN, infinity or a value too large for dtype('float32').

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

      check if there is any missing value in your input, and do a trial in a notebook and check again.

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

      @@technologyfornoobs same here. My input are your inputs

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

      @@Wildkomments Can you try pulling my code from github and try with that app

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

      @@technologyfornoobs Thansk i did. that and i end up getting an error saying im missing joblib even though it works on my code but it says from firstPage import views
      ModuleNotFoundError: No module named 'firstPage'
      instead. Ive copied it word for word

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

      Copy paste would not work, and firstpage is the name of my app, you must have given something else check once, and also I am asking you to clone the repo and try launching the django app of mine and see if that error comes again

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

    great explanation. can u make content regarding django-heroku deployment

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

      Just published the video: I hope this will do.
      th-cam.com/video/iP7eVOY-qOU/w-d-xo.html

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

      @@technologyfornoobs THANKS A LOT SIR _/\_ GREAT explanation

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

    Great video :)
    Please help me I am facing this error:
    ValueError at /predictMPG
    ['origin']: Found unknown categories ['1'] in column 0 during transform

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

      something must be inconsistent in your one-hot encoding, can you check once

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

      @@technologyfornoobs Okay Thank uh bro 👍

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

      How to fixed this error

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

      Hi jay how you fixed this issue i m facing the same

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

      @@lovesharma3431 pass this param handle_unknown='ignore' in one-hot encoding

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

    I want to create a web app that could be launched and run on client-side that means it will use client CPU and data of the client would be his system only offering data security. How could this be done? The app would be ml model. Further, the app should only be launched from my website.

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

      I think that's something I am not sure would be a Django project, you need to check some JS packages which does ML by this way those things can be done in client side, Django does backend job not frontend

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

      @@technologyfornoobs will it be running on client cpu?

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

      @@ankitganeshpurkar if its JS then yes.

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

    Thanks a lot for the tomorrow, please can you help with the link to the tutorial you mentioned on how to setup the Django & MongoDB

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

      Actually, what you need to follow for ORM is Djongo library which makes it easy to work on Django+MongoDB.

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

      @@technologyfornoobs Thanks a lot.

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

    I love bro, Thanks C:

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

    Awesome dude

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

    That was very helpful. Thanks for sharing knowledge. Just one more thing can you provide any video regarding connection of MongoDB with django m/c learning app? Thanks and regards.

  • @VishalSharma-rn7mt
    @VishalSharma-rn7mt 4 ปีที่แล้ว

    great video

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

    great post !!!!

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

    can you help...model file is not found error?

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

      you need to provide the model file, check it in github link

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

    can you please tell how can show different plots on home page or any other page?

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

      This video might help you!
      th-cam.com/video/yRjteiImIWw/w-d-xo.html

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

      @@technologyfornoobs Thanks, it was very helpful! Also, is it possible to use seaborn plots instead of javascript plots, if yes, then how?

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

      i am not super sure if we can render the seaborn plots in webpages, as then it would be an image not a graph, I would suggest have a look at plotly dash which will be easier for PoC and not javascript intensive.

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

      @@technologyfornoobs Thank you! Also, can you make a tutorial on using APIs in django. How can we show data from APIs on web pages in formatted manner.

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

    why pandas doent work on my visual code studio? How can i fixed it? (error message should be no module named pandas)

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

      you have to select you env for it, python interpreter in visual studio

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

    how the user inputted data getting preprocessed? is pickel file doing that?

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

    Great Video!

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

    what should I do if I have to send an image instead of text data? I got to save image on to the system using your other tutorial by I am not using Keras and I am struck. So how do I call My ML model that takes the image as input?

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

      def predictleaf(request):
      fileObj=request.FILES['filepath']
      fs=FileSystemStorage()
      filepathname=fs.save(fileObj.name,fileObj)
      import cv2
      filepathname=fs.url(filepathname)
      img_src=cv2.imread({{filepathname}})
      After saving image I am able to print using tag but if I try to read using the imread function its giving MULTI KEY ERROR. Could you please help me resolve this one issue.

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

      To be precise it's giving MultiValueDictKeyError.Please tell me what argument to pass to read the image using imread.

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

      you need file path for imread function, you need filepathname.url which has the path not the object itself, if you look carefully in my code or video I am using .url to get the filePath .

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

      @@technologyfornoobs But if u see my code I used filepathname after applying fs.url() on it.I am new to Django please rectify me if I am wrong. Also now imread is not giving error but returning none type object indeed image is not getting read. Please can you help me out with this!!!
      Just a snippet of what I wrote
      def predictleaf(request):
      fileObj=request.FILES['filepath']
      fs=FileSystemStorage()
      filepathname=fs.save(fileObj.name,fileObj)
      import cv2
      import matplotlib.pyplot as plt
      filepathname=fs.url(filepathname)
      img_src=cv2.imread(filepathname)
      context={'filepathname':filepathname}
      return render(request,'predictleaf.html',context)
      THANKS IN ADVANCE!!!

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

      Well, it was not able to figure out the path i used BASE_DIR and gave full path its working THANKS A LOT !!

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

    my model is in normal .py extension file,not in. pkl.what to do now?

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

      . Py extension is for script its not a model, model can only be saved in some binary representations

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

    just a stupid question why not Flask and react.js why Django (i'm a beginner)?

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

      That's up to you, I prefer Django mostly, you can replace it with flask as well. Flask is plug and play you have to add the component when you need, Django gives framework you use it when you want it. And so far I have not seen any much difference in performance of both frameworks.

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

    hello, i used teachable machine to create my ML model and then exported it as tensorflow.js... i want to deploy it with django , how can i do this??

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

      you need some similar library which can load your js model file into a similar object which you can use again for inference

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

      @@technologyfornoobs library like what? Can u guide me with steps !!?

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

      @@neiveinkhalil1290 You can follow this link www.tensorflow.org/js/guide/conversion

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

    Here ,how to find the accuracy of the model?

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

      Accuracy can be found by simple running the model against separate data set and check the accuracy.

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

    Brother, It was very informative video! Thank you so much for this. I just have a small request, Can I have this PPT? Thanks!

    • @technologyfornoobs
      @technologyfornoobs  2 ปีที่แล้ว +1

      Hi, I am not sure If I can find it, I have misplaced many of the things. sorry! give me the link if you have, may be I will be able to trace it,

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

    I am getting
    "ModuleNotFoundError: No module named 'sklearn.externals.joblib' "
    is any solution available

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

      I have used the old version of sklearn, you might have the latest, In the git repo I have pushed the req.txt file you can use that to get the same sklearn module

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

      import joblib then do joblib.load.......
      i was also having the same problem when i was pickling so i used keras model save as well.

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

    Thanks for great video! Could you make a video to compare Flask Vs. Django for Machine Learning/ Deep Learning deployment?

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

      Great suggestion! but comparison, would be similar because for ML models the response depends on the system configuration more than framework

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

    Sir I'am having one doubt that you are updating the database but that pkl file is already done with initial data what ever we are adding new rows in database is not used for training the next data ,it is just updating database right.. please clarify me

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

      Absolutely correct!

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

      @@technologyfornoobs thanks for replying immediately, sir if we want to train the updated data in database what we have to do?

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

      To train with the new data you can just train it separately and just replace the model file and just reload the model again using some another api

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

      @@technologyfornoobs thank you so much sir 🙏🙏

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

    Really nice work!!

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

      Thank you! Cheers!

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

      @@technologyfornoobs How can I predict on test dataset which will be called via .csv file and get the output in one go.

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

    AttributeError: module 'sklearn.preprocessing' has no attribute 'Imputer'
    How to solve this error?

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

      You are using the latest version of scikit-learn you need to downgrade the package, or better change only the part of Imputer in your code.

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

      @@technologyfornoobs can you please tell how to change the imputer part code?
      or what should be there .thanks in advance

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

    Hi,
    Great video!
    Two questions
    1. Can we run multiple models in Django at the same time? So if I want RandomForest and Linear Regression on same data, do I just import them both.
    2. If I want to run the ML Model by itself on the server and have Django call and execute it, what would I need on the Django side of things?

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

      1. Yes you can run multiple models on the same data not exactly at the same time, but in sequence, or how ever you write the backend logic
      2. what do you mean by run the ML model by itself, your Django is the server which will execute a new data with the model

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

      @@technologyfornoobs I was originally thinking to run multiple ML models separately on a dedicated server, and then put results in a db for django to call from. Is this not recommended?

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

    AttributeError: module 'sklearn.preprocessing' has no attribute 'Imputer'
    need scikit-learn == 0.21.1
    why not use update version

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

      there are some dependencies on older version of scikit-learn in my environment, so didn't updated it.

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

      @@technologyfornoobs
      ow....
      but I think you can make a requirement.txt file
      whatever It's one of the best courses I ever found..
      thanks a lot.....

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

      @@technologyfornoobs what do i do to replace preprocessing.Imputer

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

      They have replace it to sklearn.Impute.Simpleimputer
      scikit-learn.org/stable/modules/generated/sklearn.impute.SimpleImputer.html

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

      @@technologyfornoobs thanks! i also have another question.. about the home loan react django ml.. may i ask if there is a github link for it? cause the one on the video is the corona dashboard :) th-cam.com/video/Tnto7gi6Zzo/w-d-xo.html

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

    i have got some error...the error is ValueError: Buffer dtype mismatch, expected 'SIZE_t' but got 'long long' i knew this error what it is..the error is model trained using 64- a 32-bit to use ..but i can't able solve it..lemme give some solution how can i solve

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

      are you using 2 diff system to train and test the model?

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

      @@technologyfornoobs no sir I'm work one laptop.but I'm working two different ide..for example my model prediction in work on jupiter notebook and creating web app on vs code

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

      then why would it will have this issue,

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

      I dunno bro...that's only reason for i ask to you bro..if you know the solution lemme know about it

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

      @@mageshs5726 can you pull from the github and try the app if it gives the same error.,.

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

    Video quality was not up to the mark at times. Not sure why but the content was really good. Can you also talk about advantages of Django over Flask especially while dealing with ML problems in next videos.

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

      Now the video is available in 4K as well, maybe because of the processing time from TH-cam servers

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

      Sure WIll post the comparison sooner!

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

    I am getting value error :input contains nan,infinite or large value
    But in my dataset there is no nan value and i am not able to open the pickled dataset that is showing unpickling error

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

      Plz help me sir

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

      Error ! Model is not utf-8 encoded
      Saving disabled

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

      I am getting this when i open it in jupyter

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

      first check your python and scikit learn version, I think this will solve ur issue, mine is not the latest version of scikit learn, I have updated the req.txt file in git repo, you can check the version from there. and python version is 3.6.x

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

    Could you tell me is this dynamic ???

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

      Dynamic in the sense, models are not dynamic, they are trained and deployed, if you need updated model, retrain in the backend and change the file.

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

      @@technologyfornoobs oh thank you sir. How can i dynamic my model ??

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

    how to run a database and a server

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

      you need to start a db separately and server separately,

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

    I want to make crime prediction app using Machine Learning which predict crime based on a given dataset. So can I use Django to show the data or should i use Flask and will the video be useful? Please reply

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

      Choose any framework, which you are comfortable with. This video will be useful to you, if you choose Django.

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

      @@technologyfornoobs Thank you so much

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

    I get error local variable 'temp' referenced before assignment
    I use pycharm which gives this error bcz of temp variable is access outside the if loop

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

      where exactly the error you are getting, can you share your stack trace?

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

      @@technologyfornoobs i not able to upload Screenshot of these error

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

      @@savanhirpara3971 can you just copy-paste few lines, or better try pull the code from github and run it in your system, if it works then you can compare the code and see the diff

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

      @@technologyfornoobs sry bro i had a one mistake in code thus it gives error

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

      @@savanhirpara3971 Glad you solved it!

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

    How to get data from csv file, feed it to the ML model and display results on a webpage? Want to do this one-by-one for all the rows of the data in a loop.

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

      there is another tutorial on my channel th-cam.com/video/Tnto7gi6Zzo/w-d-xo.html

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

    Please Create a heart disease prediction app 😊

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

    by any chance , did u record this video while travelling in a flight?

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

    jinja template is not working

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

      Not sure why?, could you please pull the code from github and check whether it works or not

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

    How to integrate django with jupyter notebook

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

      what is the use case?

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

      @@technologyfornoobs same to use tensorflow

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

      @@shivamdubey4783 I am still not clear, why do you need a notebook to use TensorFlow?

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

      @@technologyfornoobs like how you used jupyter notebook and django together in your machine learning and django video sorry bro iam new in programming

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

      @@shivamdubey4783 I have not used notebook inside django, i used it just to create a model and then django is a separate part. similarly you can do with training with tensorflow you don't need django to train model

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

    The joblib library keeps giving me errors and won't let this run

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

      What's the error, joblib is just to save the model file in pickle format.

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

    Amazing content. But how would you update your machine learning model in real time once the django app has been deployed?

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

      you can add the logic to upload the model in your app and choose it as a model, I have a similar approach in my another tutorial,

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

      @@technologyfornoobs can you link us the video to the tutorial you mentioned? thanks

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

      @@afblaze94 I am not sure if you will get the hint th-cam.com/video/6q9Gf3VaHio/w-d-xo.html this is the video, now to update the model in real-time is a different concept altogether, Few conditions needs to be answered first, what is the frequency of model update, what kind of model, bla bla, but the other way to think is> can you just upload the model somehow and replace the model's memory object in your app with the new model object. maybe calling a new API that just changes the model's object in the app, by this way your model is updated.

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

    Hi! Thanks for this awesome video and others! I have a slight issue that I can't seem to fix. I get "ModuleNotFoundError: No module named 'sklearn_pandas'" error when I try to import DataFrameMapper and I have checked online for possible solutions but none worked. Also, I tried installing your req.txt file but I get "ERROR: Could not find a version that satisfies the requirement anaconda-client==1.7.2". Please, can you help with this? thanks.

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

      You need to install sklean_pandas, also are you using Python3.6 version?

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

      @@technologyfornoobs i have sklearn_pandas installed. I am on python 3.7

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

      Try all this in Python 3.6 and then the req. Txt will also work

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

      @@technologyfornoobs Hi thanks for the assistance. But unfortunately, I still get the error when I try to import from sklearn-pandas. I have installed python 3.6.5 and I have also somehow installed the req.txt in vscode although there were still some errors. The bottom line is that I am not able to use "sklearn-pandas". I have read the docs but I am still stuck on that part. I may just skip that part and move on to other parts of the tutorial :(

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

      I am not sure why you will get error when installing packages from req.txt, i would suggest check the env first whether you are activating the right one or not

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

    ImportError: cannot import name 'joblib' from 'sklearn.externals' (C:\Users\akash.pushkar\AppData\Local\Programs\Python\Python38-32\lib\site-packages\sklearn\externals\__init__.py)

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

      Can you please let me know..what am I missing?

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

      I think you are using latest scikit-learn version, please check the req.txt file and install the version which I used, your problem will get solved.

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

      @@technologyfornoobs Thanks for so prompt response. Could you also help us with the batch prediction? How to take test file as a .csv and get the prediction output in a tabular form with an option to export the output. Also, some charts are appreciated. Pls reply. Thanks in advance!

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

      The batch prediction is already covered in react + django tutorial video, you can just take the prediction part and ignore the react js part.

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

    great tutorial but is it possible to apply continuous learning to the Django app

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

      Yes, absolutely, but how exactly have you plan of continuous learning, meaning some kind of reinforcement learning or some kind of re-training of the same model, I implemented one of re-training using Apache beam, not a reinforcement, but it was re-training.

  • @JatinYadav-f2q
    @JatinYadav-f2q 8 หลายเดือนก่อน

    Hii sir, how can I contact you?

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

    God.Am like zero in this api.Did not understood anything.He is like keep going and changing everything.How to create that page in local host first.any link where they teach step bh step how to create api for ml model pls

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

      Creating API for ML models is exactly same as any other API, I am not sure what exactly you could not understand, if you want to start with extreme basic then please do start small and just get hand on Django and then may be all will make sense to you.

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

    Really good video. Please provide the source link in github

  • @Haider_ALI_14-s7d
    @Haider_ALI_14-s7d 4 หลายเดือนก่อน

    I need source code for this

    • @technologyfornoobs
      @technologyfornoobs  หลายเดือนก่อน

      Check the github link in it, or in other latest videos, you can find other helpful repo as well

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

    Sir i want to make a disease prediction system where i will use different machine learning algorithm so i want to ask can i do that with django??

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

      your description is not clear to me, do you want to create app or you want to create a model?

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

      @@technologyfornoobs Web App

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

      the model preparation is a different task the building a web app. if you follow the video you will get it.

  • @techme6053
    @techme6053 9 หลายเดือนก่อน

    I m getting errors only . After copying ur whole code .

    • @technologyfornoobs
      @technologyfornoobs  9 หลายเดือนก่อน

      Check versions of package you are using, my code is old and could be outdated

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

    Leaving trace :)

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

    Have you done same type of video in sentiment analysis ?
    Like if user inputs comment:
    Beside webapp should analyse if it is positive or negative.

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

      I have it with me, but have not recorded yet

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

      ​@@technologyfornoobs I have developed my django web app now in comment section i want to add sentiment analysis of user's comment. The classifier i am trying to use is Naive Bayes.
      I am bit confused if you could upload your video it might be useful for me.
      Which algorithm did you use ?

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

      I have used a word embedding based NN algorithm

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

    I cannot import url from django.conf.urls
    How to solve this problem

  • @JatinYadav-f2q
    @JatinYadav-f2q 8 หลายเดือนก่อน

    Hii Sir, how can I contact you