{"id":3464,"date":"2023-08-31T11:13:00","date_gmt":"2023-08-31T11:13:00","guid":{"rendered":"https:\/\/neuraldesigner.com\/learning\/bank-marketing-campaign\/"},"modified":"2026-02-11T15:50:04","modified_gmt":"2026-02-11T14:50:04","slug":"bank-marketing-campaign","status":"publish","type":"learning","link":"https:\/\/www.neuraldesigner.com\/learning\/examples\/bank-marketing-campaign\/","title":{"rendered":"Target customers for a banking product using machine learning"},"content":{"rendered":"<p>This example aims to target customers and predict whether bank clients will\u00a0subscribe to a long-term deposit using machine learning.<\/p>\n<p><a href=\"https:\/\/www.neuraldesigner.com\/solutions\/customer-segmentation\">Customer targeting<\/a> involves identifying individuals who are more likely to be interested in a specific product or service.<\/p>\n<p>The data set used here is related to the direct marketing campaigns of a Portuguese bank institution.<\/p>\n<p>This example is solved with <a href=\"https:\/\/www.neuraldesigner.com\/\">Neural Designer<\/a>. To follow it step by step, you can use the <a href=\"https:\/\/www.neuraldesigner.com\/free-trial\">free trial<\/a>.<\/p>\n<section>\n<h3>Contents<\/h3>\n<ol>\n<li><a href=\"#ApplicationType\">Application type<\/a>.<\/li>\n<li><a href=\"#DataSet\">Data set<\/a>.<\/li>\n<li><a href=\"#NeuralNetwork\">Neural network<\/a>.<\/li>\n<li><a href=\"#TrainingStrategy\">Training strategy<\/a>.<\/li>\n<li><a href=\"#ModelSelection\">Model selection<\/a>.<\/li>\n<li><a href=\"#TestingAnalysis\">Testing analysis<\/a>.<\/li>\n<li><a href=\"#ModelDeployment\">Model deployment<\/a>.<\/li>\n<\/ol>\n<\/section>\n<section>\n<h2>1. Application type<\/h2>\n<p>The variable to be predicted is binary (i.e., whether to buy or not). Thus, this is a <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-networks-applications#Classification\">classification<\/a> project.<\/p>\n<p>The goal here is to model the probability of buying as a function of the customer features.<\/p>\n<\/section>\n<section>\n<h2>2. Data set<\/h2>\n<p>In general, a <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set\">data set<\/a> contains the following concepts:<\/p>\n<ul>\n<li>Data source.<\/li>\n<li>Variables.<\/li>\n<li>Instances.<\/li>\n<li>Missing values.<\/li>\n<\/ul>\n<p>The data file <a href=\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/10\/bank_marketing.csv\">bank_marketing.csv<\/a> contains the information used to create the model. It consists of 1522 rows and 19 columns. Each row represents a different customer, while each column represents a distinct feature for each customer.<\/p>\n<p>The <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set#Variables\">variables<\/a> are:<\/p>\n<\/section>\n<h4 data-start=\"97\" data-end=\"119\"><strong data-start=\"101\" data-end=\"117\">Demographics<\/strong><\/h4>\n<ul>\n<li data-start=\"122\" data-end=\"146\"><strong data-start=\"122\" data-end=\"129\">Age<\/strong>: Client\u2019s age.<\/li>\n<li data-start=\"149\" data-end=\"200\"><strong data-start=\"149\" data-end=\"167\">Marital status<\/strong>: Married, single, or divorced.<\/li>\n<li data-start=\"203\" data-end=\"270\"><strong data-start=\"203\" data-end=\"216\">Education<\/strong>: Level of education (primary, secondary, tertiary).<\/li>\n<\/ul>\n<h4 data-start=\"272\" data-end=\"303\"><strong data-start=\"276\" data-end=\"301\">Financial Information<\/strong><\/h4>\n<ul>\n<li data-start=\"306\" data-end=\"346\"><strong data-start=\"306\" data-end=\"317\">Balance<\/strong>: Client\u2019s account balance.<\/li>\n<li data-start=\"349\" data-end=\"417\"><strong data-start=\"349\" data-end=\"360\">Default<\/strong>: 1 if the client has a credit in default, 0 otherwise.<\/li>\n<li data-start=\"420\" data-end=\"488\"><strong data-start=\"420\" data-end=\"436\">Housing loan<\/strong>: 1 if the client has a housing loan, 0 otherwise.<\/li>\n<li data-start=\"491\" data-end=\"561\"><strong data-start=\"491\" data-end=\"508\">Personal loan<\/strong>: 1 if the client has a personal loan, 0 otherwise.<\/li>\n<\/ul>\n<h4 data-start=\"563\" data-end=\"593\"><strong data-start=\"567\" data-end=\"591\">Campaign Information<\/strong><\/h4>\n<ul>\n<li data-start=\"596\" data-end=\"661\"><strong data-start=\"596\" data-end=\"612\">Contact type<\/strong>: Communication method (cellular or telephone).<\/li>\n<li data-start=\"664\" data-end=\"735\"><strong data-start=\"664\" data-end=\"684\">Last contact day<\/strong>: Day of the month the client was last contacted.<\/li>\n<li data-start=\"738\" data-end=\"812\"><strong data-start=\"738\" data-end=\"760\">Last contact month<\/strong>: Month of the year the client was last contacted.<\/li>\n<li data-start=\"815\" data-end=\"886\"><strong data-start=\"815\" data-end=\"827\">Campaign<\/strong>: Number of contacts during this campaign for the client.<\/li>\n<li data-start=\"889\" data-end=\"968\"><strong data-start=\"889\" data-end=\"898\">Pdays<\/strong>: Days since the client was last contacted from a previous campaign.<\/li>\n<li data-start=\"971\" data-end=\"1036\"><strong data-start=\"971\" data-end=\"992\">Previous contacts<\/strong>: Number of contacts before this campaign.<\/li>\n<li data-start=\"1039\" data-end=\"1105\"><strong data-start=\"1039\" data-end=\"1059\">Previous outcome<\/strong>: Result of the previous marketing campaign.<\/li>\n<\/ul>\n<h4 data-start=\"1107\" data-end=\"1132\"><strong data-start=\"1111\" data-end=\"1130\">Target Variable<\/strong><\/h4>\n<ul data-start=\"1133\" data-end=\"1211\">\n<li data-start=\"1133\" data-end=\"1211\">\n<p data-start=\"1135\" data-end=\"1211\"><strong data-start=\"1135\" data-end=\"1149\">Conversion<\/strong>: 1 if the client subscribed to a term deposit, 0 otherwise.<\/p>\n<\/li>\n<\/ul>\n<h3>Instances<\/h3>\n<p>There are <span style=\"box-sizing: border-box; margin: 0px; padding: 0px;\">1,522\u00a0<a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set#Instances\" target=\"_blank\" rel=\"noopener\">instances<\/a> in the dataset<\/span>. 60% are used for training, 20% for selection, and 20% for testing.<\/p>\n<h3>Distributions<\/h3>\n<section>We can calculate the data <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set#Distributions\">distribution<\/a> to see the percentage of instances for each class.<img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/www.neuraldesigner.com\/images\/bank-marketing-data-distribution.webp\" alt=\"\" width=\"500\" height=\"292\" \/>As expected, the number of calls without conversion is much greater than the number of calls with conversion.<\/p>\n<h3>Input-target correlations<\/h3>\n<p>We can also calculate the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set#InputsTargetsCorrelations\">input-target correlations<\/a> between the conversion rate and all the customer features to see which variables might influence the buying process.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.neuraldesigner.com\/images\/bank-marketing-inputs-targets-correlations.webp\" alt=\"\" width=\"500\" height=\"675\" \/><\/p>\n<\/section>\n<section>\n<h2>3. Neural network<\/h2>\n<p>The second step is to configure the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/neural-network\">neural network<\/a> parameters. For classification problems, it is composed of:<\/p>\n<ul>\n<li>Scaling layer.<\/li>\n<li>Perceptron layers.<\/li>\n<li>Probabilistic layer.<\/li>\n<\/ul>\n<h3>Neural network graph<\/h3>\n<p>The following figure is a graphical representation of the neural network used for this problem.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.neuraldesigner.com\/images\/bank-marketing-initial-neural-network.webp\" alt=\"\" width=\"499\" height=\"627\" \/><\/p>\n<\/section>\n<section>\n<h2>4. Training strategy<\/h2>\n<p>The fourth step is to configure the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/training-strategy\">training strategy<\/a>, which is composed of two concepts:<\/p>\n<ul>\n<li>A loss index.<\/li>\n<li>An optimization algorithm.<\/li>\n<\/ul>\n<h3>Loss index<\/h3>\n<p>The <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/training-strategy#LossIndex\">loss index<\/a> chosen is the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/training-strategy#WeightedSquaredError\">weighted squared error<\/a> with <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/training-strategy#L2Regularization\">L2 regularization<\/a>.<\/p>\n<h3>Optimization algorithm<\/h3>\n<p>The <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/training-strategy#OptimizationAlgorithm\">optimization algorithm<\/a> is applied to the neural network to get the minimum loss.<\/p>\n<p>The chosen algorithm here is the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/training-strategy#QuasiNewtonMethod\">quasi-Newton method<\/a>. We leave the default training parameters, stopping criteria, and training history settings.<\/p>\n<h3>Training<\/h3>\n<p>The following chart illustrates how the training and selection errors decrease with the number of epochs during the training process.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.neuraldesigner.com\/images\/bank-marketing-training-history.webp\" alt=\"\" width=\"502\" height=\"335\" \/><\/p>\n<p>The final values are <strong>training error = 0.821 WSE<\/strong> and <strong>selection error = 0.889 WSE<\/strong>, respectively.<\/p>\n<\/section>\n<section>\n<h2>5. Model selection<\/h2>\n<p><span style=\"box-sizing: border-box; margin: 0px; padding: 0px;\">The objective of\u00a0<a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/model-selection\" target=\"_blank\" rel=\"noopener\">model selection<\/a>\u00a0is to find a network architecture with the best generalization properties, that is, one that minimizes the error on the\u00a0<a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set#SelectionInstances\" target=\"_blank\" rel=\"noopener\">selected instances<\/a> of the data set.<\/span><\/p>\n<p>More specifically, we\u00a0<span style=\"box-sizing: border-box; margin: 0px; padding: 0px;\">aim to find a neural network with a selection error of less than\u00a0<strong>0.889 WSE<\/strong>, which is the current best value we have achieved<\/span>.<\/p>\n<p><a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/model-selection#OrderSelection\">Order selection<\/a> algorithms train several network architectures with different numbers of neurons and select the one with the smallest selection error.<\/p>\n<p>The <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/model-selection#IncrementalOrder\">incremental order<\/a> method starts with a small number of neurons and increases the complexity at each iteration. The following chart shows the training error (blue) and the selection error (orange) as a function of the number of neurons.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.neuraldesigner.com\/images\/bank-marketing-final-neural-network.webp\" alt=\"\" width=\"499\" height=\"490\" \/><\/p>\n<\/section>\n<section>\n<h2>6. Testing analysis<\/h2>\n<p>The objective of the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/testing-analysis\">testing analysis<\/a> is to evaluate the generalization performance of the neural network.<\/p>\n<p>The standard way to do this is to compare the neural network outputs against data that it has never seen before, the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/data-set#TestingInstances\">testing instances<\/a>.<\/p>\n<h3>ROC curve<\/h3>\n<p>A commonly used method to test a neural network is the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/testing-analysis#RocCurve\">ROC curve<\/a>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.neuraldesigner.com\/images\/bank-marketing-roc-curve.webp\" alt=\"\" width=\"501\" height=\"334\" \/><\/p>\n<p>One of the parameters obtained from this chart is the area under the curve (AUC). The closer to 1 is the area under the curve, the better is the classifier. In this case, the area under the curve takes a high value: <strong>AUC = 0.80<\/strong>.<\/p>\n<h3>Binary classification metrics<\/h3>\n<p>The <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/testing-analysis#BinaryClassificationTests\">binary classification tests<\/a> provide us with helpful information for testing the performance of a binary classification problem:<\/p>\n<ul>\n<li><strong>Classification accuracy: 79.4%<\/strong> (ratio of correctly classified samples).<\/li>\n<li><strong>Error rate: 20.6%<\/strong> (ratio of misclassified samples).<\/li>\n<li><strong>Sensitivity: 80.4%<\/strong> (percentage of actual positives classified as positive).<\/li>\n<li><strong>Specificity: 79.3%<\/strong> (percentage of actual negatives classified as negative).<\/li>\n<\/ul>\n<p>The classification accuracy achieves a high value, indicating that the prediction is suitable for many cases.<\/p>\n<h3>Cumulative gain<\/h3>\n<p>The second is another visual aid that shows the advantage of using a predictive model against randomness.<\/p>\n<p>The following picture depicts the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/testing-analysis#CumulativeGain\">cumulative gain<\/a> for the current example.<\/p>\n<p>As we can see, this chart shows that by calling only half of the clients, we can achieve more than 80% of the positive responses.<\/p>\n<h3>Positive rates<\/h3>\n<p>The <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/testing-analysis#ConversionRates\">conversion rates<\/a> for this problem are depicted in the following chart.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.neuraldesigner.com\/images\/bank-marketing-positives-rates.webp\" alt=\"\" width=\"499\" height=\"236\" \/><\/p>\n<\/section>\n<section>\n<h2>7. Model deployment<\/h2>\n<p>In the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/model-deployment\">model deployment<\/a> phase, the neural network can be used for different techniques.<\/p>\n<p>We can predict which clients have a higher probability of buying the product by calculating the <a href=\"https:\/\/www.neuraldesigner.com\/learning\/tutorials\/model-deployment#NeuralNetworkOutputs\">neural network outputs<\/a>.<\/p>\n<p>We need to know the input variables for each new client.<\/p>\n<\/section>\n<section>\n<h2>References:<\/h2>\n<ul>\n<li>UCI Machine Learning Repository. <a href=\"https:\/\/archive.ics.uci.edu\/ml\/datasets\/bank+marketing\">Bank marketing data set<\/a>.<\/li>\n<\/ul>\n<\/section>\n<section>\n<h2>Related posts<\/h2>\n<\/section>\n","protected":false},"author":13,"featured_media":2603,"template":"","categories":[29],"tags":[47],"class_list":["post-3464","learning","type-learning","status-publish","has-post-thumbnail","hentry","category-examples","tag-finance"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Target customers for a banking product using machine learning<\/title>\n<meta name=\"description\" content=\"Build a machine learning model to target and predict whether customers will subscribe to a long-term deposit in a bank.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.neuraldesigner.com\/learning\/examples\/bank-marketing-campaign\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bank customer targeting machine learning example\" \/>\n<meta property=\"og:description\" content=\"This example aims to predict whether bank clients will subscribe to a long-term deposit and which will not.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.neuraldesigner.com\/learning\/examples\/bank-marketing-campaign\/\" \/>\n<meta property=\"og:site_name\" content=\"Neural Designer\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-11T14:50:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/bank-marketing-campaign.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Bank customer targeting machine learning example\" \/>\n<meta name=\"twitter:description\" content=\"This example aims to predict whether bank clients will subscribe to a long-term deposit and which will not.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/bank-marketing-campaign.webp\" \/>\n<meta name=\"twitter:site\" content=\"@NeuralDesigner\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.neuraldesigner.com\/learning\/examples\/bank-marketing-campaign\/\",\"url\":\"https:\/\/www.neuraldesigner.com\/learning\/examples\/bank-marketing-campaign\/\",\"name\":\"Target customers for a banking product using machine learning\",\"isPartOf\":{\"@id\":\"https:\/\/www.neuraldesigner.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.neuraldesigner.com\/learning\/examples\/bank-marketing-campaign\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.neuraldesigner.com\/learning\/examples\/bank-marketing-campaign\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/bank-marketing-campaign.webp\",\"datePublished\":\"2023-08-31T11:13:00+00:00\",\"dateModified\":\"2026-02-11T14:50:04+00:00\",\"description\":\"Build a machine learning model to target and predict whether customers will subscribe to a long-term deposit in a bank.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.neuraldesigner.com\/learning\/examples\/bank-marketing-campaign\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.neuraldesigner.com\/learning\/examples\/bank-marketing-campaign\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.neuraldesigner.com\/learning\/examples\/bank-marketing-campaign\/#primaryimage\",\"url\":\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/bank-marketing-campaign.webp\",\"contentUrl\":\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/bank-marketing-campaign.webp\",\"width\":1200,\"height\":628},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.neuraldesigner.com\/learning\/examples\/bank-marketing-campaign\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.neuraldesigner.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Learning\",\"item\":\"https:\/\/www.neuraldesigner.com\/learning\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Target customers for a banking product using machine learning\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.neuraldesigner.com\/#website\",\"url\":\"https:\/\/www.neuraldesigner.com\/\",\"name\":\"Neural Designer\",\"description\":\"Explanable AI Platform\",\"publisher\":{\"@id\":\"https:\/\/www.neuraldesigner.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.neuraldesigner.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.neuraldesigner.com\/#organization\",\"name\":\"Neural Designer\",\"url\":\"https:\/\/www.neuraldesigner.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.neuraldesigner.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/05\/logo-neural-1.png\",\"contentUrl\":\"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/05\/logo-neural-1.png\",\"width\":1024,\"height\":223,\"caption\":\"Neural Designer\"},\"image\":{\"@id\":\"https:\/\/www.neuraldesigner.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/NeuralDesigner\",\"https:\/\/es.linkedin.com\/showcase\/neuraldesigner\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Target customers for a banking product using machine learning","description":"Build a machine learning model to target and predict whether customers will subscribe to a long-term deposit in a bank.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.neuraldesigner.com\/learning\/examples\/bank-marketing-campaign\/","og_locale":"en_US","og_type":"article","og_title":"Bank customer targeting machine learning example","og_description":"This example aims to predict whether bank clients will subscribe to a long-term deposit and which will not.","og_url":"https:\/\/www.neuraldesigner.com\/learning\/examples\/bank-marketing-campaign\/","og_site_name":"Neural Designer","article_modified_time":"2026-02-11T14:50:04+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/bank-marketing-campaign.webp","type":"image\/webp"}],"twitter_card":"summary_large_image","twitter_title":"Bank customer targeting machine learning example","twitter_description":"This example aims to predict whether bank clients will subscribe to a long-term deposit and which will not.","twitter_image":"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/bank-marketing-campaign.webp","twitter_site":"@NeuralDesigner","twitter_misc":{"Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.neuraldesigner.com\/learning\/examples\/bank-marketing-campaign\/","url":"https:\/\/www.neuraldesigner.com\/learning\/examples\/bank-marketing-campaign\/","name":"Target customers for a banking product using machine learning","isPartOf":{"@id":"https:\/\/www.neuraldesigner.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.neuraldesigner.com\/learning\/examples\/bank-marketing-campaign\/#primaryimage"},"image":{"@id":"https:\/\/www.neuraldesigner.com\/learning\/examples\/bank-marketing-campaign\/#primaryimage"},"thumbnailUrl":"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/bank-marketing-campaign.webp","datePublished":"2023-08-31T11:13:00+00:00","dateModified":"2026-02-11T14:50:04+00:00","description":"Build a machine learning model to target and predict whether customers will subscribe to a long-term deposit in a bank.","breadcrumb":{"@id":"https:\/\/www.neuraldesigner.com\/learning\/examples\/bank-marketing-campaign\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.neuraldesigner.com\/learning\/examples\/bank-marketing-campaign\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.neuraldesigner.com\/learning\/examples\/bank-marketing-campaign\/#primaryimage","url":"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/bank-marketing-campaign.webp","contentUrl":"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/06\/bank-marketing-campaign.webp","width":1200,"height":628},{"@type":"BreadcrumbList","@id":"https:\/\/www.neuraldesigner.com\/learning\/examples\/bank-marketing-campaign\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.neuraldesigner.com\/"},{"@type":"ListItem","position":2,"name":"Learning","item":"https:\/\/www.neuraldesigner.com\/learning\/"},{"@type":"ListItem","position":3,"name":"Target customers for a banking product using machine learning"}]},{"@type":"WebSite","@id":"https:\/\/www.neuraldesigner.com\/#website","url":"https:\/\/www.neuraldesigner.com\/","name":"Neural Designer","description":"Explanable AI Platform","publisher":{"@id":"https:\/\/www.neuraldesigner.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.neuraldesigner.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.neuraldesigner.com\/#organization","name":"Neural Designer","url":"https:\/\/www.neuraldesigner.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.neuraldesigner.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/05\/logo-neural-1.png","contentUrl":"https:\/\/www.neuraldesigner.com\/wp-content\/uploads\/2023\/05\/logo-neural-1.png","width":1024,"height":223,"caption":"Neural Designer"},"image":{"@id":"https:\/\/www.neuraldesigner.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/NeuralDesigner","https:\/\/es.linkedin.com\/showcase\/neuraldesigner\/"]}]}},"_links":{"self":[{"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/learning\/3464","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/learning"}],"about":[{"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/types\/learning"}],"author":[{"embeddable":true,"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/users\/13"}],"version-history":[{"count":1,"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/learning\/3464\/revisions"}],"predecessor-version":[{"id":21915,"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/learning\/3464\/revisions\/21915"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/media\/2603"}],"wp:attachment":[{"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/media?parent=3464"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/categories?post=3464"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.neuraldesigner.com\/api\/wp\/v2\/tags?post=3464"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}