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.7)lolR_2.1.zip(r-4.6)lolR_2.1.zip(r-4.5)
lolR_2.1.tgz(r-4.6-any)lolR_2.1.tgz(r-4.5-any)
lolR_2.1.tar.gz(r-4.7-any)lolR_2.1.tar.gz(r-4.6-any)
lolR_2.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION
card.svg |card.png
lolR/json (API)

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

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

On CRAN:

Conda:

7.88 score 24 stars 175 scripts 389 downloads 26 exports 30 dependencies

Last updated from:86698eae5c. Checks:7 WARNING, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64WARNING163
source / vignettesOK242
linux-release-x86_64WARNING152
macos-release-arm64WARNING165
macos-oldrel-arm64WARNING155
windows-develWARNING109
windows-releaseWARNING114
windows-oldrelWARNING100
wasm-releaseOK113

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:abindclicpp11DEoptimRfarverfit.modelsggplot2gluegtableirlbaisobandlabelinglatticelifecycleMASSMatrixmvtnormpcaPPplsR6RColorBrewerrlangrobustrobustbaserrcovS7scalesvctrsviridisLitewithr

LOL Simulations
Trunk, 2 Class | Rotated Trunk, 2 Class, non-equal priors | Trunk, 3 Class | Mean Difference | Toeplitz | QD- Toeplitz | XOR | Cigar | Fat Tails | Cross

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

Extending lolR with Arbitrary Classification Algorithms
Writing New Classification Algorithms | Writing a Classification Method | Writing a prediction method | Using your Classification Technique for Embedding Evaluation

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

Extending lolR for Arbitrary Embedding Algorithms
Writing New Embedding Algorithms | Embedding with your algorithm | Performing Cross-Validation with your Algorithm

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

Principal Component Analysis (PCA)
PCA | Stacked Cigar Simulation | Trunk Simulation | Rotated Trunk Simulation

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

Partial Least-Squares (PLS)
PLS | Stacked Cigar Simulation | Trunk Simulation | Rotated Trunk Simulation

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

Data Piling
DP | Stacked Cigar Simulation | Trunk Simulation | Rotated Trunk Simulation

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

Low-Rank Linear Discriminant Analysis
LRLDA | Stacked Cigar Simulation | Trunk Simulation | Rotated Trunk Simulation

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

Low-Rank Canonical Correlation Analysis (LR-CCA)
LR-CCA | Stacked Cigar Simulation | Trunk Simulation | Rotated Trunk Simulation

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

LOL Cross-Validation
Cross Validation to Determine Error of Embedding Alg composed with Classifier | Cross Validation to Determine Optimal Embedding Dimensions of Embedding Alg composed with Classifier

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

Nearest Centroid Classifier

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

Linear Optimal Low-Rank Projection (LOL)
LOL | Stacked Cigar Simulation | Trunk Simulation | Rotated Trunk Simulation

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

Low-Rank Canonical Correlation Analysis (LR-CCA)
LR-CCA | Stacked Cigar Simulation | Trunk Simulation | Rotated Trunk Simulation

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

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