{
  "_id": "6a23d147530b9bc726be2d8c",
  "Package": "cpfa",
  "Type": "Package",
  "Title": "Classification with Parallel Factor Analysis",
  "Version": "1.3.0",
  "Date": "2026-06-03",
  "Authors@R": "person(given = c(\"Matthew\", \"A.\"), family = \"Asisgress\", \nemail = \"mattgress@protonmail.ch\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-7294-3348\"))",
  "Maintainer": "Matthew A. Asisgress <mattgress@protonmail.ch>",
  "Description": "Classification using Richard A. Harshman's Parallel Factor\nAnalysis-1 (Parafac) model or Parallel Factor Analysis-2\n(Parafac2) model fit to a three-way or four-way data array. See\nHarshman and Lundy (1994): <doi:10.1016/0167-9473(94)90132-5>.\nClassification using principal component analysis (PCA) fit to\na two-way data matrix is also supported. Uses component weights\nfrom one mode of a Parafac, Parafac2, or PCA model as features\nto tune parameters for one or more classification methods via a\nk-fold cross-validation procedure. Allows for constraints on\ndifferent tensor modes. Allows for inclusion of additional\nfeatures alongside features generated by the component model.\nSupports penalized logistic regression, support vector machine,\nrandom forest, feed-forward neural network, regularized\ndiscriminant analysis, and gradient boosting machine. Supports\nbinary and multiclass classification. Predicts class labels or\nclass probabilities and calculates multiple classification\nperformance measures. Uses the 'clue' package to align Parafac\nor Parafac2 models across data splits in the cross-validation\nprocedure. Calculates classification importance of individual\nfeatures using permutation feature importance. Implements\nparallel computing via the 'foreach', 'doParallel', and 'doRNG'\npackages.",
  "BugReports": "https://github.com/matthewasisgress/cpfa/issues",
  "License": "GPL (>= 2)",
  "URL": "https://github.com/matthewasisgress/cpfa",
  "VignetteBuilder": "knitr, rmarkdown",
  "Encoding": "UTF-8",
  "NeedsCompilation": "no",
  "Config/pak/sysreqs": "make",
  "Repository": "https://matthewasisgress.r-universe.dev",
  "Date/Publication": "2026-06-06 05:03:07 UTC",
  "RemoteUrl": "https://github.com/matthewasisgress/cpfa",
  "RemoteRef": "HEAD",
  "RemoteSha": "1789863b08b7f38137b92dc6c9d4000dc4d3474a",
  "Packaged": {
    "Date": "2026-06-06 07:47:32 UTC",
    "User": "root"
  },
  "Author": "Matthew A. Asisgress [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-7294-3348>)",
  "MD5sum": "724449aec64d78a7be130aa0abff0b46",
  "_user": "matthewasisgress",
  "_type": "src",
  "_file": "cpfa_1.3.0.tar.gz",
  "_fileid": "1b2c88aef56de694fcc4165f3a57e49f0e32bbd664dcd72e7824764fe29bb879",
  "_filesize": 800978,
  "_sha256": "1b2c88aef56de694fcc4165f3a57e49f0e32bbd664dcd72e7824764fe29bb879",
  "_created": "2026-06-06T07:47:32.000Z",
  "_published": "2026-06-06T07:50:31.181Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79862125692,
      "time": 130,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7452583229"
    },
    {
      "job": 79862125679,
      "time": 146,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7452585191"
    },
    {
      "job": 79862125672,
      "time": 85,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7452577671"
    },
    {
      "job": 79862125680,
      "time": 108,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7452580684"
    },
    {
      "job": 79861954966,
      "time": 191,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452566830"
    },
    {
      "job": 79862125670,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452580369"
    },
    {
      "job": 79862125691,
      "time": 113,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7452581470"
    },
    {
      "job": 79862125694,
      "time": 95,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7452578880"
    },
    {
      "job": 79862125687,
      "time": 95,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7452578981"
    }
  ],
  "_buildurl": "https://github.com/r-universe/matthewasisgress/actions/runs/27056552784",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/matthewasisgress/cpfa",
  "_commit": {
    "id": "1789863b08b7f38137b92dc6c9d4000dc4d3474a",
    "author": "matthewasisgress <matthewasisgress@gmail.com>",
    "committer": "matthewasisgress <matthewasisgress@gmail.com>",
    "message": "desc. change minor\n\ndesc. change minor\n",
    "time": 1780722187
  },
  "_maintainer": {
    "name": "Matthew A. Asisgress",
    "email": "mattgress@protonmail.ch",
    "login": "matthewasisgress",
    "description": "",
    "uuid": 240058972,
    "orcid": "0000-0001-7294-3348"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.3.0",
      "role": "Depends"
    },
    {
      "package": "multiway",
      "role": "Depends"
    },
    {
      "package": "glmnet",
      "role": "Imports"
    },
    {
      "package": "e1071",
      "role": "Imports"
    },
    {
      "package": "randomForest",
      "role": "Imports"
    },
    {
      "package": "nnet",
      "role": "Imports"
    },
    {
      "package": "rda",
      "role": "Imports"
    },
    {
      "package": "xgboost",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "doRNG",
      "role": "Imports"
    },
    {
      "package": "clue",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "matthewasisgress",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-16",
      "n": 11
    },
    {
      "week": "2026-19",
      "n": 11
    },
    {
      "week": "2026-20",
      "n": 5
    },
    {
      "week": "2026-21",
      "n": 2
    },
    {
      "week": "2026-22",
      "n": 1
    },
    {
      "week": "2026-23",
      "n": 13
    }
  ],
  "_tags": [
    {
      "name": "v1.2-8",
      "date": "2026-04-17"
    },
    {
      "name": "v1.2-9",
      "date": "2026-05-08"
    },
    {
      "name": "v1.3.0",
      "date": "2026-06-02"
    }
  ],
  "_topics": [
    "classification",
    "cross-validation",
    "parafac",
    "parafac2"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "matthewasisgress",
      "count": 43,
      "uuid": 240058972
    }
  ],
  "_userbio": {
    "uuid": 240058972,
    "type": "user",
    "name": "Matthew Asisgress"
  },
  "_downloads": {
    "count": 804,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cpfa"
  },
  "_devurl": "https://github.com/matthewasisgress/cpfa",
  "_searchresults": 3,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/cpfa.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/matthewasisgress/cpfa",
  "_realowner": "matthewasisgress",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0-0",
      "date": "2022-03-09"
    },
    {
      "version": "1.0-1",
      "date": "2022-04-09"
    },
    {
      "version": "1.0-2",
      "date": "2022-05-16"
    },
    {
      "version": "1.0-3",
      "date": "2022-06-16"
    },
    {
      "version": "1.0-4",
      "date": "2022-06-20"
    },
    {
      "version": "1.0-5",
      "date": "2023-08-07"
    },
    {
      "version": "1.0-6",
      "date": "2023-09-07"
    },
    {
      "version": "1.0-7",
      "date": "2023-10-07"
    },
    {
      "version": "1.0-8",
      "date": "2023-10-15"
    },
    {
      "version": "1.0-9",
      "date": "2023-11-19"
    },
    {
      "version": "1.1-0",
      "date": "2023-12-02"
    },
    {
      "version": "1.1-1",
      "date": "2024-02-03"
    },
    {
      "version": "1.1-2",
      "date": "2024-02-15"
    },
    {
      "version": "1.1-3",
      "date": "2024-04-07"
    },
    {
      "version": "1.1-4",
      "date": "2024-04-26"
    },
    {
      "version": "1.1-5",
      "date": "2024-10-01"
    },
    {
      "version": "1.1-6",
      "date": "2024-11-01"
    },
    {
      "version": "1.1-7",
      "date": "2025-02-22"
    },
    {
      "version": "1.1-8",
      "date": "2025-04-15"
    },
    {
      "version": "1.1-9",
      "date": "2025-05-27"
    },
    {
      "version": "1.2-0",
      "date": "2025-06-11"
    },
    {
      "version": "1.2-1",
      "date": "2025-07-08"
    },
    {
      "version": "1.2-2",
      "date": "2025-10-18"
    },
    {
      "version": "1.2-3",
      "date": "2025-11-02"
    },
    {
      "version": "1.2-4",
      "date": "2025-12-15"
    },
    {
      "version": "1.2-5",
      "date": "2026-01-15"
    },
    {
      "version": "1.2-6",
      "date": "2026-02-06"
    },
    {
      "version": "1.2-7",
      "date": "2026-03-29"
    },
    {
      "version": "1.2-8",
      "date": "2026-04-14"
    },
    {
      "version": "1.2-9",
      "date": "2026-05-08"
    },
    {
      "version": "1.3.0",
      "date": "2026-06-02"
    }
  ],
  "_exports": [
    "alignmod",
    "cpfa",
    "cpm",
    "cpm.all",
    "cutback",
    "distdraw",
    "imphelper",
    "kcv.gbm",
    "kcv.nn",
    "kcv.plr",
    "kcv.rda",
    "kcv.rf",
    "kcv.svm",
    "kcvcheck",
    "logicheck",
    "numcheck",
    "pficpfa",
    "plotcpfa",
    "postalign",
    "predict.tunecpfa",
    "print.tunecpfa",
    "repsums",
    "simcpfa",
    "tunecpfa"
  ],
  "_help": [
    {
      "page": "cpfa",
      "title": "Classification with Parallel Factor Analysis",
      "topics": [
        "cpfa"
      ]
    },
    {
      "page": "cpm",
      "title": "Classification Performance Measures",
      "topics": [
        "cpm"
      ]
    },
    {
      "page": "cpm.all",
      "title": "Wrapper for Calculating Classification Performance Measures",
      "topics": [
        "cpm.all"
      ]
    },
    {
      "page": "pficpfa",
      "title": "Permutation Feature Importance for Classification with Parallel Factor Analysis",
      "topics": [
        "pficpfa"
      ]
    },
    {
      "page": "plotcpfa",
      "title": "Plot Optimal Model from Classification with Parallel Factor Analysis",
      "topics": [
        "plotcpfa"
      ]
    },
    {
      "page": "predict.tunecpfa",
      "title": "Predict Method for Tuning for Classification with Parallel Factor Analysis",
      "topics": [
        "predict.tunecpfa"
      ]
    },
    {
      "page": "print.tunecpfa",
      "title": "Print Method for Tuning for Classification with Parallel Factor Analysis",
      "topics": [
        "print.tunecpfa"
      ]
    },
    {
      "page": "simcpfa",
      "title": "Simulate Data for Classification with Parallel Factor Analysis",
      "topics": [
        "simcpfa"
      ]
    },
    {
      "page": "tunecpfa",
      "title": "Tuning for Classification with Parallel Factor Analysis",
      "topics": [
        "tunecpfa"
      ]
    }
  ],
  "_pkglogo": "https://github.com/matthewasisgress/cpfa/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/matthewasisgress/cpfa/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "clue",
    "cluster",
    "CMLS",
    "codetools",
    "data.table",
    "digest",
    "doParallel",
    "doRNG",
    "e1071",
    "foreach",
    "glmnet",
    "iterators",
    "jsonlite",
    "lattice",
    "MASS",
    "Matrix",
    "multiway",
    "nnet",
    "proxy",
    "quadprog",
    "randomForest",
    "Rcpp",
    "RcppEigen",
    "rda",
    "rngtools",
    "shape",
    "survival",
    "xgboost"
  ],
  "_vignettes": [
    {
      "source": "cpfa.Rmd",
      "filename": "cpfa.html",
      "title": "An Introduction to cpfa",
      "author": "Matthew Asisgress",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Outline",
        "Overview",
        "Installation",
        "Example 1: Four-way Array with Multiclass Response",
        "Example 2: Three-way Array with Binary Response",
        "Example 3: Two-way Matrix with Multiclass Response",
        "Concluding Thoughts",
        "References"
      ],
      "created": "2026-04-17 00:59:54",
      "modified": "2026-06-02 02:54:59",
      "commits": 4
    }
  ],
  "_score": 4.477121254719663,
  "_indexed": true,
  "_nocasepkg": "cpfa",
  "_universes": [
    "matthewasisgress"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-06-06T07:49:32.000Z",
      "distro": "noble",
      "commit": "1789863b08b7f38137b92dc6c9d4000dc4d3474a",
      "fileid": "25f9183174adcfc78612616b371da750292ac647641db401a73eb512a961bf3c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/matthewasisgress/actions/runs/27056552784"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-06-06T07:49:42.000Z",
      "distro": "noble",
      "commit": "1789863b08b7f38137b92dc6c9d4000dc4d3474a",
      "fileid": "4fb084c46cb5fc6b09ae987ca8f44aaf01a5e3fc76632e355609a64bf588d08e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/matthewasisgress/actions/runs/27056552784"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.0",
      "date": "2026-06-06T07:48:56.000Z",
      "commit": "1789863b08b7f38137b92dc6c9d4000dc4d3474a",
      "fileid": "bc069803156e90c8805a205a136878a114180e9c4b8e71d008dc42f9501c839e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/matthewasisgress/actions/runs/27056552784"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.3.0",
      "date": "2026-06-06T07:49:19.000Z",
      "commit": "1789863b08b7f38137b92dc6c9d4000dc4d3474a",
      "fileid": "1373b38673b6b24567b634205275ec7226e9b66abf37f063620c5d0038d0aa7e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/matthewasisgress/actions/runs/27056552784"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3.0",
      "date": "2026-06-06T07:49:38.000Z",
      "commit": "1789863b08b7f38137b92dc6c9d4000dc4d3474a",
      "fileid": "ffb3a37464f20af9b6ac44b4d534e5aef7733610958dbc0eb523193fd008b40f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/matthewasisgress/actions/runs/27056552784"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-06-06T07:49:02.000Z",
      "commit": "1789863b08b7f38137b92dc6c9d4000dc4d3474a",
      "fileid": "4e659f4f6f0c776c10450d6cdfea9a5218de4815142b13ad5ccdcfeccef804c6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/matthewasisgress/actions/runs/27056552784"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-06-06T07:48:43.000Z",
      "commit": "1789863b08b7f38137b92dc6c9d4000dc4d3474a",
      "fileid": "c311fcd95d6074d3a4fa1acf22a2c44df60f42d5a88e640a2a01ae6cb398e4de",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/matthewasisgress/actions/runs/27056552784"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-06-06T07:48:44.000Z",
      "commit": "1789863b08b7f38137b92dc6c9d4000dc4d3474a",
      "fileid": "b9cf9d177793ca45edff90a3979c9b068c329dafe2ba34a1d8af8b7a2f9edaa6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/matthewasisgress/actions/runs/27056552784"
    }
  ]
}