Package: nndiagram 1.0.0

nndiagram: Generator of 'LaTeX' Code for Drawing Neural Network Diagrams with 'TikZ'

Generates 'LaTeX' code for drawing well-formatted neural network diagrams with 'TikZ'. Users have to define number of neurons on each layer, and optionally define neuron connections they would like to keep or omit, layers they consider to be oversized and neurons they would like to draw with lighter color. They can also specify the title of diagram, color, opacity of figure, labels of layers, input and output neurons. In addition, this package helps to produce 'LaTeX' code for drawing activation functions which are crucial in neural network analysis. To make the code work in a 'LaTeX' editor, users need to install and import some 'TeX' packages including 'TikZ' in the setting of 'TeX' file.

Authors:Chencheng Fang [aut, cre]

nndiagram_1.0.0.tar.gz
nndiagram_1.0.0.zip(r-4.5)nndiagram_1.0.0.zip(r-4.4)nndiagram_1.0.0.zip(r-4.3)
nndiagram_1.0.0.tgz(r-4.4-any)nndiagram_1.0.0.tgz(r-4.3-any)
nndiagram_1.0.0.tar.gz(r-4.5-noble)nndiagram_1.0.0.tar.gz(r-4.4-noble)
nndiagram_1.0.0.tgz(r-4.4-emscripten)nndiagram_1.0.0.tgz(r-4.3-emscripten)
nndiagram.pdf |nndiagram.html
nndiagram/json (API)
NEWS

# Install 'nndiagram' in R:
install.packages('nndiagram', repos = c('https://ccfang2.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/ccfang2/nndiagram/issues

On CRAN:

latex

4 exports 14 stars 1.70 score 16 dependencies 3 scripts 129 downloads

Last updated 1 years agofrom:37e13168c6. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 10 2024
R-4.5-winOKSep 10 2024
R-4.5-linuxOKSep 10 2024
R-4.4-winOKSep 10 2024
R-4.4-macOKSep 10 2024
R-4.3-winOKSep 10 2024
R-4.3-macOKSep 10 2024

Exports:activation_curvenndiagramnndiagram_nodeCoverupnndiagram_oversize

Dependencies:clidplyrfansigenericsgluelifecyclemagrittrpillarpkgconfigR6rlangtibbletidyselectutf8vctrswithr