Open simonpcouch opened 1 month ago
I'm wondering if we should differentiate between "trained", "untrained", and "n/a". The last case is things like probability thresholding that don't estimate anything.
The requires_fit
slot can help us tell which operations don't estimate anything!
The method to fit a tailor is called
fit()
and a new helper function calls that operationfit
ting:https://github.com/tidymodels/tailor/blob/e98131d645cf4949cc97fa21e5fa13129e7fee02/R/utils.R#L76-L81
At the same time, some other functionality (printing, the slot
$trained
, the following helper) usestrain
:https://github.com/tidymodels/tailor/blob/e98131d645cf4949cc97fa21e5fa13129e7fee02/R/utils.R#L64-L70
train
follows the precedent ofrecipes::fully_trained()
, print methods elsewhere, etc. I'm not sure if this might be a point of confusion for users.