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.

Author | Scott Miller [aut, cre] |

Date of publication | 2016-10-01 15:05:50 |

Maintainer | Scott Miller <sam3CRAN@gmail.com> |

License | GPL-2 |

Version | 0.1.0 |

**coefPlot:** Plots coefficients in an impulse response format

**distMat:** Make a matrix with coefficients distributed as dist

**easyLASSO:** Select and fit sparse linear model with LASSO

**eDiff:** Matrix size-preserving diff function

**eLag:** Convert vector into a matrix of lag columns

**eMatrixOuter:** Extends eOuter to allow a matrix for the first argument

**eOuter:** Extend outer product.

**ePow:** Convert vector x into a matrix X_{ij} = {x_i}^j

**eQuad:** Multivariate second order polynomial expansion.

**eReplace:** Replace values in an R object coerible to a matrix

**eTrim:** Remove padded rows from matrix X

**expandFunctions:** expandFunctions: a feature matrix builder

**freemanTukey:** Freeman-Tukey transform

**lagshift:** Helper function for eLag.

**polywrapper:** Generate special functions using orthonormal functions

**rapt:** Expand an input matrix X using raptObj.

**raptMake:** Define a Random Affine Projection Transformation (RAPT)...

**reset.warnings:** Reset annoyingly persistent warning messages.

**Ydiagnostics:** Informative plots for Y and Yhat

**yyHatPlot:** Plot y and yHat on the same scale w/reference line

expandFunctions

expandFunctions/NAMESPACE

expandFunctions/NEWS.md

expandFunctions/R

expandFunctions/R/expandFunctions-package.R
expandFunctions/R/expandFunctions.R
expandFunctions/README.md

expandFunctions/MD5

expandFunctions/DESCRIPTION

expandFunctions/man

expandFunctions/man/eLag.Rd
expandFunctions/man/rapt.Rd
expandFunctions/man/polywrapper.Rd
expandFunctions/man/yyHatPlot.Rd
expandFunctions/man/eOuter.Rd
expandFunctions/man/expandFunctions.Rd
expandFunctions/man/freemanTukey.Rd
expandFunctions/man/eReplace.Rd
expandFunctions/man/Ydiagnostics.Rd
expandFunctions/man/lagshift.Rd
expandFunctions/man/raptMake.Rd
expandFunctions/man/eMatrixOuter.Rd
expandFunctions/man/eQuad.Rd
expandFunctions/man/eTrim.Rd
expandFunctions/man/reset.warnings.Rd
expandFunctions/man/easyLASSO.Rd
expandFunctions/man/distMat.Rd
expandFunctions/man/ePow.Rd
expandFunctions/man/coefPlot.Rd
expandFunctions/man/eDiff.Rd
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.