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

Поділитися
Вставка
  • Опубліковано 14 жов 2024
  • 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.

  • @sunilkumar-pe6gk
    @sunilkumar-pe6gk 8 місяців тому +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 🤫

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

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

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

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

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

  • @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 Рік тому +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🤣🤣🤣🤣

  • @sameer9045
    @sameer9045 Рік тому

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

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

  • @s.husain6125
    @s.husain6125 4 роки тому

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

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

      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

  •  6 місяців тому

    1:10

  • @khalidnawaz6536
    @khalidnawaz6536 7 місяців тому

    Bhai bahutushkil hai meray sir sey bunce ho raha hai😂