Package: categoryEncodings 1.5.0
categoryEncodings: Category Variable Encodings
Simple, fast, and automatic encodings for category data using a data.table backend. Most of the methods are an implementation of Johannemann, Hadad, Athey, Wager (2019) <arxiv:1908.09874>, particularly their 'means', "sPCA", "low-rank" and "multinomial logit".
Authors:
categoryEncodings_1.5.0.tar.gz
categoryEncodings_1.5.0.zip(r-4.7)categoryEncodings_1.5.0.zip(r-4.6)categoryEncodings_1.5.0.zip(r-4.5)
categoryEncodings_1.5.0.tgz(r-4.6-any)categoryEncodings_1.5.0.tgz(r-4.5-any)
categoryEncodings_1.5.0.tar.gz(r-4.7-any)categoryEncodings_1.5.0.tar.gz(r-4.6-any)
categoryEncodings_1.5.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
categoryEncodings/json (API)
| # Install 'categoryEncodings' in R: |
| install.packages('categoryEncodings', repos = c('https://jszitas.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/jszitas/categoryencodings/issues
categorical-variablesfeature-encodingfeature-engineering
Last updated from:7744808680. Checks:7 ERROR, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | ERROR | 135 | ||
| source / vignettes | OK | 169 | ||
| linux-release-x86_64 | ERROR | 172 | ||
| macos-release-arm64 | ERROR | 110 | ||
| macos-oldrel-arm64 | ERROR | 126 | ||
| windows-devel | ERROR | 104 | ||
| windows-release | ERROR | 82 | ||
| windows-oldrel | ERROR | 90 | ||
| wasm-release | OK | 100 |
Exports:encode_categoriesencode_deviationencode_differenceencode_dummyencode_helmertencode_lowrankencode_meanencode_medianencode_mnlencode_repeated_effectencode_simple_effectencode_spcaencoder
Dependencies:codetoolsdata.tableforeachglmnetiteratorslatticeMatrixRcppRcppEigenrsvdshapesparsepcasurvival
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Encode a given factor variable automatically | encode_categories |
| Encode a given factor variable using deviation encoding | encode_deviation |
| Encode a given factor variable using difference encoding | encode_difference |
| Encode a given factor variable using dummy variables | encode_dummy |
| Encode a given factor variable using helmert encoding | encode_helmert |
| Encode a given factor variable using low rank encoding | encode_lowrank |
| Encode a given factor variable using means encoding | encode_mean |
| Encode a given factor variable using median encoding | encode_median |
| Encode a given factor variable using a multinomial logit representation | encode_mnl |
| Encode a given factor variable using a repeated effect encoding | encode_repeated_effect |
| Encode a given factor variable using a simple effect encoding | encode_simple_effect |
| Encode a given factor variable using a sparse PCA representation | encode_spca |
| Train an encoder | encoder |
