Other packages > Find by keyword >

multiclassPairs  

Build MultiClass Pair-Based Classifiers using TSPs or RF
View on CRAN: Click here


Download and install multiclassPairs package within the R console
Install from CRAN:
install.packages("multiclassPairs")

Install from Github:
library("remotes")
install_github("cran/multiclassPairs")

Install by package version:
library("remotes")
install_version("multiclassPairs", "0.4.3")



Attach the package and use:
library("multiclassPairs")
Maintained by
Nour-al-dain Marzouka
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2020-09-10
Latest Update: 2021-05-16
Description:
A toolbox to train a single sample classifier that uses in-sample feature relationships. The relationships are represented as feature1 < feature2 (e.g. gene1 < gene2). We provide two options to go with. First is based on 'switchBox' package which uses Top-score pairs algorithm. Second is a novel implementation based on random forest algorithm. For simple problems we recommend to use one-vs-rest using TSP option due to its simplicity and for being easy to interpret. For complex problems RF performs better. Both lines filter the features first then combine the filtered features to make the list of all the possible rules (i.e. rule1: feature1 < feature2, rule2: feature1 < feature3, etc...). Then the list of rules will be filtered and the most important and informative rules will be kept. The informative rules will be assembled in an one-vs-rest model or in an RF model. We provide a detailed description with each function in this package to explain the filtration and training methodology in each line. Reference: Marzouka & Eriksson (2021) .
How to cite:
Nour-al-dain Marzouka (2020). multiclassPairs: Build MultiClass Pair-Based Classifiers using TSPs or RF. R package version 0.4.3, https://cran.r-project.org/web/packages/multiclassPairs. Accessed 27 Oct. 2026.
Previous versions and publish date:
(2026-07-09 06:33), 0.1.6 (2020-09-10 10:40), 0.2.0 (2020-09-28 13:30), 0.2.1 (2020-09-30 08:30), 0.3.0 (2020-11-10 14:00), 0.3.1 (2020-11-16 13:20), 0.4.0 (2020-11-20 11:30), 0.4.1 (2021-01-27 01:30), 0.4.2 (2021-02-10 15:10)
Other packages that cited multiclassPairs R package
View multiclassPairs citation profile
Other R packages that multiclassPairs depends, imports, suggests or enhances
Complete documentation for multiclassPairs
Functions, R codes and Examples using the multiclassPairs R package
Some associated functions: ReadData . do_dunn_test . filter_genes_TSP . group_TSP . optimize_RF . plot_binary_RF . plot_binary_TSP . predict_RF . predict_one_vs_rest_TSP . print-methods . proximity_matrix_RF . sort_genes_RF . sort_rules_RF . summary_genes_RF . train_RF . train_one_vs_rest_TSP . 
Some associated R codes: functions.R .  Full multiclassPairs package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

spanish  
Translate Quantities from Strings to Integer and Back. Misc Functions on Spanish Data
Character vector to numerical translation in Euros from Spanish spelled monetary quantities. Reverse ...
Download / Learn more Package Citations See dependency  
SGB  
Simplicial Generalized Beta Regression
Main properties and regression procedures using a generalization of the Dirichlet distribution calle ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
exams2learnr  
Interface for 'exams' Exercises in 'learnr' Tutorials
Automatic generation of quizzes or individual questions for 'learnr' tutorials based on 'R/exams' ex ...
Download / Learn more Package Citations See dependency  
usemodels  
Boilerplate Code for 'Tidymodels' Analyses
Code snippets to fit models using the tidymodels framework can be easily created for a given data se ...
Download / Learn more Package Citations See dependency  

29,218

R Packages

247,686

Dependencies

77,281

Author Associations

29,219

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA