CoOL_3_plot_neural_network {CoOL} | R Documentation |
Plotting the non-negative neural network
Description
This function plots the non-negative neural network
Usage
CoOL_3_plot_neural_network(
model,
names,
arrow_size = NA,
title = "Model connection weights and intercepts",
restore_par_options = TRUE
)
Arguments
model |
The fitted non-negative neural network. |
names |
Labels of each exposure. |
arrow_size |
Define the arrow_size for the model illustration in the reported training progress. |
title |
Title on the plot. |
restore_par_options |
Restore par options. |
Value
A plot visualizing the connection weights.
References
Rieckmann, Dworzynski, Arras, Lapuschkin, Samek, Arah, Rod, Ekstrom. 2022. Causes of outcome learning: A causal inference-inspired machine learning approach to disentangling common combinations of potential causes of a health outcome. International Journal of Epidemiology <https://doi.org/10.1093/ije/dyac078>
Examples
#See the example under CoOL_0_working_example
[Package CoOL version 1.1.2 Index]