FIA20200403_Stephanie-Harvard_PMN-Websit

PRISM

The PRISM platform allows users to directly access models on the cloud. Users can interact with models without worrying about setting up the required software environment and accessing high-performance computing power. Models can be accessed using Microsoft Excel, R, Python, JavaScript, or other programming languages that support standard RESTful APIs. 

 

Ready to go? Head to the Model Repository  Need instruction? Keep reading

Access Models Through Microsoft Excel

Many of the models hosted in the repository come with a Macro-enabled Microsoft Excel file that simplify model access. The Excel spreadsheet will include a list of model inputs, which can be changed by the user, and automatically populate numerical and graphical results. All you need to do is the download the spreadsheet, change input parameters to those of your choice, and click "Run". To find the Excel sheet for the model of your choice, head to the model repository and click on the name of the model you are interested in. 

Access Models Through R

The client R package "peermodels" can be used to easily access the models hosted on the PRISM platform. You can use the package to retrieve default input parameters for a model, change the parameters as needed, and run the model remotely with the new parameters. To access your model of choice in R, go to the model repository and click on the name of the model you are interested in. You will need an API key to access the model of your

choice. Read below to find out how to apply for an API key. 

REST APIs

PRISM allows users to directly access models on the cloud using standard RESTful APIs that can be called from Python, JavaScript, and pretty much any modern programming language that supports html APIs. Many of the models listed in the model repository include sample API calls in "curl". You will need an API key to access the model of your choice. Read below to find out how to apply for an API key. 

Get Your API Key

Our current funding from provincial and federal agencies enable us to provide free access to the models hosted on the cloud. If you need an API key to access a model of your choice on PRISM, email stephanie.harvard@ubc.ca with your name, affiliation, use case, and the name of the model you would like to access. 

Share Your Models

The current version of PRISM is able to host decision-analytic and clinical prediction models developed in R or C++. If you have a model that you'd like to share with others, email stephanie.harvard@ubc.ca to learn how.