{"id":2130,"date":"2021-10-25T03:00:34","date_gmt":"2021-10-25T03:00:34","guid":{"rendered":"http:\/\/optimumsportsperformance.com\/blog\/?p=2130"},"modified":"2021-10-26T13:26:36","modified_gmt":"2021-10-26T13:26:36","slug":"tidyx-80-tuning-decision-trees-in-tidymodels","status":"publish","type":"post","link":"https:\/\/optimumsportsperformance.com\/blog\/tidyx-80-tuning-decision-trees-in-tidymodels\/","title":{"rendered":"TidyX 80: Tuning Decision Trees in tidymodels"},"content":{"rendered":"<p><span style=\"color: #0000ff;\"><strong><a style=\"color: #0000ff;\" href=\"https:\/\/twitter.com\/ellis_hughes\">Ellis Hughes<\/a><\/strong><\/span> and I discuss how to tune decision trees for regression within the {<strong>tidymodels<\/strong>} framework. We cover:<\/p>\n<p>* Pre-processing data<br \/>\n* Splitting data into training and test sets<br \/>\n* Setting tuning parameters and a tuning grid<br \/>\n* Fitting models and gathering model evaluation metrics<br \/>\n* Selecting the final model following tuning and fitting that model to the test data set<br \/>\n* Visualizing your outcomes<\/p>\n<p>To watch our screen cast, <strong><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/www.youtube.com\/watch?v=7cKKFKHw-L8\">CLICK HERE<\/a><\/span><\/strong>.<\/p>\n<p>To access our code, <strong><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/github.com\/thebioengineer\/TidyX\/tree\/master\/TidyTuesday_Explained\/080-Tidy_Models_4\">CLICK HERE<\/a><\/span><\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ellis Hughes and I discuss how to tune decision trees for regression within the {tidymodels} framework. We cover: * Pre-processing data * Splitting data into training and test sets * Setting tuning parameters and a tuning grid * Fitting models and gathering model evaluation metrics * Selecting the final model following tuning and fitting that [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44],"tags":[],"class_list":["post-2130","post","type-post","status-publish","format-standard","hentry","category-tidyx-screen-cast"],"_links":{"self":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/2130","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/comments?post=2130"}],"version-history":[{"count":1,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/2130\/revisions"}],"predecessor-version":[{"id":2131,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/2130\/revisions\/2131"}],"wp:attachment":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/media?parent=2130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/categories?post=2130"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/tags?post=2130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}