{"id":947,"date":"2016-02-08T00:17:22","date_gmt":"2016-02-08T00:17:22","guid":{"rendered":"http:\/\/kourentzes.com\/forecasting\/?p=947"},"modified":"2016-02-08T00:33:35","modified_gmt":"2016-02-08T00:33:35","slug":"how-to-fit-an-elephant","status":"publish","type":"post","link":"https:\/\/kourentzes.com\/forecasting\/2016\/02\/08\/how-to-fit-an-elephant\/","title":{"rendered":"How to fit an elephant?"},"content":{"rendered":"<p style=\"text-align: justify;\">I was looking for an intuitive way to demonstrate to my students the need for parsimony in model building, as well as the problem of overfitting and I remembered the humorous paper by James Wel: showing that elephants are obviously created by Fourier sine series! I went a step further and implemented some popular selection methods and interpolation. It is interesting to see how the different selection methods perform, given different number of sines and how they (over-\/under-) fit, when asked to interpolate &#8211; in a predictive modelling spirit.<\/p>\n<p style=\"text-align: justify;\">\n<p><iframe loading=\"lazy\" id=\"TSexplore\" style=\"border: none; width: 100%; height: 830px;\" src=\"https:\/\/kourentzes.shinyapps.io\/FitElephant\/\" width=\"300\" height=\"830\" frameborder=\"0\"><\/iframe><\/p>\n<div class=\"SPOSTARBUST-Related-Posts\"><H3>Related Posts<\/H3><ul class=\"entry-meta\"><li class=\"SPOSTARBUST-Related-Post\"><a title=\"Incorporating Leading Indicators into your Sales Forecasts\" href=\"https:\/\/kourentzes.com\/forecasting\/2018\/06\/29\/incorporating-leading-indicators-into-your-sales-forecasts\/\" rel=\"bookmark\">Incorporating Leading Indicators into your Sales Forecasts<\/a><\/li>\n<li class=\"SPOSTARBUST-Related-Post\"><a title=\"ISF 2018 Presentation: The inventory impact of including macroeconomic leading indicators in global supply chain management\" href=\"https:\/\/kourentzes.com\/forecasting\/2018\/06\/19\/isf-2018-presentation-the-inventory-impact-of-including-macroeconomic-leading-indicators-in-global-supply-chain-management\/\" rel=\"bookmark\">ISF 2018 Presentation: The inventory impact of including macroeconomic leading indicators in global supply chain management<\/a><\/li>\n<li class=\"SPOSTARBUST-Related-Post\"><a title=\"Update for nnfor: reuse and retrain models\" href=\"https:\/\/kourentzes.com\/forecasting\/2017\/12\/11\/update-for-nnfor-reuse-and-retrain-models\/\" rel=\"bookmark\">Update for nnfor: reuse and retrain models<\/a><\/li>\n<\/ul><\/div><!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>I was looking for an intuitive way to demonstrate to my students the need for parsimony in model building, as well as the problem of overfitting and I remembered the humorous paper by James Wel: showing that elephants are obviously created by Fourier sine series! I went a step further and implemented some popular selection\u2026 <span class=\"read-more\"><a href=\"https:\/\/kourentzes.com\/forecasting\/2016\/02\/08\/how-to-fit-an-elephant\/\">Read More &raquo;<\/a><\/span><!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[41],"tags":[14,53,13],"_links":{"self":[{"href":"https:\/\/kourentzes.com\/forecasting\/wp-json\/wp\/v2\/posts\/947"}],"collection":[{"href":"https:\/\/kourentzes.com\/forecasting\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kourentzes.com\/forecasting\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kourentzes.com\/forecasting\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kourentzes.com\/forecasting\/wp-json\/wp\/v2\/comments?post=947"}],"version-history":[{"count":0,"href":"https:\/\/kourentzes.com\/forecasting\/wp-json\/wp\/v2\/posts\/947\/revisions"}],"wp:attachment":[{"href":"https:\/\/kourentzes.com\/forecasting\/wp-json\/wp\/v2\/media?parent=947"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kourentzes.com\/forecasting\/wp-json\/wp\/v2\/categories?post=947"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kourentzes.com\/forecasting\/wp-json\/wp\/v2\/tags?post=947"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}<!-- WP Super Cache is installed but broken. The constant WPCACHEHOME must be set in the file wp-config.php and point at the WP Super Cache plugin directory. -->