I'm using the Classification Learner App from MATLAB to examine features from medical images. The features are loaded into MATLAB from an excel file.
As you can see below these features can have pretty long names.
The Classification Learner App shortens these variable names to some variable name length limit without spaces. The variable name shown above gets shortened to:
After training a model with the App (e.g. trainedModel), this can be verified when using: trainedModel.RequiredVariables.
I want to validate the trainedModel with an external validation dataset. To this end I'm making a MATLAB table with rows and columns respectively equal to patient and feature (analog to the training data). The variable names need to be equal to the variable names of the trainedModel. However I don't know what method the Classification Learner App used to shorten the variables. Can somebody point this method out?
I know an easy way to get around this would be to rename the variables. However there are thousands of variables, so I would like to avoid this.
Thanks in advance