calculate {agena.ai}R Documentation

Calculate posterior probabilities in a BN on agena.ai cloud

Description

A function to send an input Bayesian network model to Agena AI Cloud servers. Once called, the function will check authentication status, if it has not expired, it will send the POST request with the model to the servers, and receive calculation results to update the Bayesian network model (filling the results field with calculation results).

Usage

calculate(input_model, login, dataSet = NULL, debug = FALSE)

Arguments

input_model

an R model object

login

an agena.ai cloud login

dataSet

a dataSet in the R model object

debug

boolean parameter to display debug messages or not

Value

BN inference results in the model


[Package agena.ai version 1.1.1 Index]