Getting 'AttributeError: Can't get attribute 'DeprecationDict' on <module 'sklearn.utils.deprecation'' this error while executing ML project
You used a new version of sklearn to load a model which was trained by an old version of sklearn.
So, the options are:

Retrain the model with current version of sklearn if you have the
training script and data
Or fall back to the lower sklearn version
reported in the warning message
AttributeError: Can't get attribute 'DeprecationDict' on 
Showing error in model = pickle.load(open('rf_regression_model.pkl', 'rb')) this line.