0
$\begingroup$

I am trying to extract data types of variables/features from a pickled ML model file. I could see there is no information of the data types of variables in pickle file except for XG Boost. Is there any way to extract the data type information from pickle model file for other ML algorithms?

$\endgroup$
2
  • 1
    $\begingroup$ Most types of model use only numerical values, so in most cases anyway it would be impossible to know if the original features before representation were categorical (in particular strings). $\endgroup$
    – Erwan
    Commented May 2, 2022 at 18:41
  • $\begingroup$ Thanks for the information @Erwan $\endgroup$ Commented May 3, 2022 at 16:46

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.