Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFix `preProcess` for simple data #679
Conversation
Adding MAE as a standard output for regression tasks
Fixing error message
|
Thanks! Can you add a note in the NEWS.Rd file to reflect the fix? |
|
Sure. |
Move optimism bootstrap routine to its own function
|
Can you do a quick sync and resolve the conflict in the news file? |
|
Thanks again. |
04a3d80
into
topepo:master
preProcessdoesn't work properly when the transformations inpreProcessare related to individual columns only (e.g. whenmethodlist is equal tolist(center="y", ignore="x")inside this function) . This is because the piece of code inpreProcess.Rfile (lines 279-285) transforms themethodlist into a vector in such case and this change of type is not what further operations in the code expect. As a result, execution of line 357 ends up with error$ operator is invalid for atomic vectorswhen test in filetest_preProcess_internals.Ris run.This pull request fixes this problem by disallowing the implicit change of the type.