Provide default model name for Pmml models without it
-----------------------------------------------------
Key: DROOLS-5462
URL:
https://issues.redhat.com/browse/DROOLS-5462
Project: Drools
Issue Type: Feature Request
Reporter: Gabriele Cardosi
Assignee: Gabriele Cardosi
Priority: Major
Labels: TrustyAI
modelName attribute is not mandatory from PMML specs.
With this ticket a "default" one will be provided soon after pmml file is
"unmarshalled" to pmml java instance.
Generated name would be
_Pmml File Name_ + _model type_ + _index_ (inside models list)
e.g.
Pmml File "TestSample.pmml"
Model type "Regression"
Position : second (index =1)
generated modelName
_TestSampleRegression1_