Package: lolR 2.1

Eric Bridgeford

lolR: Linear Optimal Low-Rank Projection

Supervised learning techniques designed for the situation when the dimensionality exceeds the sample size have a tendency to overfit as the dimensionality of the data increases. To remedy this High dimensionality; low sample size (HDLSS) situation, we attempt to learn a lower-dimensional representation of the data before learning a classifier. That is, we project the data to a situation where the dimensionality is more manageable, and then are able to better apply standard classification or clustering techniques since we will have fewer dimensions to overfit. A number of previous works have focused on how to strategically reduce dimensionality in the unsupervised case, yet in the supervised HDLSS regime, few works have attempted to devise dimensionality reduction techniques that leverage the labels associated with the data. In this package and the associated manuscript Vogelstein et al. (2017) <arxiv:1709.01233>, we provide several methods for feature extraction, some utilizing labels and some not, along with easily extensible utilities to simplify cross-validative efforts to identify the best feature extraction method. Additionally, we include a series of adaptable benchmark simulations to serve as a standard for future investigative efforts into supervised HDLSS. Finally, we produce a comprehensive comparison of the included algorithms across a range of benchmark simulations and real data applications.

Authors:Eric Bridgeford [aut, cre], Minh Tang [ctb], Jason Yim [ctb], Joshua Vogelstein [ths]

lolR_2.1.tar.gz
lolR_2.1.zip(r-4.5)lolR_2.1.zip(r-4.4)lolR_2.1.zip(r-4.3)
lolR_2.1.tgz(r-4.4-any)lolR_2.1.tgz(r-4.3-any)
lolR_2.1.tar.gz(r-4.5-noble)lolR_2.1.tar.gz(r-4.4-noble)
lolR_2.1.tgz(r-4.4-emscripten)lolR_2.1.tgz(r-4.3-emscripten)
lolR.pdf |lolR.html
lolR/json (API)

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

Peer review:

Bug tracker:https://github.com/neurodata/lol/issues

On CRAN:

26 exports 19 stars 2.06 score 38 dependencies 80 scripts 172 downloads

Last updated 4 years agofrom:86698eae5c. Checks:OK: 1 WARNING: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 12 2024
R-4.5-winWARNINGSep 12 2024
R-4.5-linuxWARNINGSep 12 2024
R-4.4-winWARNINGSep 12 2024
R-4.4-macWARNINGSep 12 2024
R-4.3-winWARNINGSep 12 2024
R-4.3-macWARNINGSep 12 2024

Exports:lol.classify.nearestCentroidlol.classify.randomChancelol.classify.randomGuesslol.embedlol.project.bayes_optimallol.project.dplol.project.lollol.project.lrccalol.project.lrldalol.project.pcalol.project.plslol.project.rplol.sims.cigarlol.sims.crosslol.sims.fat_tailslol.sims.khumplol.sims.kidentlol.sims.mean_difflol.sims.qdtoeplol.sims.rev_rtrunklol.sims.rtrunklol.sims.toeplol.sims.xor2lol.xval.evallol.xval.optimal_dimselectlol.xval.split

Dependencies:abindclicolorspaceDEoptimRfansifarverfit.modelsggplot2gluegtableirlbaisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellmvtnormnlmepcaPPpillarpkgconfigplsR6RColorBrewerrlangrobustrobustbaserrcovscalestibbleutf8vctrsviridisLitewithr

Nearest Centroid Classifier

Rendered fromnearestCentroid.Rmdusingknitr::rmarkdownon Sep 12 2024.

Last update: 2018-04-13
Started: 2018-01-25

Data Piling

Rendered fromdp.Rmdusingknitr::rmarkdownon Sep 12 2024.

Last update: 2018-04-13
Started: 2018-04-13

Extending lolR with Arbitrary Classification Algorithms

Rendered fromextend_classification.Rmdusingknitr::rmarkdownon Sep 12 2024.

Last update: 2018-04-13
Started: 2018-02-01

Extending lolR for Arbitrary Embedding Algorithms

Rendered fromextend_embedding.Rmdusingknitr::rmarkdownon Sep 12 2024.

Last update: 2018-04-13
Started: 2018-02-01

Linear Optimal Low-Rank Projection (LOL)

Rendered fromlol.Rmdusingknitr::rmarkdownon Sep 12 2024.

Last update: 2018-04-13
Started: 2017-12-13

Low-Rank Canonical Correlation Analysis (LR-CCA)

Rendered fromlrcca.Rmdusingknitr::rmarkdownon Sep 12 2024.

Last update: 2018-04-13
Started: 2017-12-13

Low-Rank Linear Discriminant Analysis

Rendered fromlrlda.Rmdusingknitr::rmarkdownon Sep 12 2024.

Last update: 2018-04-13
Started: 2017-12-13

Principal Component Analysis (PCA)

Rendered frompca.Rmdusingknitr::rmarkdownon Sep 12 2024.

Last update: 2018-04-13
Started: 2017-12-13

Partial Least-Squares (PLS)

Rendered frompls.Rmdusingknitr::rmarkdownon Sep 12 2024.

Last update: 2018-04-13
Started: 2018-03-15

Low-Rank Canonical Correlation Analysis (LR-CCA)

Rendered fromrp.Rmdusingknitr::rmarkdownon Sep 12 2024.

Last update: 2018-04-13
Started: 2018-04-13

LOL Simulations

Rendered fromsimulations.Rmdusingknitr::rmarkdownon Sep 12 2024.

Last update: 2018-06-01
Started: 2017-12-14

LOL Cross-Validation

Rendered fromxval.Rmdusingknitr::rmarkdownon Sep 12 2024.

Last update: 2018-04-13
Started: 2017-12-14

Readme and manuals

Help Manual

Help pageTopics
Nearest Centroid Classifier Traininglol.classify.nearestCentroid
Random Classifier Utilitylol.classify.rand
Randomly Chance Classifier Traininglol.classify.randomChance
Randomly Guessing Classifier Traininglol.classify.randomGuess
Embeddinglol.embed
Bayes Optimallol.project.bayes_optimal
Data Pilinglol.project.dp
Linear Optimal Low-Rank Projection (LOL)lol.project.lol
Low-rank Canonical Correlation Analysis (LR-CCA)lol.project.lrcca
Low-Rank Linear Discriminant Analysis (LRLDA)lol.project.lrlda
Principal Component Analysis (PCA)lol.project.pca
Partial Least-Squares (PLS)lol.project.pls
Random Projections (RP)lol.project.rp
Stacked Cigarlol.sims.cigar
Crosslol.sims.cross
Fat Tails Simulationlol.sims.fat_tails
Multiclass Trunklol.sims.khump
Multiclass Trunklol.sims.kident
Multiclass Trunklol.sims.ktrunk
Mean Difference Simulationlol.sims.mean_diff
Quadratic Discriminant Toeplitz Simulationlol.sims.qdtoep
Random Rotationlol.sims.random_rotate
Reverse Random Trunklol.sims.rev_rtrunk
Sample Random Rotationlol.sims.rotation
Random Trunklol.sims.rtrunk
GMM Simulatelol.sims.sim_gmm
Toeplitz Simulationlol.sims.toep
Xor Problemlol.sims.xor2
A utility to use irlba when necessarylol.utils.decomp
A function that performs a utility computation of information about the differences of the classes.lol.utils.deltas
A function that performs basic utilities about the data.lol.utils.info
A function for one-hot encoding categorical respose vectors.lol.utils.ohe
Embedding Cross Validationlol.xval.eval
Optimal Cross-Validated Number of Embedding Dimensionslol.xval.optimal_dimselect
Cross-Validation Data Splitterlol.xval.split
Nearest Centroid Classifier Predictionpredict.nearestCentroid
Randomly Chance Classifier Predictionpredict.randomChance
Randomly Guessing Classifier Predictionpredict.randomGuess