Skip to content

Commit

Permalink
fill in package-level docs and put CRAN links in canonical form
Browse files Browse the repository at this point in the history
  • Loading branch information
bfgray3 committed Jan 23, 2018
1 parent 9f57629 commit a25c25c
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 21 deletions.
6 changes: 4 additions & 2 deletions R/cattonum.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#' cattonum: TODO
#' cattonum: Encode Categorical Features
#'
#' TODO.
#' Functions for dummy encoding, frequency encoding,
#' label encoding, leave-one-out encoding, mean encoding,
#' and one-hot encoding.
#'
#' @docType package
#' @name cattonum
Expand Down
12 changes: 6 additions & 6 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ knitr::opts_chunk$set(

There are many existing packages with which to encode categorical features, including (among others):

* [CatEncoders](https://cran.r-project.org/web/packages/CatEncoders/index.html)
* [dummies](https://cran.r-project.org/web/packages/dummies/index.html)
* [fastDummies](https://cran.r-project.org/web/packages/fastDummies/index.html)
* [h2o](https://cran.r-project.org/web/packages/h2o/index.html)
* [makedummies](https://cran.r-project.org/web/packages/makedummies/index.html)
* [recipes](https://cran.r-project.org/web/packages/recipes/index.html)
* [CatEncoders](https://cran.r-project.org/package=CatEncoders)
* [dummies](https://cran.r-project.org/package=dummies)
* [fastDummies](https://cran.r-project.org/package=fastDummies)
* [h2o](https://cran.r-project.org/package=h2o)
* [makedummies](https://cran.r-project.org/package=makedummies)
* [recipes](https://cran.r-project.org/package=recipes)

The goal of `catto_num` is to be a one-stop shop for all categorical encoding needs. Nothing more, nothing less.

Expand Down
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,14 @@ features as numerics. It includes the following:
- one-hot encoding: `catto_onehot`

There are many existing packages with which to encode categorical
features, including (among
others):

- [CatEncoders](https://cran.r-project.org/web/packages/CatEncoders/index.html)
- [dummies](https://cran.r-project.org/web/packages/dummies/index.html)
- [fastDummies](https://cran.r-project.org/web/packages/fastDummies/index.html)
- [h2o](https://cran.r-project.org/web/packages/h2o/index.html)
- [makedummies](https://cran.r-project.org/web/packages/makedummies/index.html)
- [recipes](https://cran.r-project.org/web/packages/recipes/index.html)
features, including (among others):

- [CatEncoders](https://cran.r-project.org/package=CatEncoders)
- [dummies](https://cran.r-project.org/package=dummies)
- [fastDummies](https://cran.r-project.org/package=fastDummies)
- [h2o](https://cran.r-project.org/package=h2o)
- [makedummies](https://cran.r-project.org/package=makedummies)
- [recipes](https://cran.r-project.org/package=recipes)

The goal of `catto_num` is to be a one-stop shop for all categorical
encoding needs. Nothing more, nothing less.
Expand Down
3 changes: 2 additions & 1 deletion cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ Categorical features often are a key part of many modern datasets in different i

## R CMD check results

0 errors | 0 warnings | 0 notes
0 errors | 1 warning | 1 note

* This is a new release.
* 'qpdf' is needed for checks on size reduction of PDFs.

## Reverse dependencies

Expand Down
6 changes: 4 additions & 2 deletions man/cattonum.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vignettes/introduction.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ knitr::opts_chunk$set(

## Background

Categorical features often are a key part of many modern datasets in different industries. When it comes to performing supervised learning on these datasets, tree-based models theoretically (and in practice with certain software, like [h2o](https://cran.r-project.org/web/packages/h2o/index.html)) handle raw categorical features, but most other models do not. Many of the popular tree-based packages even require all numeric predictors. There are several other packages that encode categorical features as numeric features, including [CatEncoders](https://cran.r-project.org/web/packages/CatEncoders/index.html), [dummies](https://cran.r-project.org/web/packages/dummies/index.html), [fastDummies](https://cran.r-project.org/web/packages/fastDummies/index.html), [h2o](https://cran.r-project.org/web/packages/h2o/index.html), [makedummies](https://cran.r-project.org/web/packages/makedummies/index.html), and [recipes](https://cran.r-project.org/web/packages/recipes/index.html). These packages either provide a more limited selection of encoding options and/or are signifantly larger in scope and much more heavyweight. `cattonum` aims to provide a one-stop-shop for categorical encodings. Nothing more, nothing less.
Categorical features often are a key part of many modern datasets in different industries. When it comes to performing supervised learning on these datasets, tree-based models theoretically (and in practice with certain software, like [h2o](https://cran.r-project.org/package=h2o)) handle raw categorical features, but most other models do not. Many of the popular tree-based packages even require all numeric predictors. There are several other packages that encode categorical features as numeric features, including [CatEncoders](https://cran.r-project.org/package=CatEncoders), [dummies](https://cran.r-project.org/package=dummies), [fastDummies](https://cran.r-project.org/package=fastDummies), [h2o](https://cran.r-project.org/package=h2o), [makedummies](https://cran.r-project.org/package=makedummies), and [recipes](https://cran.r-project.org/package=recipes). These packages either provide a more limited selection of encoding options and/or are signifantly larger in scope and much more heavyweight. `cattonum` aims to provide a one-stop-shop for categorical encodings. Nothing more, nothing less.

## Case study

Expand Down

0 comments on commit a25c25c

Please sign in to comment.