Commit a6af7a16 authored by rgranvil's avatar rgranvil Committed by Laurae
Browse files

Preventing large numeric parameters from being converted to scientific notation (#968)

parent 97b91108
......@@ -110,7 +110,7 @@ lgb.params2str <- function(params, ...) {
for (key in names(params)) {
# Join multi value first
val <- paste0(params[[key]], collapse = ",")
val <- paste0(format(params[[key]], scientific = FALSE), collapse = ",")
if (nchar(val) <= 0) next # Skip join
# Join key value
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment