Tips N Tricks #5: 3 Simple and Easy Ways to Cache Functions in Python @abhishekkrthakur
Tips N Tricks #5: 3 Simple and Easy Ways to Cache Functions in Python  @abhishekkrthakur
Uploaded March 2020 | Updated November 2026, 1 day ago
In this video, I show three different and simple ways in which you can cache a function in python. Caching is one of the very important things when you are working in data science and machine learning. When there are a lot of requests to a function, you don't want to run and process all the data for each an every request. Instead, sometimes you just want to cache :)

If you like this video, don't forget to click on the like button and subscribe to my channel. :)

BERT Sentiment model link: github.com/abhishekkrthakur/bert-sentiment

Kernel Link: kaggle.com/abhishek/3-different-ways-to-cache-a-function-in-python

Follow me on:
Twitter: twitter.com/abhi1thakur
LinkedIn: linkedin.com/in/abhi1thakur
Kaggle: kaggle.com/abhishek
Tips N Tricks #5: 3 Simple and Easy Ways to Cache Functions in PythonKaggles 30 Days Of ML (Competition Part-5): Model Blending 101Captcha recognition using PyTorch (Convolutional-RNN + CTC Loss)Kaggles 30 Days Of ML (Day-11): Machine Learning Model to Predict House Prices (Intro to ML Ends)Train LLMs in just 50 lines of code!Kaggles 30 Days Of ML (Day-7): Working with external libraries in Python (final python day)Kaggles 30 Days Of ML (Day-9): First Machine Learning Model and ValidationHow to train & deploy transformer models (BERT, RoBERTa, XLNet, etc.) without writing any code!Run LLAMA-v2 chat locallyHow to train a deep learning model using docker?Building a recommendation system using deep learningBuilding an entity extraction model using BERT
Abhishek Thakur |

Tips N Tricks #5: 3 Simple and Easy Ways to Cache Functions in Python

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER