We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 637ac10 commit 4fc59d6Copy full SHA for 4fc59d6
R/multilabel_binarizer.R
@@ -49,7 +49,7 @@ multi_label_binarizer <- function(data, feature, sep = "#") {
49
)
50
51
detection_labels <- labels_raw %>%
52
- stringr::str_replace_all("^|$", "#")
+ stringr::str_replace_all("^|$", sep)
53
54
# Raw processed feature
55
processed_feature <- pad_data_with_sep(data, {{ feature }}, sep) %>%
0 commit comments