CoOL_1_initiate_neural_network {CoOL} R Documentation

## Initiates a non-negative neural network

### Description

This function initiates a non-negative neural network. The one-hidden layer non-negative neural network is designed to resemble a DAG with hidden synergistic components. With the model, we intend to learn the various synergistic interactions between the exposures and outcome. The model needs to be non-negative and estimate the risk on an additive scale. Neural networks include hidden activation functions (if the sum of the input exceeds a threshold, information is passed on), which can model minimum threshold values of interactions between exposures. We need to specify the upper limit of the number of possible hidden activation functions and through model fitting, the model may be able to learn both stand-alone and synergistically interacting factors.

### Usage

CoOL_1_initiate_neural_network(inputs, output, hidden = 10)


### Arguments

 inputs The number of exposures. output The outbut variable is used to calcualte the mean of it used to initiate the baseline risk. hidden Number of hidden nodes.

### Details

The non-negative neural network can be denoted as:

P(Y=1|X^+)=∑_{j}\Big(w_{j,k}^+ReLU_j\big(∑_{i}(w_{i,j}^+X_i^+) + b_j^-\big)\Big) + R^{b}

### Value

A list with connection weights, bias weights and meta data.

### References

Rieckmann, Dworzynski, Arras, Lapuschkin, Samek, Arah, Rod, Ekstrom. Causes of outcome learning: A causal inference-inspired machine learning approach to disentangling common combinations of potential causes of a health outcome. medRxiv (2020) <doi:10.1101/2020.12.10.20225243>

### Examples

#See the example under CoOL_0_working_example



[Package CoOL version 1.0.3 Index]