Hindi Machine Learning Tutorial 5 - Save Model Using Joblib And Pickle

Поделиться
HTML-код
  • Опубликовано: 7 фев 2025
  • Training machine learning model can be quite time consuming if training dataset is very big. In this case it makes sense to train a model and save it to a file so that later on while making predictions you can just load that model from a file and you don't need to train it every time. Pickle and sklearn joblib modules can be used for this purpose. Joblib seems to be more efficient with big numpy arrays hence it is preferred when you have many numpy objects involved in your training step.
    #MachineLearningHindi #PythonMachineLearning #MachineLearningTutorial #Python #PythonTutorial #PythonTraining #MachineLearningCource #Joblib
    Code: github.com/cod...
    To download csv and code for all tutorials: go to github.com/cod..., click on a green button to clone or download the entire repository and then go to relevant folder to get access to that specific file.
    Website: codebasicshub.com/
    Facebook: / codebasicshub
    Twitter: / codebasicshub

Комментарии • 25

  • @codebasicsHindi
    @codebasicsHindi  2 года назад +1

    Check out our premium machine learning course with 2 Industry projects: codebasics.io/courses/machine-learning-for-data-science-beginners-to-advanced

  • @SufiyanSiddique
    @SufiyanSiddique 3 года назад +2

    Your explanation is quite simple and clear. please upload more videos on machine learning and also deep learning.

  • @Romanticsongslistening
    @Romanticsongslistening Год назад +1

    Aap apne experience se batye ki AI, machine learning yaa deep learning me kaun saa best hai sikhne ke liye janne ke liye aur samjhne ke liye. Maine abhi tak jo idhar udhar se info liya hai usse to yahi lagta hai AI ko padhna , Janna aur samjhna Jayda important hai 🤫

  • @akshatsingh6036
    @akshatsingh6036 4 года назад

    thank you sir for these great lectures they are very easy to understand.

  • @sagar8460830871
    @sagar8460830871 5 лет назад +2

    thank you so much sir you are amazing. can you teach us image processing because image processing is a highly tranding in Data Science . your teaching skill is very easy. i understand easily all tutorial. thank you so much for this

    • @codebasicsHindi
      @codebasicsHindi  5 лет назад

      Sagar, sure I have noted down the topic and I will make special tutorials on this in future. As such if you follow my English channel then my second tutorial on deep learning series is on image processing. Check it out

  • @mayanklohani19
    @mayanklohani19 4 года назад +6

    FOR THOSE WHO ARE GETTING ERROR WHILE RUNNING JOBLIB. DIRECTLY IMPORT JOBLIB LIKE THIS. import joblib, IT WILL WORK

  • @adityachoudhary4306
    @adityachoudhary4306 2 года назад +1

    LAST EXERCISE :
    "''' Good students always try to solve exercise on their own first and then look at the ready made solution
    I know you are an awesome student !! :)
    Hence you will look into this code only after you have done your due diligence.
    If you are not an awesome student who is full of laziness then only you will come here
    without writing single line of code on your own. In that case anyways you are going to
    face my anger with fire and fury !!!" 🤣🤣🤣🤣🤣🤣🤣🤣🤣
    awesome🤣🤣🤣🤣

  • @masumabedin3872
    @masumabedin3872 4 года назад

    If u give More videos then it can help so much

  • @lakshyapratapsigh3518
    @lakshyapratapsigh3518 3 года назад

    THANK YOU SIR IN HINDI

    • @divitpatidar8253
      @divitpatidar8253 3 года назад

      bha ye error nai aaya kya ?
      with open('model_pickle','wb') as file:
      pickle.dump(model,file)
      NameError: name 'model' is not defined

    • @neerajrokaya1132
      @neerajrokaya1132 3 года назад

      @@divitpatidar8253 rerun your every code. It runs if you have saved your previous model as model

  • @uchihaa_kakashi
    @uchihaa_kakashi Год назад

    Second method : 4:23

  • @uddiptasaikia3121
    @uddiptasaikia3121 Год назад

    Sir, when i am using mp.coef_ and mp.intercept_ and mp.predict(...) , it is showing an error that 'Dataframe has no attribute 'coef_' like this...please give me a solution.

  • @sameer9045
    @sameer9045 2 года назад

    i do practice on Google colab , and i'don't know where did my pickle file went ? any idea?

  • @mehfooztech2042
    @mehfooztech2042 Год назад

    Hey Sir, Can I use pickle file for my model and then i can run that predict file with Django? is it true we can do like this?

  • @s.husain6125
    @s.husain6125 5 лет назад

    How to deploy this saved model and consume using rest api Sir

    • @codebasicsHindi
      @codebasicsHindi  5 лет назад

      Sure I will add tutorial on that

    • @rajeshpurshottamgupta8752
      @rajeshpurshottamgupta8752 4 года назад

      @@codebasicsHindi sir videos aane band kyu hogaye plz aur videos dalo ml k aur deep learning bhi sikhao sir

  •  10 месяцев назад

    1:10

  • @khalidnawaz6536
    @khalidnawaz6536 11 месяцев назад

    Bhai bahutushkil hai meray sir sey bunce ho raha hai😂