Error " Updating data from xxx.xml failed. This may imply that unmatched PMML files..." in PMML deployment
book
Article ID: KB0074324
calendar_today
Updated On:
Products
Versions
Spotfire Statistica
12.7 and later
Description
When deploying PMML to make prediction for new data, you may encounter the following error message::
"Error: Updating data from xxx.xml failed. This may imply that unmatched PMML files are loaded together, or that input data does not match the information from the PMML file. Please check variable names or number of variables included in the model."
Possible causes: all analyses models saved in the PMML files must have the same number of input-target variables with matching names and orders. All categorical variables must have the same number of categories and be presented in the same order. The variable names are case sensitive.
Issue/Introduction
Error " Updating data from xxx.xml failed. This may imply that unmatched PMML files..." in PMML deployment
Resolution
Compare names, letter cases, orders and numbers of the input-target variables in the PMML files and current input data. Deploying a saved model in the PMML file requires those to be exactly the same.