Package: multiclassPairs 0.4.3

Nour-al-dain Marzouka

multiclassPairs: Build MultiClass Pair-Based Classifiers using TSPs or RF

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) <doi:10.1093/bioinformatics/btab088>.

Authors:Nour-al-dain Marzouka

multiclassPairs_0.4.3.tar.gz
multiclassPairs_0.4.3.zip(r-4.5)multiclassPairs_0.4.3.zip(r-4.4)multiclassPairs_0.4.3.zip(r-4.3)
multiclassPairs_0.4.3.tgz(r-4.5-any)multiclassPairs_0.4.3.tgz(r-4.4-any)multiclassPairs_0.4.3.tgz(r-4.3-any)
multiclassPairs_0.4.3.tar.gz(r-4.5-noble)multiclassPairs_0.4.3.tar.gz(r-4.4-noble)
multiclassPairs_0.4.3.tgz(r-4.4-emscripten)multiclassPairs_0.4.3.tgz(r-4.3-emscripten)
multiclassPairs.pdf |multiclassPairs.html
multiclassPairs/json (API)
NEWS

# Install 'multiclassPairs' in R:
install.packages('multiclassPairs', repos = c('https://nourmarzouka.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/nourmarzouka/multiclasspairs/issues

On CRAN:

Conda:

classification

4.82 score 12 stars 11 scripts 268 downloads 1 mentions 13 exports 82 dependencies

Last updated 2 years agofrom:6c4d9d73c2. Checks:1 OK, 8 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 21 2025
R-4.5-winNOTEMar 21 2025
R-4.5-macNOTEMar 21 2025
R-4.5-linuxNOTEMar 21 2025
R-4.4-winNOTEMar 21 2025
R-4.4-macNOTEMar 21 2025
R-4.4-linuxNOTEMar 21 2025
R-4.3-winNOTEMar 21 2025
R-4.3-macNOTEMar 21 2025

Exports:filter_genes_TSPoptimize_RFplot_binary_RFplot_binary_TSPpredict_one_vs_rest_TSPpredict_RFproximity_matrix_RFReadDatasort_genes_RFsort_rules_RFsummary_genes_RFtrain_one_vs_rest_TSPtrain_RF

Dependencies:Borutacaretclasscliclockcodetoolscolorspacecpp11data.tablediagramdigestdplyrdunn.teste1071fansifarverforeachfuturefuture.applygenericsggplot2globalsgluegowergtablehardhatipredisobanditeratorsKernSmoothlabelinglatticelavalifecyclelistenvlubridatemagrittrMASSMatrixmgcvModelMetricsmunsellnlmennetnumDerivparallellypillarpkgconfigplyrpROCprodlimprogressrproxypurrrR6rangerRColorBrewerRcppRcppArmadilloRcppEigenrdistrecipesreshape2rlangrpartscalesshapesparsevctrsSQUAREMstringistringrsurvivaltibbletidyrtidyselecttimechangetimeDatetzdbutf8vctrsviridisLitewithr

Tutorial for multiclassPairs R package

Rendered fromTutorial.Rmdusingknitr::rmarkdownon Mar 21 2025.

Last update: 2021-05-16
Started: 2020-11-06