skent259 / mildsvm

Multiple Instance Learning with Distributions, SVM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Check to make sure matrices never drop

skent259 opened this issue · comments

Adjust code to use X[ , ,drop = FALSE] when subsetting matrices (and non-tibble data frames) to make sure that the 2D structure is maintained. (from https://tidymodels.github.io/model-implementation-principles/function-interfaces.html)