Hey brother, my project is laptop price predictor, i have completed machine learning 2 files , df.pkl and pipe.pkl , what can i do please suggest, I'm getting error of this
@@SaiprakashReddy thanks for reply,i had made a django website as per your video using ML,uploaded on github,got a live page also,but that is not working.I think,the project need an environment to work because i run the project on virtual environment in my localhost.It would be better,if you make a video on it,how to upload these projects and get a live page.
Hello sir I have a python project i vs code in which all functions will run only in command in terminal. i want to replace CLI with simple frontend . Please reply thanks sir
Thank you so much for this easy explanation and clean coding, it helped me a lot in implementing one of my ML models using recommendation analysis!! Thanks a lot!
Thanks for this wonderful video. Could you please also share a video on how to deploy or kind of productionize the model using Django. Django's server may not be the best solution to use on production to keep the web site available 24*7. What are the options we do have, there are many video on youtube but all are confusing as none of them ( based on what i found till now) has concrete information. Please have a video on it.
If django's server is not the best solution for production then we can do one thing sir - run our model as an API on cloud (Gcp or AWS etc ) - use any framework(Nodejs etc) of choice to make the website which internally makes api calls to our machine learning model for processing the user requests.
Sir , if we don't need any web interface , what should we do . I want to just integrate the model into Django . Because in my case , i am making the classifier in which user take a pic from mob , and that pic goes to Django Model which gives class no and that class no returned to mobile . how should i do this
I think you can use an API, Just search for Django Rest API. In theory, it would be you clicking an image in phone sending it via an API , the Django backend makes the prediction and send it back with the API.
so i have not used a built in library i have designed a python algorithm, you have use joblib.dump(cls,filename) to save model in the device but i dont have a cls value what do i do to implement my program in django web.
How can I enter the raw and get the class predictions? What changes required in the code?. Currently getting correct class only if scaled data is entered in the data entry form.
I am confused because I train my own object detection tensorflow model and use fasterRCN. My question is how this model deploys my own server? ya make exe? plz suggest to me which is the best type to run model exe/server ?? I have two input and output folders on the desktop in that model and this model runs automatically? because the data comes in the input folder and classification takes place in the data output folder..
It depends on your target audience and the problem you are solving . If they need it as exe then go for it . If they want it as an API then deploy it as an API. If website can serve the purpose then go for server .
@@SaiprakashReddy Hi Kindly help me out. I am stuck with this error. actually i cant load other python packages such as joblib,sklearn ... under views.py, do i need to configure something on settings?
very good .I like the join between the world of web programming (django) and the world of artificial Intelligence that sometimes are not so next related
Can you upload video on deploying dummies feature data...I was trying to heart disease prediction model using django...since its contains dummies data...not able to finish the project..Can you help me please... Hoping for positive response
Hello sir good evening I needed this Django for my ML project implementation. Sir will it work for 3 different prediction models at a time? I mean my project is regarding Health risk assessment which predicts 3 different types of diseases using 3 different ML models. So can I use Django for web development?
Hi sir im very thankfull for this tutorial but i get problem at making data by myself when user input the result page says "buffer dtype mismatch, expected 'SIZE_t' but got 'long' how to handle this sir btw the ML works at my jupyter notebook Thanks sir:)
@@SaiprakashReddy sir the problem's done btw :"") thankyou for your kindness im reinstall my python with 64bit which my latest version is 32bit also my jupyter,pandas etc and its working. Thankyou sirrr regards from indonesia😅😅
Happy to hear . Yeah sometimes bug lies in the versions and becomes challenging to resolve . Glad you could solve it . If any further queries feel free to dm on LinkedIn .
Hello Guneet , Firstly Saying I learnt ML would be an overstatement , there is some much to explore in ML and AI and I barely scratched the surface . Yes I suggest Both ML and DL A-Z courses from the superdatascience team and kiril does a great job of explaining things in a simpler manner . That would be a best starting point for beginners , there is less to no mathematics in the course which makes it easy to follow as beginner . Apart from that Udacity and Coursera (andrewng) has a ML courses that go more in to the mathematics side of things . Highly recommended these .
hey Sai.. This video has really been helpful for me to build an ongoing project. Just wanted to know that I have a categorical column in my input data that i have converted via label encoder on python program and have tested on jupyter notebook which works fine. I have used the same code's sav file to build UI using django framework. Earlier with numerical data, everything worked smoothly, but with categorical dataset, it gives me the error on the webpage as "ValueError at /result/ could not convert string to float: 'Y'". Can you pleaseeee help.
Since there is a categorical to label encoding conversion, you would require to do the same for the user input as well, use the same label encoder for the user input. the dimensions would match now .
@@SaiprakashReddy Hi .. I did try executing my python code on jupyter notebook, it works fine there, i used label Encoder in it. When I'm trying to execute the same code in Django to get the desired output on Webapp.. it says "ValueError at /result/ could not convert string to float: 'Y'". The request given from django.. A1 = str(request.GET['A1']). (doesnt work), replacing str with int/float doesnt work, or not putting anything also isnt working..
Hello pratapsai , Thanks for the sub 🙂. Yes there is a follow-up video on my channel called deploy django to the AWS . I ask you to visit the channel page and you will see with popular upload section .
Bro I didn't see where you have loaded the dataset in django . You just copied the model file to the templates folder. I watched the video twice but didn't find it
Hey prashant , I haven't given the code because the it differs from model to model and it will lead to unnecessary errors . The motive of the video is to be able to deploy any model that can be served using web interface . Hope you understand. Thanks for the suggestion , I have provided the code for all the videos where I can 🙂 .
Thank you so much for simple and easy explaination ...
Tq Junaid , Glad to hear that . That is the motive of this channel . Appreciate the comment ❤️.
@@SaiprakashReddy hello brother can you tell me how can i deploy deep learning model in django
best video to understand basics of django in 30 min. you just told what is exactly needed . Thanks for this video bro.
Thanks 😊 , glad to know that
Hey brother, my project is laptop price predictor, i have completed machine learning 2 files , df.pkl and pipe.pkl , what can i do please suggest, I'm getting error of this
Manchiga cheppinav bro. Thanks!!
Thank you!!! That was very helpful!
Respect from Brazil!
Literally,you helped me a lot.don't know how can i thank you.by the way,i subscribed your channel😊
Glad to hear that 💚
@@SaiprakashReddy thanks for reply,i had made a django website as per your video using ML,uploaded on github,got a live page also,but that is not working.I think,the project need an environment to work because i run the project on virtual environment in my localhost.It would be better,if you make a video on it,how to upload these projects and get a live page.
hello Ashutosh .Check the other video on my channel on the same 😊 .
Donate crypto
Hello sir
I have a python project i vs code in which all functions will run only in command in terminal. i want to replace CLI with simple frontend . Please reply thanks sir
Thank you brother, It will help me to deploy my models using djnago
🙏❤️
Amazing 👍
Hello brother
I wanna ask
The ' lis' value is appear but the ' ans ' not pop out
How to fix it?
Thank you so much for this easy explanation and clean coding, it helped me a lot in implementing one of my ML models using recommendation analysis!!
Thanks a lot!
Thanks Karan , comments like this provide great reinforcement for the channel . Happy that I could help .
make more machine-learning tutorial with simple projects
please
Thanks for this wonderful video. Could you please also share a video on how to deploy or kind of productionize the model using Django.
Django's server may not be the best solution to use on production to keep the web site available 24*7. What are the options we do have, there are many video on youtube but all are confusing as none of them ( based on what i found till now) has concrete information.
Please have a video on it.
If django's server is not the best solution for production then we can do one thing sir
- run our model as an API on cloud (Gcp or AWS etc )
- use any framework(Nodejs etc) of choice to make the website which internally makes api calls to our machine learning model for processing the user requests.
Very nice explanation
Thank you so much it helped me to implement ml in my project 😀
Sir , if we don't need any web interface , what should we do . I want to just integrate the model into Django . Because in my case , i am making the classifier in which user take a pic from mob , and that pic goes to Django Model which gives class no and that class no returned to mobile . how should i do this
I think you can use an API, Just search for Django Rest API. In theory, it would be you clicking an image in phone sending it via an API , the Django backend makes the prediction and send it back with the API.
Thank you brother for such a amazing explanation
many many thanks brother....this video is so much helpful
Glad it helped
at 21:11 what should i write instead of .predict in my model in views.py ??
so i have not used a built in library i have designed a python algorithm, you have use joblib.dump(cls,filename) to save model in the device but i dont have a cls value what do i do to implement my program in django web.
How can I enter the raw and get the class predictions? What changes required in the code?. Currently getting correct class only if scaled data is entered in the data entry form.
I am confused because I train my own object detection tensorflow model and use fasterRCN.
My question is how this model deploys my own server?
ya make exe?
plz suggest to me which is the best type to run model exe/server ??
I have two input and output folders on the desktop in that model and this model runs automatically?
because the data comes in the input folder and classification takes place in the data output folder..
It depends on your target audience and the problem you are solving . If they need it as exe then go for it . If they want it as an API then deploy it as an API. If website can serve the purpose then go for server .
@@SaiprakashReddy my target in this script run automatically in server..
how to solve this target ? i use flask ya django?
@@SaiprakashReddy how to deploy object detection model ?
plz help me
plz share any link ?
When I output my answer it has two square brackets around it. Is there any way to remove these?
answer = str(answer)[2:-2]
This works as it removes two letters from each side. Thanks for the video. Very useful
simple and useful. thank you for your hard work!
Awesome friend, hidden gem 😍
Thank you so much it's awesome
realy it's good job... thanks alot
Straight to the point, thanks bro
Glad to hear that . That is the motive of this channel . Appreciate the comment ❤️.
Great Video. Thanks. Subscribed
Thank you 😊 appreciate that
Thank you for such a wonderful video. Is it possible to use saved trained model for prediction without installing tensorflow or keras ?
Hello, the video is very very helpful.. But I have got stuck somewhere- It says -"No module named joblib" when I run the code. Please help
Hey Aparna ,
I hope the reply mail helped you . Let me know if you need any assistance
I am also stuck with the same error how did you resolve it?
@@mutindafestus5619 use pip install joblib in console to install it first
@@SaiprakashReddy Hi Kindly help me out. I am stuck with this error. actually i cant load other python packages such as joblib,sklearn ... under views.py, do i need to configure something on settings?
nice work
That was simple & easy!! Thanks for it :)
Sir, What if you click submit without inputting data? Mine goes error
Thank so much sir,
can you tell , how to generate python graphs on Web using django ?
use chartjs
Can we use .h5 file other than .sav file ??
You can .
Thankyou brother can you plzz do that for tensor flow also
Thanks brooo , it is so helpful
Glad to hear that
Thank you very much for this !
very good .I like the join between the world of web programming (django) and the world of artificial Intelligence that sometimes are not so next related
Thanks enrico
Valuable video ❤❤
Thanks Ashok
Thank you so much sir ,please could you train a keras model and deploy into django ? i relay on you Sir
Good one, good for college level
Can you upload video on deploying dummies feature data...I was trying to heart disease prediction model using django...since its contains dummies data...not able to finish the project..Can you help me please...
Hoping for positive response
Sir which one i should learn for ML deployment
Django or Flask
Both can do the job , but Django has wide range of applications .
@@SaiprakashReddy ok thank you sir
Very well explained 👍🏻...thnks
Most welcome 😊
Thank you so much for this detailed video! 🙏
Thank you 😊
Good tutorial bro
Nice content ..Thank you !!!
Thank you
Beautifully done
Hello sir good evening
I needed this Django for my ML project implementation. Sir will it work for 3 different prediction models at a time?
I mean my project is regarding Health risk assessment which predicts 3 different types of diseases using 3 different ML models. So can I use Django for web development?
Yes
@@SaiprakashReddy okay. Thank you
Hi sir im very thankfull for this tutorial but i get problem at making data by myself when user input the result page says "buffer dtype mismatch, expected 'SIZE_t' but got 'long' how to handle this sir btw the ML works at my jupyter notebook
Thanks sir:)
Sir help me:"
Its pretty hard to debug with this .... Can you mail me the code or GitHub repo ... I will get back to you saiprakashreddy1409@gmail.com
@@SaiprakashReddy sir the problem's done btw :"") thankyou for your kindness im reinstall my python with 64bit which my latest version is 32bit also my jupyter,pandas etc and its working. Thankyou sirrr regards from indonesia😅😅
Happy to hear . Yeah sometimes bug lies in the versions and becomes challenging to resolve . Glad you could solve it . If any further queries feel free to dm on LinkedIn .
@@SaiprakashReddy done sir please following back on linkedln. God bless you🌞🌞
Bro where did u load the dataset in django?
Watch the video bro
Guessing you learnt ML from the Udemy course (A-Z). Is it something you recommend.
Hello Guneet ,
Firstly Saying I learnt ML would be an overstatement , there is some much to explore in ML and AI and I barely scratched the surface .
Yes I suggest Both ML and DL A-Z courses from the superdatascience team and kiril does a great job of explaining things in a simpler manner . That would be a best starting point for beginners , there is less to no mathematics in the course which makes it easy to follow as beginner . Apart from that Udacity and Coursera (andrewng) has a ML courses that go more in to the mathematics side of things . Highly recommended these .
Good job i loved this tutorial
Simple yet too good ❤️
Thanks for the kind words 🙂 .. That's the goal
Very well explained 👏. Simple and clear 👏
Thanks , that's the motive .
hey Sai.. This video has really been helpful for me to build an ongoing project. Just wanted to know that I have a categorical column in my input data that i have converted via label encoder on python program and have tested on jupyter notebook which works fine. I have used the same code's sav file to build UI using django framework. Earlier with numerical data, everything worked smoothly, but with categorical dataset, it gives me the error on the webpage as "ValueError at /result/
could not convert string to float: 'Y'". Can you pleaseeee help.
Since there is a categorical to label encoding conversion, you would require to do the same for the user input as well, use the same label encoder for the user input. the dimensions would match now .
@@SaiprakashReddy Hi .. I did try executing my python code on jupyter notebook, it works fine there, i used label Encoder in it. When I'm trying to execute the same code in Django to get the desired output on Webapp.. it says "ValueError at /result/
could not convert string to float: 'Y'". The request given from django.. A1 = str(request.GET['A1']). (doesnt work), replacing str with int/float doesnt work, or not putting anything also isnt working..
Crazy good job man I needed this
Happy that it helped 👍 :)
thank you bro
Great video bro, but i am getting error in joblib.load() error is:( Buffer dtype mismatch, expected 'SIZE_t' but got 'long') in web page
can you please sort out this
Make sure if you are using same bit versions
Hi sir, i want to save the result of prediction and show it in html page... How can i handle that??!
Refer my previous video deployment of ml models using django
@@SaiprakashReddy i watched it... İt doesn't contain saving the result of each prediction... Can u guide me plz?!
@@neiveinkhalil1290 for saving all the results from predictions , you have to use database to store them all 👍. Django makes it easy give it a try .
@@SaiprakashReddy ok.. How can i handle that
@@SaiprakashReddyis there is away without using rest framework.. Cause the the Video which u told me aboıt using rest api!!!!
Thank you so much brother.
😊
is there any extension video for this?? deployment in heroku or aws
Hello pratapsai ,
Thanks for the sub 🙂. Yes there is a follow-up video on my channel called deploy django to the AWS . I ask you to visit the channel page and you will see with popular upload section .
Sir attribute error has no attribute result please help
GOAT
Thanks
😊
Noice video bro🔥🔥🔥🔥
Thanks man !!!!!!
thank you so much
Happy to help 🙂 , tqs for the sub btw
🙏
Please provide the link of dataset
Thanks!!!!!!
itts lit
Bro I didn't see where you have loaded the dataset in django . You just copied the model file to the templates folder. I watched the video twice but didn't find it
The model file is the trained model , we use this trained models in deployment . Datasets are for training only .
@@SaiprakashReddy ohh got it thanks!
thank you, can u help me please?
Thanks ❤️❤️
Nice work...Could you please share code
Hey Shreyas ,
I forgot to push it to git that time , currently I don't have access to that Code
5:22 , 18:00
why answer ia always seven
bro code toh de deta description mae
Hey prashant ,
I haven't given the code because the it differs from model to model and it will lead to unnecessary errors . The motive of the video is to be able to deploy any model that can be served using web interface . Hope you understand. Thanks for the suggestion , I have provided the code for all the videos where I can 🙂 .
You are simply reading out the code lines and not explaining them. Absolutely horrible tutorial bro
Hi shrey , thanks for the feedback.