{"id":674,"date":"2023-08-31T00:00:16","date_gmt":"2023-08-31T00:00:16","guid":{"rendered":"https:\/\/alex-jimenez.com\/?post_type=rara-portfolio&#038;p=674"},"modified":"2024-08-06T01:06:30","modified_gmt":"2024-08-06T01:06:30","slug":"marketing-analysis-gradient-boosting","status":"publish","type":"rara-portfolio","link":"https:\/\/alex-jimenez.com\/?rara-portfolio=marketing-analysis-gradient-boosting","title":{"rendered":"Marketing Analysis (Gradient Boosting)"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Source Code: <a href=\"https:\/\/github.com\/alexjimenez99\/education-workflows\" data-type=\"link\" data-id=\"https:\/\/github.com\/alexjimenez99\/education-workflows\">GitHub<\/a><\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Background (Not Finished)<\/h3>\n\n\n\n<p>This case is used for hiring Data Analysts for the iFood Brain team. The analysis was to predict whether a customer would accept the marketing campaign proposed by iFood in their grocery stored. Based on the customers profile, you must predict if they would accept one of the multiple marketing campaigns. The idea is to make a model from the data collected by iFood to better predict which customers would accept the campaign for marketing. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Project Summary<\/h3>\n\n\n\n<p>In this workflow, there is a good demonstration of exploratory data analysis with higher dimensional datasets, as well as feature selection. <\/p>\n\n\n\n<div class=\"wp-block-cover\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim\"><\/span><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"819\" class=\"wp-block-cover__image-background wp-image-675\" alt=\"\" src=\"https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/03\/Marketing-EDA-Categorical-1024x819.png\" data-object-fit=\"cover\" srcset=\"https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/03\/Marketing-EDA-Categorical-1024x819.png 1024w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/03\/Marketing-EDA-Categorical-300x240.png 300w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/03\/Marketing-EDA-Categorical-768x614.png 768w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/03\/Marketing-EDA-Categorical-1536x1228.png 1536w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/03\/Marketing-EDA-Categorical-2048x1637.png 2048w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/03\/Marketing-EDA-Categorical-75x60.png 75w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<p class=\"has-text-align-center has-large-font-size\"><\/p>\n<\/div><\/div>\n\n\n\n<p>The model used to predict success of marketing campaigns was a XGBoost, which is a gradient boosting model. BorutaPy was used for feature selection, which is a XX framework for choosing features. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"706\" height=\"455\" src=\"https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/03\/Feature-Importance.png\" alt=\"\" class=\"wp-image-676\" srcset=\"https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/03\/Feature-Importance.png 706w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/03\/Feature-Importance-300x193.png 300w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/03\/Feature-Importance-93x60.png 93w\" sizes=\"(max-width: 706px) 100vw, 706px\" \/><\/figure>\n\n\n\n<p>The overall predicted accuracy of the model was ~87% and the F-Score was 0.68. Below is the confusion matrix produced by the output. https:\/\/github.com\/alexjimenez99\/education-workflows<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"785\" height=\"624\" src=\"https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/03\/Confusion-Matrix.png\" alt=\"\" class=\"wp-image-677\" srcset=\"https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/03\/Confusion-Matrix.png 785w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/03\/Confusion-Matrix-300x238.png 300w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/03\/Confusion-Matrix-768x610.png 768w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/03\/Confusion-Matrix-75x60.png 75w\" sizes=\"(max-width: 785px) 100vw, 785px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-embed\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/github.com\/alexjimenez99\/education-workflows\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Source Code: GitHub Background (Not Finished) This case is used for hiring Data Analysts for the iFood Brain team. The analysis was to predict whether a customer would accept the marketing campaign proposed by iFood in their grocery stored. Based on the customers profile, you must predict if they would accept one of the multiple &hellip; <\/p>\n","protected":false},"author":1,"featured_media":803,"comment_status":"open","ping_status":"closed","template":"","rara_portfolio_categories":[3],"_links":{"self":[{"href":"https:\/\/alex-jimenez.com\/index.php?rest_route=\/wp\/v2\/rara-portfolio\/674"}],"collection":[{"href":"https:\/\/alex-jimenez.com\/index.php?rest_route=\/wp\/v2\/rara-portfolio"}],"about":[{"href":"https:\/\/alex-jimenez.com\/index.php?rest_route=\/wp\/v2\/types\/rara-portfolio"}],"author":[{"embeddable":true,"href":"https:\/\/alex-jimenez.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alex-jimenez.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=674"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/alex-jimenez.com\/index.php?rest_route=\/wp\/v2\/media\/803"}],"wp:attachment":[{"href":"https:\/\/alex-jimenez.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=674"}],"wp:term":[{"taxonomy":"rara_portfolio_categories","embeddable":true,"href":"https:\/\/alex-jimenez.com\/index.php?rest_route=%2Fwp%2Fv2%2Frara_portfolio_categories&post=674"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}