Skip to content

Commit 5aa9775

Browse files
authored
limit precision for class weights in print() (#106)
1 parent db54f2a commit 5aa9775

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/0_utils.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ brulee_print <- function(x, ...) {
2222
paste0(
2323
lvl,
2424
"=",
25-
format(x$parameters$class_weights),
25+
format(x$parameters$class_weights, digits = 3),
2626
collapse = ", "
2727
),
2828
"\n"

0 commit comments

Comments
 (0)