drop = FALSE
parameter where needed inside sparsify()
to force inputted data.table with 1 row to be returned as a sparse matrixsparsify(dt, sparsifyNAs = FALSE)
would error if dt had a factor column of all NAs (sometimes)sparsifyCols
and memEfficient
to sparsify()
. sparsifyCols
let's the user choose a subset of the inputted table's columns to be sparsified and memEfficient = TRUE
will run a new, memory efficient version of sparsify().alpha
to rmsle()
and msle()
functions to specify a custom offset instead of the deault (1).roundbins
to bin_data()
to allow bin values to be rounded to a specified decimal placeempirical_cdf()
which occurred when a boundary exactly matched multiple target recordsdate_factor(dateVec, ...)
fixed bug in "character string is not in a standard unambiguous format" produced by some date valuesfolds(x, ...)
x
can now be a positive integer specifying the number of fold IDs to generatedate_factor(dateVec, ...)
the argument fullyears
has been dropped and replaced by the more flexible pair of arguments minDate
and maxDate
for determining resulting vector levels. Additionally a bug regarding type=yearquarters
has been fixed.bin_data()
added some input validationbin_data()
occurring when x
is integer type and bins
includes Inf
or -Inf
date_factor()
occuring when type = "yearquarter" and fullyears = FALSEempirical_cdf()
date_factor()
for converting dates to a grouped ordered factor (e.g. months, yearmonths, yearquarters, etc.)x
in folds(x, stratified=TRUE, ...)
Initial Release