ecpolley / SuperLearner

Current version of the SuperLearner R package
272 stars 72 forks source link

fix CC methods to account for duplicated columns and add tests #106

Closed benkeser closed 6 years ago

benkeser commented 6 years ago

This pull request fixes ecpolley/SuperLearner#99 where the convex combination methods fail when algorithms are duplicated.

Additionally, `method.CC_LS now handles predictions with NAs by assuming any column of all 0's should be treated as an error and removed from the weight fitting.

Relevant test-that files are also included.