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. 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]