Skip to content

Commit

Permalink
rsample to modeldata
Browse files Browse the repository at this point in the history
  • Loading branch information
talegari committed Jun 4, 2020
1 parent 0f44984 commit 4a55cd3
Show file tree
Hide file tree
Showing 42 changed files with 1,007 additions and 683 deletions.
Binary file modified .DS_Store
Binary file not shown.
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: tidyrules
Type: Package
Title: Obtain Rules from Rule Based Models as Tidy Dataframe
Version: 0.1.4
Version: 0.1.5
Authors@R: c(
person("Srikanth", "Komala Sheshachala", email = "[email protected]", role = c("aut", "cre")),
person("Amith Kumar", "Ullur Raghavendra", email = "[email protected]", role = c("aut"))
Expand All @@ -22,7 +22,7 @@ Suggests:
Cubist (>= 0.2.2),
rpart (>= 1.2.2),
rpart.plot (>= 3.0.7),
rsample (>= 0.0.2),
modeldata (>= 0.0.1),
testthat (>= 2.0.1),
MASS (>= 7.3.50),
mlbench (>= 2.1.1),
Expand All @@ -35,5 +35,5 @@ BugReports: https://github.com/talegari/tidyrules/issues
License: GPL-3
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.0.2
RoxygenNote: 7.1.0
VignetteBuilder: knitr
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# tidyrules 0.1.5

- Maintenance release (replace package rsample with modeldata)

# tidyrules 0.1.4

- Added rules parsable in python and SQL (default: R)
Expand Down
2 changes: 1 addition & 1 deletion R/c5.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#' }
#'
#' @examples
#' data("attrition", package = "rsample")
#' data("attrition", package = "modeldata")
#' attrition <- tibble::as_tibble(attrition)
#' c5_model <- C50::C5.0(Attrition ~., data = attrition, rules = TRUE)
#' summary(c5_model)
Expand Down
2 changes: 1 addition & 1 deletion R/cubist.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#' }
#'
#' @examples
#' data("attrition", package = "rsample")
#' data("attrition", package = "modeldata")
#' attrition <- tibble::as_tibble(attrition)
#' cols_att <- setdiff(colnames(attrition), c("MonthlyIncome", "Attrition"))
#'
Expand Down
2 changes: 1 addition & 1 deletion R/varSpec.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#' @return A tibble with three columns: variable(character), type(character) and
#' levels(a list-column). For numeric variables, levels are set to NA.
#' @examples
#' data("attrition", package = "rsample")
#' data("attrition", package = "modeldata")
#' attrition <- tibble::as_tibble(attrition)
#' cols_att <- setdiff(colnames(attrition), c("MonthlyIncome", "Attrition"))
#'
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ knitr::opts_chunk$set(
[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/tidyrules)](https://cran.r-project.org/package=tidyrules)
<!-- badges: end -->

`tidyrules` converts texual rules from models to dataframes with parseable rules. Supported models are: `C5`, `cubist` and `rpart`.
`tidyrules` converts textual rules from models to dataframes with parseable rules. Supported models are: `C5`, `cubist` and `rpart`.

## Example

Expand Down
34 changes: 22 additions & 12 deletions docs/404.html

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

35 changes: 20 additions & 15 deletions docs/articles/index.html

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

Loading

0 comments on commit 4a55cd3

Please sign in to comment.