+
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Config/testthat/parallel: true
Encoding: UTF-8
NeedsCompilation: no
Roxygen: list(markdown = TRUE, r6 = TRUE)
RoxygenNote: 7.1.1
RoxygenNote: 7.1.2
Collate:
'Filter.R'
'mlr_filters.R'
Expand All @@ -78,6 +78,7 @@ Collate:
'FilterRelief.R'
'FilterSelectedFeatures.R'
'FilterVariance.R'
'bibentries.R'
'flt.R'
'helper.R'
'reexports.R'
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@ importFrom(stats,aov)
importFrom(stats,kruskal.test)
importFrom(stats,runif)
importFrom(stats,var)
importFrom(utils,bibentry)
importFrom(utils,head)
5 changes: 5 additions & 0 deletions R/FilterAUC.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
#' (random classifier). The absolute value of the difference between the AUC and
#' 0.5 is used as final filter value.
#'
#' @references
#' For a benchmark of filter methods:
#'
#' `r format_bib("bommert_2020")`
#'
#' @family Filter
#' @template seealso_filter
#' @export
Expand Down
5 changes: 5 additions & 0 deletions R/FilterAnova.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
#' transformation is necessary to ensure numerical stability for very small
#' \eqn{p}-values.
#'
#' @references
#' For a benchmark of filter methods:
#'
#' `r format_bib("bommert_2020")`
#'
#' @family Filter
#' @importFrom stats aov
#' @template seealso_filter
Expand Down
7 changes: 7 additions & 0 deletions R/FilterCMIM.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
#'
#' This filter supports partial scoring (see [Filter]).
#'
#' @references
#' `r format_bib("kursa_2021")`
#'
#' For a benchmark of filter methods:
#'
#' `r format_bib("bommert_2020")`
#'
#' @template details_praznik
#' @family Filter
#' @template seealso_filter
Expand Down
2 changes: 1 addition & 1 deletion R/FilterCarScore.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#'
#' @name mlr_filters_carscore
#'
#' @description Calculates the Correlation-Adjusted (marginal) coRelation scores
#' @description Calculates the Correlation-Adjusted (marginal) coRrelation scores
#' (short CAR scores) implemented in [care::carscore()] in package
#' \CRANpkg{care}. The CAR scores for a set of features are defined as the
#' correlations between the target and the decorrelated features. The filter
Expand Down
5 changes: 5 additions & 0 deletions R/FilterCorrelation.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
#' Simple correlation filter calling [stats::cor()].
#' The filter score is the absolute value of the correlation.
#'
#' @references
#' For a benchmark of filter methods:
#'
#' `r format_bib("bommert_2020")`
#'
#' @family Filter
#' @template seealso_filter
#' @export
Expand Down
7 changes: 7 additions & 0 deletions R/FilterDISR.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
#'
#' This filter supports partial scoring (see [Filter]).
#'
#' @references
#' `r format_bib("kursa_2021")`
#'
#' For a benchmark of filter methods:
#'
#' `r format_bib("bommert_2020")`
#'
#' @template details_praznik
#' @family Filter
#' @template seealso_filter
Expand Down
8 changes: 8 additions & 0 deletions R/FilterJMI.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
#'
#' This filter supports partial scoring (see [Filter]).
#'
#' @references
#' `r format_bib("kursa_2021")`
#'
#' For a benchmark of filter methods:
#'
#' `r format_bib("bommert_2020")`
#'
#'
#' @template details_praznik
#' @family Filter
#' @template seealso_filter
Expand Down
7 changes: 7 additions & 0 deletions R/FilterJMIM.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
#'
#' This filter supports partial scoring (see [Filter]).
#'
#' @references
#' `r format_bib("kursa_2021")`
#'
#' For a benchmark of filter methods:
#'
#' `r format_bib("bommert_2020")`
#'
#' @template details_praznik
#' @family Filter
#' @template seealso_filter
Expand Down
8 changes: 6 additions & 2 deletions R/FilterKruskalTest.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@
#'
#' @name mlr_filters_kruskal_test
#'
#' @description Kruskal-Wallis rank sum test filter calling
#' [stats::kruskal.test()].
#' @description Kruskal-Wallis rank sum test filter calling [stats::kruskal.test()].
#'
#' The filter value is `-log10(p)` where `p` is the \eqn{p}-value. This
#' transformation is necessary to ensure numerical stability for very small
#' \eqn{p}-values.
#'
#' @references
#' For a benchmark of filter methods:
#'
#' `r format_bib("bommert_2020")`
#'
#' @family Filter
#' @importFrom stats kruskal.test
#' @template seealso_filter
Expand Down
7 changes: 7 additions & 0 deletions R/FilterMIM.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
#'
#' This filter supports partial scoring (see [Filter]).
#'
#' @references
#' `r format_bib("kursa_2021")`
#'
#' For a benchmark of filter methods:
#'
#' `r format_bib("bommert_2020")`
#'
#' @template details_praznik
#' @family Filter
#' @template seealso_filter
Expand Down
7 changes: 7 additions & 0 deletions R/FilterMRMR.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
#'
#' This filter supports partial scoring (see [Filter]).
#'
#' @references
#' `r format_bib("kursa_2021")`
#'
#' For a benchmark of filter methods:
#'
#' `r format_bib("bommert_2020")`
#'
#' @template details_praznik
#' @family Filter
#' @template seealso_filter
Expand Down
7 changes: 7 additions & 0 deletions R/FilterNJMIM.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
#'
#' This filter supports partial scoring (see [Filter]).
#'
#' @references
#' `r format_bib("kursa_2021")`
#'
#' For a benchmark of filter methods:
#'
#' `r format_bib("bommert_2020")`
#'
#' @template details_praznik
#' @family Filter
#' @template seealso_filter
Expand Down
5 changes: 5 additions & 0 deletions R/FilterVariance.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
#'
#' Argument `na.rm` defaults to `TRUE` here.
#'
#' @references
#' For a benchmark of filter methods:
#'
#' `r format_bib("bommert_2020")`
#'
#' @family Filter
#' @importFrom stats var
#' @template seealso_filter
Expand Down
26 changes: 26 additions & 0 deletions R/bibentries.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#' @importFrom utils bibentry
bibentries = c(
bommert_2020 = bibentry("article",
doi = "10.1016/j.csda.2019.106839",
year = "2020",
month = "3",
publisher = "Elsevier {BV}",
volume = "143",
pages = "106839",
author = "Andrea Bommert and Xudong Sun and Bernd Bischl and J\u00f6rg Rahnenf\u00fchrer and Michel Lang",
title = "Benchmark for filter methods for feature selection in high-dimensional classification data",
journal = "Computational Statistics & Data Analysis"
),

kursa_2021 = bibentry("article",
doi = "10.1016/j.softx.2021.100819",
year = "2021",
month = "12",
publisher = "Elsevier {BV}",
volume = "16",
pages = "100819",
author = "Miron B. Kursa",
title = "Praznik: High performance information-based feature selection",
journal = "{SoftwareX}"
)
)
5 changes: 1 addition & 4 deletions man/mlr3filters-package.Rd

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

8 changes: 8 additions & 0 deletions man/mlr_filters_anova.Rd

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

8 changes: 8 additions & 0 deletions man/mlr_filters_auc.Rd

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

2 changes: 1 addition & 1 deletion man/mlr_filters_carscore.Rd

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

13 changes: 13 additions & 0 deletions man/mlr_filters_cmim.Rd

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

8 changes: 8 additions & 0 deletions man/mlr_filters_correlation.Rd

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

13 changes: 13 additions & 0 deletions man/mlr_filters_disr.Rd

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

13 changes: 13 additions & 0 deletions man/mlr_filters_jmi.Rd

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

13 changes: 13 additions & 0 deletions man/mlr_filters_jmim.Rd

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

11 changes: 9 additions & 2 deletions man/mlr_filters_kruskal_test.Rd

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

Loading
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载