Attributeerror: 'simpleimputer' Object Has No Attribute '_validate_data' In Pycaret
I am using PyCaret and get an error. AttributeError: 'SimpleImputer' object has no attribute '_validate_data' Trying to create a basic instance. # Create a basic PyCaret instance
Solution 1:
The problem here is with the imputation. The default per pycaret documentation is 'simple' but in this case, you need to make that imputation_type='iterative'
for it to work.
Solution 2:
It's incompatibility of library, install pycaret again with: pip install pycaret pandas shap
Post a Comment for "Attributeerror: 'simpleimputer' Object Has No Attribute '_validate_data' In Pycaret"