Package: expandFunctions 0.1.0

Scott Miller

expandFunctions: Feature Matrix Builder

Generates feature matrix outputs from R object inputs using a variety of expansion functions. The generated feature matrices have applications as inputs for a variety of machine learning algorithms. The expansion functions are based on coercing the input to a matrix, treating the columns as features and converting individual columns or combinations into blocks of columns. Currently these include expansion of columns by efficient sparse embedding by vectors of lags, quadratic expansion into squares and unique products, powers by vectors of degree, vectors of orthogonal polynomials functions, and block random affine projection transformations (RAPTs). The transformations are magrittr- and cbind-friendly, and can be used in a building block fashion. For instance, taking the cos() of the output of the RAPT transformation generates a stationary kernel expansion via Bochner's theorem, and this expansion can then be cbind-ed with other features. Additionally, there are utilities for replacing features, removing rows with NAs, creating matrix samples of a given distribution, a simple wrapper for LASSO with CV, a Freeman-Tukey transform, generalizations of the outer function, matrix size-preserving discrete difference by row, plotting, etc.

Authors:Scott Miller [aut, cre]

expandFunctions_0.1.0.tar.gz
expandFunctions_0.1.0.tar.gz(r-4.5-noble)expandFunctions_0.1.0.tar.gz(r-4.4-noble)
expandFunctions_0.1.0.tgz(r-4.4-emscripten)expandFunctions_0.1.0.tgz(r-4.3-emscripten)
expandFunctions.pdf |expandFunctions.html
expandFunctions/json (API)
NEWS

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

Peer review:

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

2.04 score 22 scripts 133 downloads 19 exports 13 dependencies

Last updated 8 years agofrom:3847edebdb. Checks:OK: 1 NOTE: 1. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 03 2024
R-4.5-linuxNOTENov 03 2024

Exports:coefPlotdistMateasyLASSOeDiffeLageMatrixOutereOuterePoweQuadeReplaceeTrimfreemanTukeylagshiftpolywrapperraptraptMakereset.warningsYdiagnosticsyyHatPlot

Dependencies:codetoolsforeachglmnetiteratorslatticeMatrixorthopolynomplyrpolynomRcppRcppEigenshapesurvival