Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-5462

Provide default model name for Pmml models without it

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None

      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

       

            gcardosi Gabriele Cardosi (Inactive)
            gcardosi Gabriele Cardosi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: