Skip to content

transformerForecasting

0.1.0Package record

Transformer Deep Learning Model for Time Series Forecasting

0packages depend
2Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Time series forecasting faces challenges due to the non-stationarity, nonlinearity, and chaotic nature of the data. Traditional deep learning models like Recurrent Neural Network (RNN), Long Short-Term Memory (LSTM), and Gated Recurrent Unit (GRU) process data sequentially but are inefficient for long sequences. To overcome the limitations of these models, we proposed a transformer-based deep learning architecture utilizing an attention mechanism for parallel processing, enhancing prediction accuracy and efficiency. This paper presents user-friendly code for the implementation of the proposed transformer-based deep learning architecture utilizing an attention mechanism for parallel processing. References: Nayak et al. (2024) doi:10.1007/s40808-023-01944-7 and Nayak et al. (2024) doi:10.1016/j.simpa.2024.100716.

Install

Health

CRAN checks
13OK
Slowest check: 1.8 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.1.0
READMENoVignettesYes · 1 · dynamicNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
4 (1 internal)
Examples that run
50%1 run in a plain check · 1 never run
Exported functions with examples
67%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%
Vignettes (1)

Downloads

2K
CRAN downloads in the past year
Rank #23,323 · ~6/day · ~170/mo
Daily download trend is not available in this view yet.
22130 days
55290 days
2K1 year
Compare downloads with other packages →
Also on68 r2u1 autocran

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)

Installing transformerForecasting adds 41 packages (20 with compiled code, 25 MB of source tarballs). Heaviest: ggplot2 6.0 MB, keras 3.4 MB, tfruns 1.9 MB.

Depends (1)
R >= 4.0.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (8)
Author, Maintainer since 0.1.0 (2025)
Contributor
Contributor
Contributor
Contributor
Thesis advisor
Thesis advisor
Thesis advisor
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.0Latest
    2025-03-07 · current release
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2025-03-07
Total releases
1 / 1 yrs
License
GPL-3 OSI
Minimum R
≥ 4.0.0
Bundled data
6.8 KB / 1 file
Download size
69 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("transformerForecasting")
Harish Nayak, G. H., B Samuel Naik, G Avinash, Md Wasi Alam, Mrinmoy Ray, Rajeev Ranjan Kumar, Varshini B S, & S, K. (2025). transformerForecasting: Transformer Deep Learning Model for Time Series Forecasting (Version 0.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.transformerForecasting

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for transformerForecasting version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy