Package: DDESONN 7.1.11

DDESONN: A Deep Dynamic Experimental Self-Organizing Neural Network Framework

Provides a fully native R deep learning framework for constructing, training, evaluating, and inspecting Deep Dynamic Ensemble Self Organizing Neural Networks at research scale. The core engine is an object oriented R6 class-based implementation with explicit control over layer layout, dimensional flow, forward propagation, back propagation, and transparent optimizer state updates. The framework does not rely on external deep learning back ends, enabling direct inspection of model state, reproducible numerical behavior, and fine grained architectural control without requiring compiled dependencies or graphics processing unit specific run times. Users can define dimension agnostic single layer or deep multi-layer networks without hard coded architecture limits, with per layer configuration vectors for activation functions, derivatives, dropout behavior, and initialization strategies automatically aligned to network depth through controlled replication or truncation. Reproducible workflows can be executed through high level helpers for fit, run, and predict across binary classification, multi-class classification, and regression modes. Training pipelines support optional self organization, adaptive learning rate behavior, and structured ensemble orchestration in which candidate models are evaluated under user specified performance metrics and selectively promoted or pruned to refine a primary ensemble, enabling controlled ensemble evolution over successive runs. Ensemble evaluation includes fused prediction strategies in which member outputs may be combined through weighted averaging, arithmetic averaging, or voting mechanisms to generate consolidated metrics for research level comparison and reproducible per-seed assessment. The framework supports multiple optimization approaches, including stochastic gradient descent, adaptive moment estimation, and look ahead methods, alongside configurable regularization controls such as L1, L2, and mixed penalties with separate weight and bias update logic. Evaluation features provide threshold tuning, relevance scoring, receiver operating characteristic and precision recall curve generation, area under curve computation, regression error diagnostics, and report ready metric outputs. The package also includes artifact path management, debug state utilities, structured run level metadata persistence capturing seeds, configuration states, thresholds, metrics, ensemble transitions, fused evaluation artifacts, and model identifiers, as well as reproducible scripts and vignettes documenting end to end experiments. Kingma and Ba (2015) <doi:10.48550/arXiv.1412.6980> "Adam: A Method for Stochastic Optimization". Hinton et al. (2012) <https://www.cs.toronto.edu/~tijmen/csc321/slides/lecture_slides_lec6.pdf> "Neural Networks for Machine Learning (RMSprop lecture notes)". Duchi et al. (2011) <https://jmlr.org/papers/v12/duchi11a.html> "Adaptive Subgradient Methods for Online Learning and Stochastic Optimization". Zeiler (2012) <doi:10.48550/arXiv.1212.5701> "ADADELTA: An Adaptive Learning Rate Method". Zhang et al. (2019) <doi:10.48550/arXiv.1907.08610> "Lookahead Optimizer: k steps forward, 1 step back". You et al. (2019) <doi:10.48550/arXiv.1904.00962> "Large Batch Optimization for Deep Learning: Training BERT in 76 minutes (LAMB)". McMahan et al. (2013) <https://research.google.com/pubs/archive/41159.pdf> "Ad Click Prediction: a View from the Trenches (FTRL-Proximal)". Klambauer et al. (2017) <https://proceedings.neurips.cc/paper/6698-self-normalizing-neural-networks.pdf> "Self-Normalizing Neural Networks (SELU)". Maas et al. (2013) <https://ai.stanford.edu/~amaas/papers/relu_hybrid_icml2013_final.pdf> "Rectifier Nonlinearities Improve Neural Network Acoustic Models (Leaky ReLU / rectifiers)".

Authors:Mathew William Armitage Fok [aut, cre]

DDESONN_7.1.11.tar.gz
DDESONN_7.1.11.zip(r-4.7-any)DDESONN_7.1.11.zip(r-4.6-any)DDESONN_7.1.11.zip(r-4.5-any)
DDESONN_7.1.11.tgz(r-4.6-any)DDESONN_7.1.11.tgz(r-4.5-any)
DDESONN_7.1.11.tar.gz(r-4.7-any)DDESONN_7.1.11.tar.gz(r-4.6-any)
DDESONN_7.1.11.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
DDESONN/json (API)

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

Bug tracker:https://github.com/mathatter/ddesonn/issues

On CRAN:

Conda:

5.70 score 14 scripts 295 downloads 95 exports 37 dependencies

Last updated from:5dd541a7fe. Checks:7 ERROR, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develERROR154
source / vignettesOK845
linux-releaseERROR154
macos-releaseERROR118
macos-oldrelERROR106
windows-develERROR123
windows-releaseERROR113
windows-oldrelERROR89
wasm-releaseOK106

Exports:arctangentarctangent_derivativebent_identitybent_identity_derivativebent_relubent_relu_derivativebent_sigmoidbent_sigmoid_derivativebent_swishbent_swish_derivativebinary_activationbinary_activation_derivativecustom_activationcustom_activation_derivativecustom_bent_piecewisecustom_bent_piecewise_derivativecustom_binary_activationcustom_binary_activation_derivativeddesonn_activation_defaultsDDESONN_activation_defaultsddesonn_artifacts_rootDDESONN_artifacts_rootddesonn_debug_stateddesonn_dropout_defaultsDDESONN_dropout_defaultsddesonn_fitDDESONN_fitddesonn_modelDDESONN_modelddesonn_optimizer_optionsDDESONN_optimizer_optionsddesonn_plots_dirDDESONN_plots_dirddesonn_predictDDESONN_predictddesonn_runDDESONN_runddesonn_sequence_dataddesonn_ssm_backwardddesonn_ssm_encodeddesonn_ssm_forwardddesonn_ssm_initddesonn_ssm_reset_stateddesonn_training_defaultsDDESONN_training_defaultseluelu_derivativegaussiangaussian_derivativegelugelu_derivativehard_sigmoidhard_sigmoid_derivativeidentityidentity_derivativeinverse_linear_unitinverse_linear_unit_derivativeisrluisrlu_derivativeleaky_bentleaky_bent_derivativeleaky_reluleaky_relu_derivativeleaky_seluleaky_selu_derivativemaxoutmaxout_derivativemishmish_derivativeparametric_bent_reluparametric_bent_relu_derivativepreluprelu_derivativerelurelu_derivativeseluselu_derivativesigmoidsigmoid_binarysigmoid_binary_derivativesigmoid_derivativesigmoid_sharpsigmoid_sharp_derivativesinusoidsinusoid_derivativesoftmaxsoftmax_derivativesoftplussoftplus_derivativeswishswish_derivativetanhtanh_derivativetanh_relu_hybridtanh_relu_hybrid_derivative

Dependencies:clicpp11digestdplyrfarvergenericsggplot2gluegtableisobandlabelinglifecyclemagrittropenxlsxpillarpkgconfigplyrpROCPRROCpurrrR6RColorBrewerRcppreshape2rlangS7scalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithrzip

DDESONN Main / Change / Movement Logs - Ensemble Runs: Scenario D
Data prep | Scenario D - Ensemble runs (TEMP iterations only) | Interpreting the Scenario D Logs

Last update: 2026-03-09
Started: 2026-02-23

DDESONN vs Keras — 1000-Seed Summary — Heart Failure
Overview | Where the demo data lives | Motivation and comparison philosophy | Load DDESONN runs and build the summary | Keras parity (Excel, Sheet 2) | 🔬 Benchmark results across 1000 seeds | Why this matters for large-scale projects | Enterprise machine learning pipelines | Trading and financial systems | Healthcare and regulated environments | Aerospace and autonomous systems | Reproducibility notes | Distributed execution (scaling note)

Last update: 2026-03-09
Started: 2026-03-09

DDESONN — Plot Controls — Scenario 1 — Ensemble Runs: Scenario C & D
Plot Interface — Scenario 1 | Independent Call Sites (training_overrides) | Related Interface | Plot Controls: Scenario 1 — Ensemble Run — Scenario C | Plot Controls: Scenario 1 — Ensemble Runs — Scenario D

Last update: 2026-02-23
Started: 2026-01-30

DDESONN — Plot Controls — Scenario 1 & 2 — Single Run: Scenario A
Plot Interface — Scenario 1 vs Scenario 2 | Scenario 1 — Independent Call Sites (training_overrides) | Scenario 2 — Unified Umbrella (plot_controls) | Scenario 2 — One plot_controls umbrella (Single Run: Scenario A)

Last update: 2026-02-23
Started: 2026-01-30

Readme and manuals

Help Manual

Help pageTopics
Legacy alias for 'ddesonn_activation_defaults()'DDESONN_activation_defaults ddesonn_activation_defaults
Activation derivatives (DDESONN)arctangent_derivative bent_identity_derivative bent_relu_derivative bent_sigmoid_derivative bent_swish_derivative binary_activation_derivative custom_activation_derivative custom_bent_piecewise_derivative custom_binary_activation_derivative ddesonn_activation_derivatives elu_derivative gaussian_derivative gelu_derivative hard_sigmoid_derivative identity_derivative inverse_linear_unit_derivative isrlu_derivative leaky_bent_derivative leaky_relu_derivative leaky_selu_derivative maxout_derivative mish_derivative parametric_bent_relu_derivative prelu_derivative relu_derivative selu_derivative sigmoid_binary_derivative sigmoid_derivative sigmoid_sharp_derivative sinusoid_derivative softmax_derivative softplus_derivative swish_derivative tanh_derivative tanh_relu_hybrid_derivative
Activation functions (DDESONN)arctangent bent_identity bent_relu bent_sigmoid bent_swish binary_activation custom_activation custom_bent_piecewise custom_binary_activation ddesonn_activations elu gaussian gelu hard_sigmoid identity inverse_linear_unit isrlu leaky_bent leaky_relu leaky_selu maxout mish parametric_bent_relu prelu relu selu sigmoid sigmoid_binary sigmoid_sharp sinusoid softmax softplus swish tanh tanh_relu_hybrid
Legacy alias for 'ddesonn_artifacts_root()'DDESONN_artifacts_root ddesonn_artifacts_root
Inspect internal DDESONN debug stateddesonn_debug_state
Legacy alias for 'ddesonn_dropout_defaults()'DDESONN_dropout_defaults ddesonn_dropout_defaults
Legacy alias for 'ddesonn_fit()'DDESONN_fit ddesonn_fit
Legacy alias for 'ddesonn_model()'DDESONN_model ddesonn_model
Legacy alias for 'ddesonn_optimizer_options()'DDESONN_optimizer_options ddesonn_optimizer_options
Legacy alias for 'ddesonn_plots_dir()'DDESONN_plots_dir ddesonn_plots_dir
Legacy alias for 'ddesonn_predict()'DDESONN_predict ddesonn_predict
Legacy alias for 'ddesonn_run()'DDESONN_run ddesonn_run
Build causal fixed-length sequencesddesonn_sequence_data
Native-R selective state-space sequence encoderddesonn_ssm_backward ddesonn_ssm_encode ddesonn_ssm_forward ddesonn_ssm_init ddesonn_ssm_reset_state
Legacy alias for 'ddesonn_training_defaults()'DDESONN_training_defaults ddesonn_training_defaults
Predict method for DDESONN modelspredict.ddesonn_model
Print a summary of a DDESONN run resultprint.ddesonn_run_result