rnn - Recurrent Neural Network
Implementation of a Recurrent Neural Network architectures in native R, including Long Short-Term Memory (Hochreiter and Schmidhuber, <doi:10.1162/neco.1997.9.8.1735>), Gated Recurrent Unit (Chung et al., <arXiv:1412.3555>) and vanilla RNN.
Last updated 2 years ago
8.31 score 74 stars 2 packages 66 scripts 385 downloadsrddtools - Toolbox for Regression Discontinuity Design ('RDD')
Set of functions for Regression Discontinuity Design ('RDD'), for data visualisation, estimation and testing.
Last updated 1 years ago
6.64 score 11 stars 200 scripts 645 downloadsHomomorphicEncryption - BFV, BGV, CKKS Schema for Fully Homomorphic Encryption
Implements the Brakerski-Fan-Vercauteren (BFV, 2012) <https://eprint.iacr.org/2012/144>, Brakerski-Gentry-Vaikuntanathan (BGV, 2014) <doi:10.1145/2633600>, and Cheon-Kim-Kim-Song (CKKS, 2016) <https://eprint.iacr.org/2016/421.pdf> schema for Fully Homomorphic Encryption. The included vignettes demonstrate the encryption procedures.
Last updated 11 months ago
6.37 score 39 scripts 220 downloadssigmoid - Sigmoid Functions for Machine Learning
Several different sigmoid functions are implemented, including a wrapper function, SoftMax preprocessing and inverse functions.
Last updated 1 years ago
6.18 score 2 stars 3 packages 170 scripts 537 downloadsdiagonals - Block Diagonal Extraction or Replacement
Several tools for handling block-matrix diagonals and similar constructs are implemented. Block-diagonal matrices can be extracted or removed using two small functions implemented here. In addition, non-square matrices are supported. Block diagonal matrices occur when two dimensions of a data set are combined along one edge of a matrix. For example, trade-flow data in the 'decompr' and 'gvc' packages have each country-industry combination occur along both edges of the matrix.
Last updated 2 years ago
5.83 score 2 stars 10 packages 19 scripts 1.2k downloadsgvc - Global Value Chains Tools
Several tools for Global Value Chain ('GVC') analysis are implemented.
Last updated 2 years ago
5.67 score 21 stars 45 scripts 366 downloadsattention - Self-Attention Algorithm
Self-Attention algorithm helper functions and demonstration vignettes of increasing depth on how to construct the Self-Attention algorithm, this is based on Vaswani et al. (2017) <doi:10.48550/arXiv.1706.03762>, Dan Jurafsky and James H. Martin (2022, ISBN:978-0131873216) <https://web.stanford.edu/~jurafsky/slp3/> "Speech and Language Processing (3rd ed.)" and Alex Graves (2020) <https://www.youtube.com/watch?v=AIiwuClvH6k> "Attention and Memory in Deep Learning".
Last updated 1 years ago
5.18 score 1 stars 5 packages 6 scripts 495 downloadstransformer - Implementation of Transformer Deep Neural Network with Vignettes
Transformer is a Deep Neural Network Architecture based i.a. on the Attention mechanism (Vaswani et al. (2017) <doi:10.48550/arXiv.1706.03762>).
Last updated 1 years ago
4.72 score 1 stars 2 packages 174 scripts 256 downloadsHEtools - Homomorphic Encryption Polynomials
Homomorphic encryption (Brakerski and Vaikuntanathan (2014) <doi:10.1137/120868669>) using Ring Learning with Errors (Lyubashevsky et al. (2012) <https://eprint.iacr.org/2012/230>) is a form of Learning with Errors (Regev (2005) <doi:10.1145/1060590.1060603>) using polynomial rings over finite fields. Functions to generate the required polynomials (using 'polynom'), with various distributions of coefficients are provided. Additionally, functions to generate and take coefficient modulo are provided.
Last updated 12 months ago
3.48 score 1 stars 1 packages 2 scripts 196 downloadsdatasets.load - Graphical Interface for Loading Datasets
Graphical interface for loading datasets in RStudio from all installed (including unloaded) packages, also includes command line interfaces.
Last updated 1 years ago
3.41 score 5 stars 6 scripts 1.0k downloads