SPSS Statistics

 View Only
  • 1.  PMML with Time Series

    Posted Tue October 11, 2022 04:43 PM

    Good afternoon, could you tell me how to enable the export to PMML?


    ------------------------------
    Mauricio Mora
    ------------------------------

    #SPSSStatistics


  • 2.  RE: PMML with Time Series

    Posted Tue October 11, 2022 05:20 PM
    Looks like a bug.

    Workaround it for the time being by pasting the syntax and adding OUTPMML:

    TSMODEL...
      /MODEL ...   OUTPMML="<your file>"
     / ...

    ------------------------------
    Rick Marcantonio
    Quality Assurance
    IBM
    ------------------------------



  • 3.  RE: PMML with Time Series

    Posted Tue October 11, 2022 05:37 PM
    perfect, it worked for me. Thank you very much.
    
    Additional doubt, I understood that by exporting to PMML I could use the equation to predict. However, what I see is that the betas and forecasts are saved, but not the equation itself.
    
    What is the function of exporting to PMML or XML?
    
    If I want to have the equation for use in a different environment than Statistics, is this possible?


    ------------------------------
    Mauricio Mora
    ------------------------------



  • 4.  RE: PMML with Time Series

    Posted Tue October 11, 2022 06:06 PM
    One purpose of exporting the model is to have another modeling program read it and calculate predictions ("scoring").

    SPSS can do that internally as well. For example, one dataset is used to create the model (and so the PMML). Then, a different dataset is scored, using the MODEL HANDLE command and the APPLYMODEL function. See here for more details.

    ------------------------------
    Rick Marcantonio
    Quality Assurance
    IBM
    ------------------------------



  • 5.  RE: PMML with Time Series

    IBM Champion
    Posted Wed October 12, 2022 03:02 PM
    PMML is a standard across vendors, so you might find an official formula in the DMG materials.

    You might find the STATS PMML DISPLAY extension command useful in seeing the contents of the PMML file.  You can install it via Extensions > Extension Hub if you want to try it.

    --





  • 6.  RE: PMML with Time Series

    Posted Fri January 20, 2023 09:32 AM
    Hello!
    Will it be possible to provide me that time-series.pmml file please? Actually I am trying to generate the file from SPSS but I am amateur on this platform. If possible, can you give that PMML please?

    I need to see how that works with JPMML library.
    Thanks.

    ------------------------------
    Kaka Kaki
    ------------------------------