Package: lsbclust 1.1

lsbclust: Least-Squares Bilinear Clustering for Three-Way Data

Functions for performing least-squares bilinear clustering of three-way data. The method uses the bilinear decomposition (or bi-additive model) to model two-way matrix slices while clustering over the third way. Up to four different types of clusters are included, one for each term of the bilinear decomposition. In this way, matrices are clustered simultaneously on (a subset of) their overall means, row margins, column margins and row-column interactions. The orthogonality of the bilinear model results in separability of the joint clustering problem into four separate ones. Three of these sub-problems are specific k-means problems, while a special algorithm is implemented for the interactions. Plotting methods are provided, including biplots for the low-rank approximations of the interactions.

Authors:Pieter Schoonees [aut, cre], Patrick Groenen [ctb]

lsbclust_1.1.tar.gz
lsbclust_1.1.zip(r-4.5)lsbclust_1.1.zip(r-4.4)lsbclust_1.1.zip(r-4.3)
lsbclust_1.1.tgz(r-4.4-x86_64)lsbclust_1.1.tgz(r-4.4-arm64)lsbclust_1.1.tgz(r-4.3-x86_64)lsbclust_1.1.tgz(r-4.3-arm64)
lsbclust_1.1.tar.gz(r-4.5-noble)lsbclust_1.1.tar.gz(r-4.4-noble)
lsbclust_1.1.tgz(r-4.4-emscripten)lsbclust_1.1.tgz(r-4.3-emscripten)
lsbclust.pdf |lsbclust.html
lsbclust/json (API)

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

Peer review:

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

17 exports 0.36 score 41 dependencies 1 dependents 27 scripts 211 downloads

Last updated 5 years agofrom:2a10cf0fdf. Checks:OK: 4 NOTE: 5. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 12 2024
R-4.5-win-x86_64NOTESep 12 2024
R-4.5-linux-x86_64NOTESep 12 2024
R-4.4-win-x86_64NOTESep 12 2024
R-4.4-mac-x86_64NOTESep 12 2024
R-4.4-mac-aarch64NOTESep 12 2024
R-4.3-win-x86_64OKSep 12 2024
R-4.3-mac-x86_64OKSep 12 2024
R-4.3-mac-aarch64OKSep 12 2024

Exports:akmeansbicompcarraycfsimgenprocindarrint.lsbclustlsbclustmeanbiplotmeanheatmaporc.lsbclustrlsbclustrorthsim_lsbclustsimsvstep.lsbclustT3Clusf

Dependencies:cliclueclustercodetoolscolorspacedoParallelfansifarverforeachggplot2gluegridExtragtableisobanditeratorslabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellmvtnormnlmepillarpkgconfigplyrR6RColorBrewerRcppreshape2rlangscalesstringistringrtibbleutf8vctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
Least Squares Latent Class Matrix Factorizationlsbclust-package
K-Means Over One Way of An Three-Way Arrayakmeans
Bilinear Decomposition of a Matrixbicomp
Double-Centre a Three-way Arraycarray
Compare Simulation Resultscfsim
Compare LSBCLUST Simulation Resultscfsim.akmeans
Compare LSBCLUST Simulation Resultscfsim.lsbclust
Compare LSBCLUST Simulation Resultscfsim.T3Clusf
S3 exportcl_class_ids.akmeans cl_class_ids.int.lsbclust cl_class_ids.lsbclust_sim_part cl_class_ids.T3Clusf is.cl_hard_partition.akmeans is.cl_hard_partition.int.lsbclust is.cl_hard_partition.lsbclust_sim_part is.cl_hard_partition.T3Clusf is.cl_partition.akmeans is.cl_partition.int.lsbclust is.cl_partition.lsbclust_sim_part is.cl_partition.T3Clusf
C++ Function for Cluster MeansClustMeans
Centring Matrixcmat
Dutch Cars Datadcars
Extract Fitted Values for akmeansfitted.akmeans
Extract Fitted Values for LSBCLUSTfitted.lsbclust
Extract Fitted Values for T3Clusffitted.T3Clusf
Generalized Procrustes Rotationgenproc
Create Array of Indicator Matricesindarr
Interaction Clustering in Least Squares Bilinear Clusteringint.lsbclust
C++ Function for Weighted K-MeansAssignCluster ComputeMeans KMeansW
C++ Function for Interaction Loss FunctionLossMat
List-of-values Data Setlov
Least-squares Bilinear Clustering of Three-way Datalsbclust
Biplots ofmeanbiplot
Plot Heatmap of A Matrixmeanheatmap
K-means on the Overall Mean, Row Margins or Column Marginscol.kmeans orc.lsbclust ovl.kmeans row.kmeans
Plot a 'bicomp' Objectplot.bicomp
Plot method for class 'col.kmeans'plot.col.kmeans
Plot Method for Class 'int.lsbclust'plot.int.lsbclust
Plot method for class 'lsbclust'plot.lsbclust
Plot method for class 'ovl.kmeans'plot.ovl.kmeans
Plot method for class 'row.kmeans'plot.row.kmeans
Plot method for class 'step.lsbclust'plot.step.lsbclust
Plot Method for Class 'T3Clusf'plot.T3Clusf
Print method for object of class 'lsbclust'print.lsbclust
Simulate from LSBCLUST Modelrlsbclust
Generate A Random Orthonormal Matrixrorth
Simulate and Analyze LSBCLUSTsim_lsbclust
Randomly Generate Positive Singular Valuessimsv
Model Search for lsbcluststep.lsbclust
Summary Method for Class "int.lsbclust"summary.int.lsbclust
Summary Method for Class "lsbclust"summary.lsbclust
Dutch Supermarkets Data Setsupermarkets
T3Clusf: Tucker3 Fuzzy Cluster AnalysisT3Clusf