{"id":3108,"date":"2023-06-19T03:54:15","date_gmt":"2023-06-19T03:54:15","guid":{"rendered":"http:\/\/optimumsportsperformance.com\/blog\/?p=3108"},"modified":"2023-06-19T17:39:53","modified_gmt":"2023-06-19T17:39:53","slug":"tidyx-149-shiny-statistical-model-building-train-test-split","status":"publish","type":"post","link":"https:\/\/optimumsportsperformance.com\/blog\/tidyx-149-shiny-statistical-model-building-train-test-split\/","title":{"rendered":"TidyX 149: Shiny Statistical Model Building &#8211; Train\/Test split"},"content":{"rendered":"<p>This week, <span style=\"color: #0000ff;\"><strong><a style=\"color: #0000ff;\" href=\"https:\/\/twitter.com\/ellis_hughes\">Ellis Hughes<\/a><\/strong><\/span> and I extend our Shiny Modeling Building episode from <strong><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/optimumsportsperformance.com\/blog\/tidyx-148-statistical-model-building-in-shiny\/\">LAST WEEK<\/a><\/span><\/strong> and provide the user an opportunity to decide how much of their data to allocate to a training data set. We go through how to build a {<strong>shiny<\/strong>} server that can take the user inputs, separate a reactive training and test set based on those inputs, build a regression model, and make out of sample predictions.<\/p>\n<p>To watch our screen cast, <strong><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/www.youtube.com\/watch?v=66th7DUlk8Y\">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\/149-Shiny_Model_Test_Splits\">CLICK HERE<\/a><\/span><\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week, Ellis Hughes and I extend our Shiny Modeling Building episode from LAST WEEK and provide the user an opportunity to decide how much of their data to allocate to a training data set. We go through how to build a {shiny} server that can take the user inputs, separate a reactive training and [&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-3108","post","type-post","status-publish","format-standard","hentry","category-tidyx-screen-cast"],"_links":{"self":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/3108","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=3108"}],"version-history":[{"count":2,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/3108\/revisions"}],"predecessor-version":[{"id":3110,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/3108\/revisions\/3110"}],"wp:attachment":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/media?parent=3108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/categories?post=3108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/tags?post=3108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}