{"id":3062,"date":"2019-12-27T16:11:10","date_gmt":"2019-12-27T16:11:10","guid":{"rendered":"http:\/\/34.74.67.11\/?page_id=3062"},"modified":"2021-05-17T07:05:47","modified_gmt":"2021-05-17T07:05:47","slug":"credit-card-fraud-detection","status":"publish","type":"page","link":"https:\/\/www.iventura.ai\/index.php\/credit-card-fraud-detection\/","title":{"rendered":"Credit Card Fraud Detection"},"content":{"rendered":"<section class=\"kc-elm kc-css-183179 kc_row\"><div class=\"kc-row-container  kc-container\"><div class=\"kc-wrap-columns\"><div class=\"kc-elm kc-css-492913 kc_col-sm-12 kc_column kc_col-sm-12\"><div class=\"kc-col-container\"><div class=\"kc-elm kc-css-667361 kc_text_block\"><\/p>\n<h4 style=\"text-align: center;\"><strong>Anonymized credit card transactions labeled as fraudulent or genuine<\/strong><\/h4>\n<p>\n<\/div><div class=\"kc-elm kc-css-444762 kc_row kc_row_inner\"><div class=\"kc-elm kc-css-966978 kc_col-sm-12 kc_column_inner kc_col-sm-12\"><div class=\"kc_wrapper kc-col-inner-container\"><div class=\"kc-elm kc-css-903383 kc_text_block\"><\/p>\n<h4 dir=\"ltr\" style=\"line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt; color: #00aeef;\"><strong>Problem Statement:<\/strong><\/h4>\n<ol>\n<li>Credit card companies should be able to identify fraudulent transactions so that customers are not charged for items that they did not purchase.With the cost of fraud rising and cardholder trust declining, financial institutions need to take steps to ensure their business and their cardholders are protected. Credit Card companies need anonymized credit card transactions labeled as fraudulent or genuine for enhanced security and to avoid losses.<\/li>\n<\/ol>\n<h4 dir=\"ltr\" style=\"line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt; color: #00aeef;\"><strong>Challenge:<\/strong><\/h4>\n<ul>\n<li>The provided dataset was highly unbalanced . Positive class (frauds) account only for 0.172% of all transactions. Due to non-disclosure &amp; confidentiality issues, the company cannot provide original features and additional background information. Hence PCA (Principal component analysis)transformation was chosen as the model<\/li>\n<\/ul>\n<p>\n<\/div><\/div><\/div><\/div><div class=\"kc-elm kc-css-684124 kc_row kc_row_inner\"><div class=\"kc-elm kc-css-806735 kc_col-sm-12 kc_column_inner kc_col-sm-12\"><div class=\"kc_wrapper kc-col-inner-container\"><div class=\"kc-elm kc-css-105417 kc_shortcode kc_single_image\">\n\n        <img decoding=\"async\" src=\"https:\/\/www.iventura.ai\/wp-content\/uploads\/2019\/12\/Credit_card_GIF.gif\" class=\"\" alt=\"\" \/>    <\/div>\n<div class=\"kc-elm kc-css-929468 kc_text_block\"><\/p>\n<h4 dir=\"ltr\" style=\"line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt; color: #00aeef;\"><strong>Solution:<\/strong><\/h4>\n<ol>\n<li>iVentura Machine Learning Platform was used for building the solution. iVentura provides the complete ecosystem for data scientists to build models without worrying about the underlying Infra &amp; Security.<\/li>\n<li>The feature &#8216;Amount&#8217; is the transaction Amount. This feature can be used for example-dependant cost-sensitive learning. Feature &#8216;Class&#8217; is the response variable and takes value 1 in case of fraud and 0 otherwise.<\/li>\n<li>Given the class imbalance ratio, we recommend measuring the accuracy using the Area Under the Precision-Recall Curve (AUPRC). Confusion matrix accuracy is not meaningful for unbalanced classification.<\/li>\n<\/ol>\n<ul>\n<li>1) The class datasets is of type unbalanced classification.<\/li>\n<li>2) Thus, SMOTE is used for imbalanced labelled data.<\/li>\n<li>3) Exploratory data analysis is carried out on input data.<\/li>\n<li>4) Class data contains two classes:\u00a0 fraudulent and not fraudulent.<\/li>\n<li>5) Logistic regression with balanced class is used to predict fraudulent transactions.<\/li>\n<li>6) Save the data into pickle<\/li>\n<li>7) Deploy the model<\/li>\n<li>8) Share the Visualization<\/li>\n<\/ul>\n<p>\n<\/div><div class=\"kc-elm kc-css-596080 kc_shortcode kc_single_image\">\n\n        <img decoding=\"async\" src=\"https:\/\/www.iventura.ai\/wp-content\/uploads\/2019\/12\/WF.png\" class=\"\" alt=\"\" \/>    <\/div>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"tpl-king-composer.php","meta":{"footnotes":""},"yst_prominent_words":[167,160,156,154,170,168,162,155,164,163,161,157,173,166,171,165,158,169,159,172],"class_list":["post-3062","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.iventura.ai\/index.php\/wp-json\/wp\/v2\/pages\/3062","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.iventura.ai\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.iventura.ai\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.iventura.ai\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.iventura.ai\/index.php\/wp-json\/wp\/v2\/comments?post=3062"}],"version-history":[{"count":50,"href":"https:\/\/www.iventura.ai\/index.php\/wp-json\/wp\/v2\/pages\/3062\/revisions"}],"predecessor-version":[{"id":3801,"href":"https:\/\/www.iventura.ai\/index.php\/wp-json\/wp\/v2\/pages\/3062\/revisions\/3801"}],"wp:attachment":[{"href":"https:\/\/www.iventura.ai\/index.php\/wp-json\/wp\/v2\/media?parent=3062"}],"wp:term":[{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/www.iventura.ai\/index.php\/wp-json\/wp\/v2\/yst_prominent_words?post=3062"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}