Package: cpfa
Type: Package
Title: Classification with Parallel Factor Analysis
Version: 1.2-1
Date: 2025-07-07
Authors@R: person(c("Matthew", "A."), "Asisgress", email = "mattgress@protonmail.ch", role = c("aut", "cre"))
Maintainer: Matthew A. Asisgress <mattgress@protonmail.ch>
Depends: multiway
Imports: glmnet, e1071, randomForest, nnet, rda, xgboost, foreach,
        doParallel
Suggests: knitr, rmarkdown
Description: 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>. Uses component weights from one mode of a Parafac or Parafac2 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' and 'doParallel' packages.
License: GPL (>= 2)
VignetteBuilder: knitr, rmarkdown
NeedsCompilation: no
Packaged: 2025-07-07 21:08:35 UTC; nr2
Author: Matthew A. Asisgress [aut, cre]
Repository: CRAN
Date/Publication: 2025-07-08 00:00:06 UTC
Built: R 4.6.0; ; 2025-10-11 02:36:09 UTC; windows
