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?
$\begingroup$
$\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$– ErwanCommented May 2, 2022 at 18:41
-
$\begingroup$ Thanks for the information @Erwan $\endgroup$– Bhageerath NayiniCommented May 3, 2022 at 16:46
Add a comment
|