R package citation, R package reverse dependencies, R package scholars, install an r package from GitHub hy is package acceptance pending why is package undeliverable amazon why is package on hold dhl tour packages why in r package r and r package full form why is r free why r is bad which r package to install which r package has which r package which r package version which r package readxl which r package ggplot which r package fread which r package license where is package.json where is package-lock.json where is package.swift where is package explorer in eclipse where is package where is package manager unity where is package installer android where is package manager console in visual studio who r package which r package to install which r package version who is package who is package deal who is package design r and r package full form r and r package meaning what r package has what package r what is package in java what is package what is package-lock.json what is package in python what is package.json what is package installer do r package can't install r packages r can't find package r can't load package can't load xlsx package r can't install psych package r can't install sf package r Write if else in NONMEM pk pd
tbnb
View on CRAN: Click
here
Download and install tbnb package within the R console
Install from CRAN:
install.packages("tbnb")
Install from Github:
library("remotes")
install_github("cran/tbnb") Install by package version:
library("remotes")
install_version("tbnb", "0.1.0") Attach the package and use:
library("tbnb")
Maintained by
Maurizio Romano
[Scholar Profile | Author Map]
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2026-07-21
Latest Update: 2026-07-21
Description:
Implements the Threshold-Based Naive Bayes (Tb-NB) classifier and its iterative refinement (iTb-NB) for binary sentiment / text classification problems. The classifier computes a continuous log-likelihood ratio score per document and uses a data-driven decision threshold estimated via K-fold cross-validation on a user-selected criterion (accuracy, F1 score, Matthews correlation coefficient, balanced error, etc.). An optional iterative refinement procedure locally re-estimates the threshold in regions of class overlap using either Gaussian kernel density estimation or a Central Limit Theorem bootstrap approximation. The package exposes an idiomatic R formula + data.frame interface together with a 'quanteda'-based text preprocessing pipeline, supports user-supplied document-feature matrices, and includes an optional word-embedding extension that augments the Bag-of-Words with K nearest semantic neighbours of each token. The package additionally implements the p-value extension proposed by Romano (2025) for both document- and feature-level interpretability via tbnb_pvalues(). Methods are described in Romano, Contu, Mola, Conversano (2024) <doi:10.1007/s11634-023-00536-8>, Romano, Zammarchi, Conversano (2024) <doi:10.1007/s10260-023-00721-1>, and Romano (2025) <doi:10.1007/978-3-031-96736-8_41>.
How to cite:
Maurizio Romano (2026). tbnb: Threshold-Based and Iterative Threshold-Based Naive Bayes Classifier. R package version 0.1.0, https://cran.r-project.org/web/packages/tbnb. Accessed 24 Oct. 2026.
Previous versions and publish date:
No previous versions
Other packages that cited tbnb R package
View tbnb citation profile
Other R packages that tbnb depends,
imports, suggests or enhances
Complete documentation for tbnb
Functions, R codes and Examples using
the tbnb R package
Full tbnb package
functions and examples
Downloads during the last 30 days
Today's Hot Picks in Authors and Packages
givitiR
Functions to assess the calibration of logistic regression models with the GiViTI (Gruppo Italiano p ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Giovanni Nattino (view profile)
magicfor
Magic functions to obtain results from for loops. ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Koji Makiyama (view profile)
gemlog
Reads data files from the 'Gem infrasound logger' for analysis and converts to segy format (which is ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Jake Anderson (view profile)
climwin
Contains functions to detect and visualise periods of climate
sensitivity (climate windows) for a g ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Liam D. Bailey (view profile)
quickcode
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Obinna Obianom (view profile)
forecastHybrid
Convenient functions for ensemble forecasts in R combining
approaches from the 'forecast' package. ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: David Shaub (view profile)
29,080
R Packages
247,686
Dependencies
77,281
Author Associations
29,081
Publication Badges
