Package: neuralnetwork 0.1.0

neuralnetwork: Fast Compact Multilayer Perceptrons

A small multilayer perceptron implementation for 'R'. It supports regression and classification, multiple hidden layers, mini-batch training, Adam, SGD, momentum, Nesterov, RPROP, GRPROP and L-BFGS optimizers, dropout, L2 regularization, early stopping, convergence thresholds, gradient clipping, sample and class weights, callback hooks, target scaling and robust Huber loss for regression, 'Rcpp' forward-pass kernels, formula interfaces, model evaluation with balanced classification metrics, cross-validation, compact tuning, permutation importance, model persistence helpers, and 'S3' prediction methods. Methods follow Rumelhart, Hinton and Williams (1986) <doi:10.1038/323533a0>, with optimizers including Riedmiller and Braun (1993) <doi:10.1109/ICNN.1993.298623>, Nocedal (1980) <doi:10.1090/S0025-5718-1980-0572855-7>, and Kingma and Ba (2014) <doi:10.48550/arXiv.1412.6980>.

Authors:Feng Ji [aut, cre]

neuralnetwork_0.1.0.tar.gz
neuralnetwork_0.1.0.zip(r-4.7)neuralnetwork_0.1.0.zip(r-4.6)neuralnetwork_0.1.0.zip(r-4.5)
neuralnetwork_0.1.0.tgz(r-4.6-x86_64)neuralnetwork_0.1.0.tgz(r-4.6-arm64)neuralnetwork_0.1.0.tgz(r-4.5-x86_64)neuralnetwork_0.1.0.tgz(r-4.5-arm64)
neuralnetwork_0.1.0.tar.gz(r-4.7-arm64)neuralnetwork_0.1.0.tar.gz(r-4.7-x86_64)neuralnetwork_0.1.0.tar.gz(r-4.6-arm64)neuralnetwork_0.1.0.tar.gz(r-4.6-x86_64)
neuralnetwork_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
neuralnetwork/json (API)
NEWS

# Install 'neuralnetwork' in R:
install.packages('neuralnetwork', repos = c('https://trtfj.r-universe.dev', 'https://cloud.r-project.org'))
Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

cpp

2.70 score 2 scripts 15 exports 1 dependencies

Last updated from:c8b7fa2139. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK112
linux-devel-x86_64OK111
source / vignettesOK153
linux-release-arm64OK152
linux-release-x86_64OK114
macos-release-arm64OK82
macos-release-x86_64OK241
macos-oldrel-arm64OK101
macos-oldrel-x86_64OK207
windows-develOK104
windows-releaseOK110
windows-oldrelOK102
wasm-releaseOK109

Exports:nn_class_indnn_computenn_confintnn_cvnn_evaluatenn_fitnn_generalized_weightsnn_gwplotnn_hessiannn_loadnn_multinomnn_permutation_importancenn_savenn_tunenn_which_is_max

Dependencies:Rcpp

A practical workflow with neuralnetwork

Rendered fromneuralnetwork.Rmdusingknitr::rmarkdownon Jun 21 2026.

Last update: 2026-06-20
Started: 2026-06-20

Readme and manuals

Help Manual

Help pageTopics
Compact neural networks for tabular R workflowsneuralnetwork-package neuralnetwork
Callbacks in neuralnetwork trainingneuralnetwork-callbacks
Compatibility helpersnn_class_ind nn_compute nn_confint nn_generalized_weights nn_gwplot nn_hessian nn_multinom nn_which_is_max
Metrics used by neuralnetworkneuralnetwork-metrics
neuralnetwork model objectsneuralnetwork-objects
Cross-validate neuralnetwork modelsnn_cv
Evaluate a neuralnetwork modelnn_evaluate
Fit a small multilayer perceptronnn_fit
Permutation feature importancenn_permutation_importance
Save and load neuralnetwork modelsnn_load nn_save
Tune neuralnetwork hyperparametersnn_tune
Plot neuralnetwork training lossplot.neuralnetwork
Predict from a neuralnetwork modelpredict.neuralnetwork
Print a neuralnetwork modelprint.neuralnetwork
Summarize neuralnetwork modelscoef.neuralnetwork summary.neuralnetwork