View source: R/CoOL_functions.R
CoOL_3_plot_neural_network | R Documentation |
This function plots the non-negative neural network
CoOL_3_plot_neural_network( model, names, arrow_size = NA, title = "Model connection weights and intercepts", restore_par_options = TRUE )
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. |
A plot visualizing the connection weights.
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>
#See the example under CoOL_0_working_example
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.