Fit 'TabNet' Models for Classification and Regression
Overview
Implements the 'TabNet' model by Sercan O. Arik et al. (2019) doi:10.48550/arXiv.1908.07442 with 'Coherent Hierarchical Multi-label Classification Networks' by Giunchiglia et al. doi:10.48550/arXiv.2010.10151 and provides a consistent interface for fitting and creating predictions. It's also fully compatible with the 'tidymodels' ecosystem.
- {vip} is now distributed from r-universe.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK13 OK2026-05-10
Show 2 earlier changesHide 2 earlier changes
- WARNING12 OK, 1 WARNING2026-05-09
- OK14 OK2026-03-10
Documentation
- Help pages
- 26 (3 internal)
- Examples that run
- 65%11 run in a plain check (10 of them under a condition) · 6 never run
- Exported functions with examples
- 63%
- Documented parameters
- 100%
- Return-value docs
- 72%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 89%
- Median days to close, 50 most recently updated closed issues
- 24
- Median days to close, 50 most recently updated closed PRs
- 2
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
8 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/mlverse/tabnet on 2026-10-18.
The R CMD check workflow runs on Linux and Windows, and on R-devel
GitHub Pages site last deployed 2026-07-23 · The repository has a site deploy workflow
Dependencies
Installing tabnet adds 108 packages (50 with compiled code, 77 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.
Code & Tests
People & History
Previously maintained by Daniel Falbel (0.1.0 to 0.3.0).
Pick two releases to compare their code metrics.
- 0.9.1Latest
- 0.9.02026-06-12 · diff ↗ ·
added 5 exports
augment, build_ancestor_matrix_from_outcomes, nn_mc_loss, nnf_mc_loss, nnf_multilabel_one_hot - RR 4.6.0 released · 2026-04-24
- 0.8.0
- unarchivedReturned to CRAN2025-04-17
- 0.7.02025-04-17 · diff ↗ ·
removed 2 exports
nn_prune_head.tabnet_fit, nn_prune_head.tabnet_pretrainadded 13 exports
cat_emb_dim, checkpoint_epochs, drop_last, encoder_activation, lr_scheduler, mlp_activation, mlp_hidden_multiplier, num_independent_decoder, num_shared_decoder, optimizer, penalty, verbose, virtual_batch_size - RR 4.5.0 released · 2025-04-11
- archivedRemoved from CRAN2025-04-01issues were not corrected in time
- 0.6.02024-06-15 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.5.0
- 0.4.02023-05-11 · diff ↗ ·
added 3 exports
nn_prune_head.tabnet_fit, nn_prune_head.tabnet_pretrain, tabnet_nn - RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.3.02021-10-11 · diff ↗
- 0.2.0
Show 3 earlier eventsHide 3 earlier events
- RR 4.1.0 released · 2021-05-18
- 0.1.02021-01-14
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2021-01-14
- Total releases
- 10 / 5 yrs
- License
- MIT + file LICENSE OSI
- Additional repositories
- bgreenwell.r-universe.dev
- Minimum R
- ≥ 3.6
- Download size
- 6.2 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("tabnet")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.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.