Crandore Hub

cpfa

Classification with Parallel Factor Analysis

Classification using Richard A. Harshman's Parallel Factor Analysis-1 (Parafac) model or Parallel Factor Analysis-2 (Parafac2) model fit to a three-way or four-way data array. See Harshman and Lundy (1994): <doi:10.1016/0167-9473(94)90132-5>. Principal component analysis (PCA) is also supported for a two-way data matrix. Uses component weights from one mode of a Parafac, Parafac2, or PCA model as features to tune parameters for one or more classification methods via a k-fold cross-validation procedure. Allows for constraints on different tensor modes. Supports penalized logistic regression, support vector machine, random forest, feed-forward neural network, regularized discriminant analysis, and gradient boosting machine. Supports binary and multiclass classification. Predicts class labels or class probabilities and calculates multiple classification performance measures. Implements parallel computing via the 'parallel', 'doParallel', and 'doRNG' packages.

Versions across snapshots

VersionRepositoryFileSize
1.2-7 2026-04-09 windows/windows R-4.5 cpfa_1.2-7.zip 549.8 KiB

Dependencies (latest)

Depends

Imports

Suggests