I am continuously getting this error in streamlit while predicting. AttributeError: âDecisionTreeClassifierâ object has no attribute âmonotonic_cstâ
I have tried using joblib and pickle both, incase there is issue with them.
I saw solutions of changing the sklearn version but nothing seems to be working for me. I have tried these version in the requirements.txt file : streamlit==1.31.1
scikit-learn==1.3.0 / 1.3.2. (tried both)
Can someone please suggest me a solution for this?