QMYJi18KPYHMEQpIEhSANDkAaGIA0MQRoYgjQwBGlgCNLAEKTB/wOE8++2EBejHQAAAABJRU5ErkJggg==" /><!-- --></p>
</div>
<div id="training-the-model-with-logistic_reg-tidymodels-object" class="section level2">
<h2>Training the Model with logistic_reg() TidyModels object</h2>
<p>As TidyModels utilises the underlying lm and glm packages, which CARET also uses, then the way to train with a TidyModels wrapper would be as follows. I will use the cancer data we have been working with for consistency.</p>
<p>The model requires t