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

From the creator

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: https://github.com/abhishekkrthakur/bert-sentiment/ Kernel Link: https://www.kaggle.com/abhishek/3-different-ways-to-cache-a-function-in-python Follow me on: Twitter: https://twitter.com/abhi1thakur LinkedIn: https://www.linkedin.com/in/abhi1thakur/ Kaggle: https://kaggle.com/abhishek

Find a job · 1 live role

Jobs in AI.
Apply now.

Apply once › get screened › meet the company

See all roles

More like this

Running one yourself?

List your AI event,
wherever it is.

A meetup, a workshop, a hackathon, a conference. Any city, or online. Tell us about it and it lands in front of people already learning this stuff.