For the latest version of JMP Help, visit JMP.com/help.


Predictive and Specialized Modeling > Formula Depot > Example of the Formula Depot
Publication date: 04/21/2023

Image shown hereExample of the Formula Depot

This example uses an existing script in a sample data table to generate a model and then publishes the prediction formula from the model to the Formula Depot. The data table contains data on the severity of liver cancer in patients when they entered a study.

1. Select Help > Sample Data Folder and open Liver Cancer.jmp.

2. Click the green triangle next to the Lasso Poisson, Validation Column script.

3. Click the red triangle next to Poisson Adaptive Lasso with Validation Column and select Save Columns > Publish Prediction Formula.

This option opens a Formula Depot that contains the prediction formula for the Fit Generalized model.

4. To add the prediction formula to the data table, select Run Script from the Fit Generalized - Node Count red triangle in the Formula Depot.

Note: The result of step 3 and step 4 can be obtained using the Save Columns > Save Prediction Formula at step 3. However, then the prediction formula is not part of the Formula Depot

5. To generate scoring code for use outside of JMP select a code type from the Fit Generalized - Node Count red triangle. A script window appears containing the code. See Generate Scoring Code from the Formula Depot Platform.

6. To save the Formula Depot, select File > Save.

Note: The Formula Depot is saved as a JMP Report File (*.jrp).

Figure 13.2 Formula Depot with a Generalized ModelĀ 

Formula Depot with a Generalized Model

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).