Skip to content

Commit

Permalink
tidy changes (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
talegari authored May 23, 2024
1 parent 4a55cd3 commit b52adcb
Show file tree
Hide file tree
Showing 24 changed files with 720 additions and 893 deletions.
14 changes: 8 additions & 6 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
Package: tidyrules
Type: Package
Title: Obtain Rules from Rule Based Models as Tidy Dataframe
Version: 0.1.5
Version: 0.2.0
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"))
)
Maintainer: Srikanth Komala Sheshachala <[email protected]>
Depends: R (>= 3.6.0),
Imports:
tibble (>= 2.0.1),
stringr (>= 1.3.1),
magrittr (>= 1.5),
purrr (>= 0.3.2),
assertthat (>= 0.2.0),
partykit (>= 1.2.2),
rlang (>= 1.1.3),
generics (>= 0.1.3),
checkmate (>= 2.3.1),
tidytable (>= 0.11.0),
data.table (>= 1.14.6)
Suggests:
AmesHousing (>= 0.0.3),
dplyr (>= 0.8),
Expand All @@ -28,12 +31,11 @@ Suggests:
mlbench (>= 2.1.1),
knitr (>= 1.23),
rmarkdown (>= 1.13),
pander (>= 0.6.3),
Description: Utility to convert text based summary of rule based models to a tidy dataframe (where each row represents a rule) with related metrics such as support, confidence and lift. Rule based models from these packages are supported: 'C5.0', 'rpart' and 'Cubist'.
Description: Utility to convert text based summary of rule based models to a rulelist or ruleset dataframe (where each row represents a rule) with related metrics such as support, confidence and lift. Rule based models from these packages are supported: 'C5.0', 'rpart' and 'Cubist'.
URL: https://github.com/talegari/tidyrules
BugReports: https://github.com/talegari/tidyrules/issues
License: GPL-3
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.1.0
RoxygenNote: 7.3.1
VignetteBuilder: knitr
13 changes: 9 additions & 4 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# Generated by roxygen2: do not edit by hand

S3method(tidyRules,C5.0)
S3method(tidyRules,cubist)
S3method(tidyRules,rpart)
export(tidyRules)
S3method(print,rulelist)
S3method(print,ruleset)
S3method(tidy,C5.0)
S3method(tidy,cubist)
S3method(tidy,rpart)
export(tidy)
export(varSpec)
importFrom(data.table,":=")
importFrom(generics,tidy)
importFrom(magrittr,"%>%")
importFrom(rlang,"%||%")
Loading

0 comments on commit b52adcb

Please sign in to comment.