cpfa
Classification with Parallel Factor Analysis
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>. 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.
Downloads
818
Last 30 days
4357th
2.5K
Last 90 days
8.9K
Last year
Trend: -8.7% (30d vs prior 30d)
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | ERROR |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (1 non-OK)
re-building of vignette outputs
Error(s) in re-building vignettes: --- re-building 'cpfa.Rmd' using rmarkdown ! Package pdftex.def Error: File `6a3c8204a200e1f09e714ef3055cb0b53f0a96ce.pdf' not found: using draft setting. Error: processing vignette 'cpfa.Rmd' failed with diagnostics: LaTeX failed to compile D:/RCompile/CRANpkg/local/4.4/cpfa.Rcheck/vign_test/cpfa/vignettes/cpfa.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See cpfa.log for more info. --- failed re-building 'cpfa.Rmd' SUMMARY: processing the following file failed: 'cpfa.Rmd' Error: Vignette re-building failed. Execution halted
Check History
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 30, 2026
re-building of vignette outputs
Error(s) in re-building vignettes: --- re-building 'cpfa.Rmd' using rmarkdown ! Package pdftex.def Error: File `6a3c8204a200e1f09e714ef3055cb0b53f0a96ce.pdf' not found: using draft setting. Error: processing vignette 'cpfa.Rmd' failed with diagnost ...[truncated]... /cpfa.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See cpfa.log for more info. --- failed re-building 'cpfa.Rmd' SUMMARY: processing the following file failed: 'cpfa.Rmd' Error: Vignette re-building failed. Execution halted