No flags found
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
2d0b635
... +3 ...
147b031
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
22 | 22 | #' |
|
23 | 23 | #' Marko Robnik-Sikonja, Igor Kononenko: An adaptation of Relief for attribute estimation in regression. In: Fourteenth International Conference on Machine Learning, 296-304, 1997. |
|
24 | 24 | #' |
|
25 | + | #' @details The function and it's manual page taken directly from \pkg{FSelector}: |
|
26 | + | #' Piotr Romanski and Lars Kotthoff (2018). FSelector: Selecting Attributes. |
|
27 | + | #' R package version 0.31. https://CRAN.R-project.org/package=FSelector |
|
25 | 28 | #' |
|
26 | - | #' @return |
|
27 | - | #' @export |
|
28 | 29 | #' |
|
29 | 30 | #' @examples |
|
30 | 31 | #' |
35 | 36 | #' subset <- cut_attrs(weights, 2) |
|
36 | 37 | #' f <- to_formula(subset, "Species") |
|
37 | 38 | #' print(f) |
|
38 | - | #' |
|
39 | + | #' @export |
|
39 | 40 | relief <- function(formula, data, x, y, neighboursCount = 5, sampleSize = 10) { |
|
40 | 41 | ||
42 | + | stopifnot(neighboursCount >= 1) |
|
43 | + | stopifnot(sampleSize >= 1) |
|
44 | + | ||
41 | 45 | if (!xor( |
|
42 | 46 | all(!missing(x), !missing(y)), |
|
43 | 47 | all(!missing(formula), !missing(data)))) { |
Files | Coverage |
---|---|
R | 0.05% 85.78% |
inst/include | 96.09% |
src | 99.42% |
Project Totals (22 files) | 90.41% |
#86
147b031
07e10e9
906e338
c17c54e
#86
2d0b635