Scikit learn 1.2 changes the API for the `OneHotEncoder` class. the parameter `sparse` is renamed to `sparse_output` To fix this, all calls to `OneHotEncoder` need to have the parameter name updated
Scikit learn 1.2 changes the API for the
OneHotEncoderclass. the parametersparseis renamed tosparse_outputTo fix this, all calls to
OneHotEncoderneed to have the parameter name updated