Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 2.66 KB

NEWS.md

File metadata and controls

50 lines (32 loc) · 2.66 KB

News

mltools 0.3.6

  • Added drop = FALSE parameter where needed inside sparsify() to force inputted data.table with 1 row to be returned as a sparse matrix
  • Fixed bug where sparsify(dt, sparsifyNAs = FALSE) would error if dt had a factor column of all NAs (sometimes)
  • Added parameters 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().
  • Added parameter alpha to rmsle() and msle() functions to specify a custom offset instead of the deault (1).
  • Added parameter roundbins to bin_data() to allow bin values to be rounded to a specified decimal place
  • Fixed bug in empirical_cdf() which occurred when a boundary exactly matched multiple target records

mltools 0.3.5

  • Added and organize evaluation metrics, mean square error: mse(), mean square logarithmic error: msle(), root mean square error: rmse(), and root mean square logarithmic error: rmsle(). Each metric now includes an option to pass weights and ignore NA values.
  • Added unit tests
  • Support for multiclass mcc() and user may now provide a confusion matrix as input
  • Avoid calling utils::modifyList() on POSIXlt objects

mltools 0.3.4

  • Added and organize evaluation metrics, mean square error: mse(), mean square logarithmic error: msle(), root mean square error: rmse(), and root mean square logarithmic error: rmsle(). Each metric now includes an option to pass weights and ignore NA values.
  • Added unit tests

mltools 0.3.3

  • In date_factor(dateVec, ...) fixed bug in "character string is not in a standard unambiguous format" produced by some date values

mltools 0.3.2

  • In folds(x, ...) x can now be a positive integer specifying the number of fold IDs to generate
  • In date_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.
  • In bin_data() added some input validation

mltools 0.3.1

  • Fixed bug in bin_data() occurring when x is integer type and bins includes Inf or -Inf

mltools 0.3.0

  • Fixed bug in date_factor() occuring when type = "yearquarter" and fullyears = FALSE
  • Fixed bugs involving unsorted or duplicate ubounds in empirical_cdf()

mltools 0.2.0

  • Added date_factor() for converting dates to a grouped ordered factor (e.g. months, yearmonths, yearquarters, etc.)
  • Implemented stratification for numeric x in folds(x, stratified=TRUE, ...)

mltools 0.1.0

Initial Release