Models

The PMN 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 accessed using Microsoft Excel, R, Python, JavaScript, or pretty much any other programming language that supports standard RESTful APIs.

 
Ready to go? Head to the Model Repository Page
Need more help? 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 access to the models. 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 page 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 Peer Models Network cloud. 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 page 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

 

The PMN 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 page 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 the PMN cloud, send us a quick note with your name, affiliation, use case, and the name of the model you would like to access. 

Share Your Models

 

The current version of the PMN cloud is able to host decision-analytic and clinical prediction models developed in R. If you have a model that you'd like to share with others, contact us to learn how.

FIA20200403_Stephanie-Harvard_PMN-Websit
  • Twitter
Follow us on Twitter @PeerModels for all the latest updates, plus real-time discussion among network members.
© Peer Models Network 2020