Package: barn 0.0.0.9000
barn: Preprocessing and Feature Engineering Steps before Modeling
The package provides pipeable functions to simplify preprocessing of tabular data prior to machine learning modeling. Users can combine multiple datasets, define feature engineering steps (such as creating new predictors from nominal or numeric columns), and then split the data back into preprocessed datasets ready to be used in machine learning workflows.
Authors:
barn_0.0.0.9000.tar.gz
barn_0.0.0.9000.zip(r-4.7)barn_0.0.0.9000.zip(r-4.6)barn_0.0.0.9000.zip(r-4.5)
barn_0.0.0.9000.tgz(r-4.6-any)barn_0.0.0.9000.tgz(r-4.5-any)
barn_0.0.0.9000.tar.gz(r-4.7-any)barn_0.0.0.9000.tar.gz(r-4.6-any)
barn_0.0.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
barn/json (API)
| # Install 'barn' in R: |
| install.packages('barn', repos = c('https://jrosell.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/jrosell/barn/issues
Pkgdown/docs site:https://jrosell.github.io
Last updated from:cea7b0d85a. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 139 | ||
| source / vignettes | OK | 206 | ||
| linux-release-x86_64 | OK | 126 | ||
| macos-release-arm64 | OK | 121 | ||
| macos-oldrel-arm64 | OK | 90 | ||
| windows-devel | OK | 429 | ||
| windows-release | OK | 439 | ||
| windows-oldrel | OK | 417 | ||
| wasm-release | OK | 123 |
Exports:barnharvestplant_count_encodeplant_decimals_extractplant_decimals_roundplant_label_encodeplant_new_nominal_pairsplant_new_numeric_factorsplant_summarize
Dependencies:askpassclicorocpp11crayoncurldplyrellmerfastmapgenericsgluehttr2jsonlitelaterlifecyclemagrittropensslotelpillarpkgconfigpromisespurrrR6rappdirsRcpprlangS7stringistringrsystibbletidyrtidyselectutf8vctrswithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Combine datasets to preprocess | barn print.barn |
| Split the combined dataset | harvest |
| Encode categorical columns with counts | plant_count_encode |
| Extract decimals in numeric features | plant_decimals_extract |
| Round numeric features to specified precisions | plant_decimals_round |
| Encode labels in a barn object | plant_label_encode |
| Create new nominal pairs | plant_new_nominal_pairs |
| New factors from numerical columns | plant_new_numeric_factors |
| Summarize Barn Object | plant_summarize |
