SlideShare a Scribd company logo
1 of 113
Interview with Apoorv Saxena
Kartik Hosanagar, Professor of Operations, Information and Decisions
AI Applications in Marketing & Finance
Machine Learning in Finance: Fraud Detection
Kartik Hosanagar, Professor of Operations, Information and Decisions
AI Applications in Marketing & Finance
Credit Card Fraud
Card Replaced
Customer Impacted Dispute Required
Fraud Occurs
Content/quotes from “Prediction Machines: The Simple Economics of Artificial Intelligence ” by Ajay Agrawal, Avi Goldfarb, and Joshua Gans
Images: https://visualmodo.com/6-security-tips-protect-ecommerce-site/, https://icons8.com/icons/set/phone, https://www.vecteezy.com/vector-art/383180-
illustration-of-scissors-cutting-a-credit-card
Credit Card Fraud
Fraud Occurs ML Detects Customer Impact Avoided Card Replaced
Early fraud detection with ML can help prevent fraud and save banks a lot of money
Content/quotes from: “A Human’s Guide to Machine Intelligence” by Kartik Hosanagar, Images: https://visualmodo.com/6-security-tips-protect-ecommerce-
site/, https://medium.com/@fenjiro/data-mining-for-banking-loan-approval-use-case-e7c2bc3ece3, https://icons8.com/icons/set/phone,
https://www.vecteezy.com/vector-art/383180-illustration-of-scissors-cutting-a-credit-card
• False Negatives occur when a business does not detect a transaction as
fraudulent and allows the fraudster to make a purchase
• The actual cardholder discovers the charge, disputes it, and is usually
repaid by the bank
• The merchant/bank is responsible for both the cost of the item sold to the
fraudster and the associated dispute fees
• False Positives occur when a transaction is flagged as fraudulent and
blocked, although the potential purchase was actually not fraud
• Has an indirect impact by causing reputational damage (this customer
may not return; others may hear about people being blocked)
• Directly impacts gross profits (loss of this purchase)
ML Model Accuracy is Crucial
Content/quotes from: https://stripe.com/radar/guide
Machine Learning Opportunity
• Both supervised and unsupervised learning are used in fraud
Supervised Learning
• Training occurs by using a large
dataset with the details of
individual transactions provided
and with each transaction
tagged as fraud or not
• From this, the model learns the
unique patterns of fraud
Unsupervised Learning
• Anomaly detection can compare
new transactions with prior ones
to detect outliers
• This can help identify fraud that
doesn’t necessarily fit a
previously identified pattern (e.g.
a new type of fraud)
Content/quotes from: https://stripe.com/radar/guide & https://www.fico.com/blogs/5-keys-using-ai-and-machine-learning-fraud-detection
Requires input data for training (usually historical data of two types):
• “Properties that can be ‘read off’ a single credit card payment
• Country the card was issued in, IP address of payment, user’s email
domain, etc.
• Behavioral data (provides “some of the most predictive signals”)
• Number of countries the card was used recently
Supervised Learning Example
Requires input data for training (usually historical data of two types):
• “Properties that can be ‘read off’ a single credit card payment
• Behavioral data (provides “some of the most predictive signals”)
Supervised Learning Example (cont.)
Sample Training Data*
* This training data is very limited in order to
provide a simple example
To build an accurate model you would need
millions of rows as well as additional
columns
Content/quotes from: https://stripe.com/radar/guide
Produces an output model, such as the
following decision tree
• The tree answers: “of transactions in our data
set with properties similar to the transaction
we’re examining now, what fraction were
actually fraudulent?”
• “The machine learning part is concerned with
the construction of the tree- what questions
do we ask, in what order, to maximize the
chances that we can distinguish between the
two classes accurately?”
Supervised Learning Example (cont.)
Sample Output*
*This decision tree is based on the
same limited data from the previous
slide
Content/quotes from: https://stripe.com/radar/guide
Produces an output model, such as the
following decision tree
• The tree answers: “of transactions in our data
set with properties similar to the transaction
we’re examining now, what fraction were
actually fraudulent?”
• “The machine learning part is concerned with
the construction of the tree- what questions
do we ask, in what order, to maximize the
chances that we can distinguish between the
two classes accurately?”
Supervised Learning Example (cont.)
Sample Output*
*This decision tree is based on the
same limited data from the previous
slide
Content/quotes from: https://stripe.com/radar/guide
Produces an output model, such as the
following decision tree
• The tree answers: “of transactions in our data
set with properties similar to the transaction
we’re examining now, what fraction were
actually fraudulent?”
• “The machine learning part is concerned with
the construction of the tree- what questions
do we ask, in what order, to maximize the
chances that we can distinguish between the
two classes accurately?”
Supervised Learning Example (cont.)
Sample Output*
*This decision tree is based on the
same limited data from the previous
slide
Content/quotes from: https://stripe.com/radar/guide
Produces an output model, such as the
following decision tree
• The tree answers: “of transactions in our data
set with properties similar to the transaction
we’re examining now, what fraction were
actually fraudulent?”
• “The machine learning part is concerned with
the construction of the tree- what questions
do we ask, in what order, to maximize the
chances that we can distinguish between the
two classes accurately?”
Supervised Learning Example (cont.)
Sample Output*
*This decision tree is based on the
same limited data from the previous
slide
Content/quotes from: https://stripe.com/radar/guide
• Supervised Learning: From this (very limited) data, the model would learn a
unique pattern of fraud
• If >$20 & from Canada, 100% chance of fraud
• If <$20 & from >2 countries, 100% chance of fraud
• If >$20 & not from CA, or <$20 & from <2 countries, not sure
• Unsupervised Learning: Detecting transactions that appear like anomalies
• A transaction is for an exceptionally high amount + in a country where
this person has not transacted before + in the past, foreign transactions
were preceded by flight purchase to that country unlike this time =
Anomaly
Machine Learning Fraud Detection
Content/quotes from: https://stripe.com/radar/guide
Advantages of ML for Fraud
Speed
• Algorithms can
quickly process a
large volume of
transactions
• This is important
for fraud since a
decision is needed
in real time
Scale
• A challenge for
humans, but
algorithms improve
as the amount of
data increases.
Efficiency
• Machine learning
algorithms are
better than humans
at repetitive tasks
Content/quotes from: https://marutitech.com/machine-learning-fraud-detection/
Limitations of ML for Fraud
Transparency
• Algorithms can’t always
explain why someone was
blocked
• Hard to catch issues with the
model if it isn’t well understood
• Also an ethical problem if
biases go undetected (to be
discussed in Module 4)
Data Volume
• Smaller companies may not
have enough training data
• Algorithm accuracy might be
lower as a result
Content/quotes from: https://marutitech.com/machine-learning-fraud-detection/
Machine Learning in Finance: Additional Applications
Kartik Hosanagar, Professor of Operations, Information and Decisions
AI Applications in Marketing & Finance
Identity Verification & Authentication
• ML can improve security through more than just detecting fraud patterns,
and it also provides new methods of improving identity verification
ML-Based Verification
Traditional Verification
• Passwords
• PIN numbers
• Biometric authentication
using facial and voice
recognition technologies
• One biometric use case would be when new accounts are opened and
customers need to provide multiple forms of ID
• Customers could instead provide “selfies” or voice prints, facial
recognition and voice recognition technologies can be used to verify
identity based on the images/audio provided
• ATMs in China are starting to use face recognition
Content/quotes from “Section 2: Known Applications of AI”
• Biometric authentication can also occur continuously and without intruding
into the customer experience - it involves verifying customers’ identities
while they are already engaging with the bank through mobile apps
• E.g. AI can detect unique biometric patterns of individual customers:
• How the person naturally holds a mobile device
• How the person taps the screen
Identity Verification & Authentication (cont.)
Content/quotes from “Section 2: Known Applications of AI”
Identity Verification & Authentication (cont.)
Key Benefits & Limitations of ML for Identity Verification
Benefits Limitations
• Improved security,
potentially without creating a
cumbersome experience for
customers
• Not fool proof - attackers could
still access biometric identifiers
and pose as customers
• However, it can still deter
attackers
Content/quotes from “Section 2: Known Applications of AI”
• ML can detect patterns between consumer data and loan or insurance
outcomes, and use this to predict the outcomes of particular applicants
• E.g., Supervised learning can be used by providing a training dataset
with historical data on consumers and their lending/insurance results
• Consumer data: age, income, employment, etc.
• Lending/insurance results: repaying loans on time vs. defaulting
Loan & Insurance Underwriting
Content/quotes from: “Section 2: Known Applications of AI”
Additional Content from: https://emerj.com/ai-sector-overviews/machine-learning-in-finance/
Loan & Insurance Underwriting (cont.)
Key Benefits & Limitations of Loans/Insurance Models
Benefits Limitations
• Could reduce processing time
• Potential for “increasing loan
volume & reducing risk…[by]
using more diverse data as well
as data with weaker signals.”
• Algorithm could be biased and
could perpetuate historical
discrimination
• Companies need to make sure
their algorithms don’t
discriminate (discussed further
in Module 4)
Content/quotes from: “Section 2: Known Applications of AI”
Additional Content from: https://emerj.com/ai-sector-overviews/machine-learning-in-finance/
Predicting Customer Churn
Key Benefits & Limitations of Churn Models
Benefits Limitations
• Predictions from churn models are
actionable b/c knowing in advance
which customers might churn
allows banks to make extra efforts
to improve those customers’
satisfaction
• Predictions about who might churn
don’t necessarily provide insight
into what is causing them to leave
and how best to retain them
Content/quotes from “Section 2: Known Applications of AI”
• Banks want to retain customers/prevent churn and can apply ML to this goal
• In much the same way as with fraud models, the customer data that banks
have can be used to “create churn models based on customer attributes or
features of those who did or did not churn for another competitor”
Three Additional Examples of ML in Finance
Customer Experience
• Conversational AI platforms are being used to service customers via chat or
over the phone to improve responsiveness and reduce costs
Personal Finance
• Personalized portfolios
Financial Forecasting
• Ability to predict company financials or budgeting needs in the future
Content/quotes for financial forecasting from “Section 2: Known Applications of AI”
Content/quotes for customer experience and personal finance section from https://www.alacriti.com/machine-learning-in-financial-services-potential-applications/
Introduction
Michael R. Roberts, The William H. Lawrence Professor of Finance
AI Applications in Marketing and Finance
• Finance has long been:
• Technology oriented
• Data oriented
• Model oriented
Finance, Data, and Technology
• Portfolio management
• Algorithmic trading
• Fraud detection
• Customer retention
• Returns forecasting
• Earnings forecasting
• Credit analysis
Example Applications
• Focus on an application
• Corporate credit risk
• Emphasize process
• Scientific method
• Data science workflow
• Emphasize economics
• Avoid common pitfalls with models
• Illustrate stylized machine learning problem
• Imputing credit ratings
What Are We Going to Do?
• Informal delivery
• Unscripted
• Dynamic
• Working together at computer
• Thought process is important
How Are We Going to Do it?
1. Emphasize importance of
• Process
• Data
• Economic and institutional details
2. De-emphasize importance of complexity
• Black box
Goals
Balance 1 and 2
Process: Scientific Method
Michael R. Roberts, The William H. Lawrence Professor of Finance
AI Applications in Marketing and Finance
“If it (theory) disagrees with experiment, it’s wrong.
In that simple statement is the key to science.”
— R I C H A R D F E Y N M A N
1. Clearly articulate a specific question
2. Guess an answer (hypothesize)
3. Identify empirical implications of guess
4. Compare implications with data
Scientific Method
Process: Data Science Workflow
Michael R. Roberts, The William H. Lawrence Professor of Finance
AI Applications in Marketing and Finance
1. Clearly articulate a specific question
2. Guess an answer (hypothesize)
3. Identify empirical implications of guess
4. Compare implications with data
Scientific Method
Data Science Workflow
1. Acquisition and verification
2. Preparation
3. Analysis
4. Communication*
Data Science Workflow
2
4
3
1
Corporate Credit Risk
Michael R. Roberts, The William H. Lawrence Professor of Finance
AI Applications in Marketing and Finance
Bond Markets
Bond Markets
Bond Markets
Bond Markets
Bond Markets
Bond Markets
Bond Markets
Syndicated Lending
• What is it?
• Inability of firms to repay financial obligations
• Why it’s important
• Affects availability and price of credit
• For whom is it important?
• Investors
• Employees
• Customers
• Suppliers
• Taxpayers
Corporate Credit Risk
• Quantify and assess
• Examples
• Stylized ML example
• Predicting credit ratings
• Extensions
Outline
Credit Risk - KPIs
Michael R. Roberts, The William H. Lawrence Professor of Finance
AI Applications in Marketing and Finance
Credit Risk - Credit Ratings
Michael R. Roberts, The William H. Lawrence Professor of Finance
AI Applications in Marketing and Finance
Credit Ratings
Credit Ratings
Credit Ratings
Credit Ratings
Credit Ratings
Credit Risk - Credit Ratings Prediction
Michael R. Roberts, The William H. Lawrence Professor of Finance
AI Applications in Marketing and Finance
• Develop model to distinguish between:
• Investment-grade
• Speculative-grade
Task
Credit Ratings
• Develop model to distinguish between:
• Investment-grade
• Speculative-grade
• What is success?
Task
• Develop model to distinguish between:
• Investment-grade
• Speculative-grade
• What is success?
Task
• Develop model to distinguish between:
• Investment-grade
• Speculative-grade
• What is success?
Task
• Develop model to distinguish between:
• Investment-grade
• Speculative-grade
• What is success?
Task
• Develop model to distinguish between:
• Investment-grade
• Speculative-grade
• What is success?
Task
• Develop model to distinguish between:
• Investment-grade
• Speculative-grade
• What is success?
Task
• Develop model to distinguish between:
• Investment-grade
• Speculative-grade
• What is success?
Task
• Develop model to distinguish between:
• Investment-grade
• Speculative-grade
• What is success?
Task
Credit Risk - Data
Michael R. Roberts, The William H. Lawrence Professor of Finance
AI Applications in Marketing and Finance
• Data acquisition and verification
• Wharton Research Data Services (WRDS)
• S&P Compustat database
• Sample
• 10,540 observations
• 1995 to 2016
• 1,400 firms
Data Science Workflow
• Data preparation
• EDA
Data Science Workflow
Data Science Workflow
Data Science Workflow
Data Science Workflow
Data Science Workflow
Data Science Workflow
Data Science Workflow
Data Science Workflow
Data Science Workflow
Data Science Workflow
Data Science Workflow
Credit Risk - Model Prep
Michael R. Roberts, The William H. Lawrence Professor of Finance
AI Applications in Marketing and Finance
• Y = f(x1, x2, …, xk)
• Y = outcome variable = 1 if investment grade, 0 otherwise
• (x1, x2, …, xk) = model inputs, predictors, explanatory variables, etc.
Model Prep
Redundancy?
• Should be done at the very beginning!
Train-Test Split
Credit Risk - Model Training
Michael R. Roberts, The William H. Lawrence Professor of Finance
AI Applications in Marketing and Finance
• Logit model - confusion matrix
Prediction
• Logit model - probability confusion matrix
Prediction
• Model score: 77.2%
• Logit model - reduced inputs
Prediction
• Current ratio, interest coverage, debt-to-ebitda, debt-to-assets
• Model score: 76.5% (77.2%)
• Important?
• Logit model - reduced inputs
Additional Metrics
• Precision = Probability of true positive conditional on positive prediction, 76.54%
• Recall = Probability of a true positive conditional on a positive outcome, 77.6%
• F1 = Harmonic mean (weighted average of recall and precision), 77.1%
• Inspect
• (Probability) confusion matrix and model score
• Precision, recall, F1 score
• What matters depends on the goal set forth at the outset
Thoughts
Credit Risk - Models vs. Data
Michael R. Roberts, The William H. Lawrence Professor of Finance
AI Applications in Marketing and Finance
Alternative Models
Alternative Models
Alternative Models
Alternative Models
Alternative Models
Alternative Models
Credit Risk - Error Analysis
Michael R. Roberts, The William H. Lawrence Professor of Finance
AI Applications in Marketing and Finance
• Inspect errors!
Where’d We Go Wrong?
• Misclassified AA- firms = Alltel Pennsylvania in mid 1990s
Where’d We Go Wrong?
• Inspect errors!
Where’d We Go Wrong?
• Misclassified AA- firms = Alltel Pennsylvania in mid 1990s
Where’d We Go Wrong?
• Inspect errors!
Where’d We Go Wrong?
• Misclassified AA- firms = Alltel Pennsylvania in mid 1990s
Where’d We Go Wrong?
• Inspect errors!
Where’d We Go Wrong?
• Misclassified AA- firms = Alltel Pennsylvania in mid 1990s
Where’d We Go Wrong?
• Inspect errors!
Where’d We Go Wrong?
• Misclassified AA- firms = Alltel Pennsylvania in mid 1990s
Where’d We Go Wrong?
• Inspect errors!
Where’d We Go Wrong?
• Misclassified AA- firms = Alltel Pennsylvania in mid 1990s
Where’d We Go Wrong?
• Inspect errors!
Where’d We Go Wrong?
• Inspect errors!
Where’d We Go Wrong?
Credit Risk - Concluding Thoughts
Michael R. Roberts, The William H. Lawrence Professor of Finance
AI Applications in Marketing and Finance
• Finance — Data — Technology
• Scientific method
• Data science workflow
• Application: Corporate credit risk
• Machine learning
• Data vs. models
• Error analysis
• What about AI?
Thoughts
AI_finance_Module-3.pptx

More Related Content

Similar to AI_finance_Module-3.pptx

IRJET - Face Detection based ATM Safety System for Secured Transaction
IRJET - Face Detection based ATM Safety System for Secured TransactionIRJET - Face Detection based ATM Safety System for Secured Transaction
IRJET - Face Detection based ATM Safety System for Secured TransactionIRJET Journal
 
Nasscom how can you identify fraud in fintech lending using deep learning
Nasscom how can you identify fraud in fintech lending using deep learningNasscom how can you identify fraud in fintech lending using deep learning
Nasscom how can you identify fraud in fintech lending using deep learningRatnakar Pandey
 
5 Applications of Data Science in FinTech: The Tech Behind the Booming FinTec...
5 Applications of Data Science in FinTech: The Tech Behind the Booming FinTec...5 Applications of Data Science in FinTech: The Tech Behind the Booming FinTec...
5 Applications of Data Science in FinTech: The Tech Behind the Booming FinTec...Kavika Roy
 
Credit Card Fraud Detection System: A Survey
Credit Card Fraud Detection System: A SurveyCredit Card Fraud Detection System: A Survey
Credit Card Fraud Detection System: A SurveyIJMER
 
Analysis of Spending Pattern on Credit Card Fraud Detection
Analysis of Spending Pattern on Credit Card Fraud DetectionAnalysis of Spending Pattern on Credit Card Fraud Detection
Analysis of Spending Pattern on Credit Card Fraud DetectionIOSR Journals
 
Share Credit_Card_Fraud_Detection_ML_MP (1).pptx
Share Credit_Card_Fraud_Detection_ML_MP (1).pptxShare Credit_Card_Fraud_Detection_ML_MP (1).pptx
Share Credit_Card_Fraud_Detection_ML_MP (1).pptxyatintaneja6
 
IRJET- Finalize Attributes and using Specific Way to Find Fraudulent Transaction
IRJET- Finalize Attributes and using Specific Way to Find Fraudulent TransactionIRJET- Finalize Attributes and using Specific Way to Find Fraudulent Transaction
IRJET- Finalize Attributes and using Specific Way to Find Fraudulent TransactionIRJET Journal
 
A Comparative Study on Online Transaction Fraud Detection by using Machine Le...
A Comparative Study on Online Transaction Fraud Detection by using Machine Le...A Comparative Study on Online Transaction Fraud Detection by using Machine Le...
A Comparative Study on Online Transaction Fraud Detection by using Machine Le...IRJET Journal
 
AI Governance – The Responsible Use of AI
AI Governance – The Responsible Use of AIAI Governance – The Responsible Use of AI
AI Governance – The Responsible Use of AINUS-ISS
 
A Survey of Online Credit Card Fraud Detection using Data Mining Techniques
A Survey of Online Credit Card Fraud Detection using Data Mining TechniquesA Survey of Online Credit Card Fraud Detection using Data Mining Techniques
A Survey of Online Credit Card Fraud Detection using Data Mining TechniquesIJSRD
 
SCAM Detection in Credit Card Application
SCAM Detection in Credit Card ApplicationSCAM Detection in Credit Card Application
SCAM Detection in Credit Card Applicationijcnes
 
IRJET- Credit Card Fraud Detection using Machine Learning
IRJET- Credit Card Fraud Detection using Machine LearningIRJET- Credit Card Fraud Detection using Machine Learning
IRJET- Credit Card Fraud Detection using Machine LearningIRJET Journal
 
Experiment
ExperimentExperiment
Experimentjbashask
 
Oath appsec sf 2015 dem rev. 2
Oath appsec sf 2015 dem rev. 2Oath appsec sf 2015 dem rev. 2
Oath appsec sf 2015 dem rev. 2Donald Malloy
 
Strong Authentication - Open Source
Strong Authentication - Open SourceStrong Authentication - Open Source
Strong Authentication - Open SourceDonald Malloy
 
Intelligent Banking: AI cases in Retail and Commercial Banking
Intelligent Banking: AI cases in Retail and Commercial BankingIntelligent Banking: AI cases in Retail and Commercial Banking
Intelligent Banking: AI cases in Retail and Commercial BankingDmitry Petukhov
 

Similar to AI_finance_Module-3.pptx (20)

IRJET - Face Detection based ATM Safety System for Secured Transaction
IRJET - Face Detection based ATM Safety System for Secured TransactionIRJET - Face Detection based ATM Safety System for Secured Transaction
IRJET - Face Detection based ATM Safety System for Secured Transaction
 
Nasscom how can you identify fraud in fintech lending using deep learning
Nasscom how can you identify fraud in fintech lending using deep learningNasscom how can you identify fraud in fintech lending using deep learning
Nasscom how can you identify fraud in fintech lending using deep learning
 
5 Applications of Data Science in FinTech: The Tech Behind the Booming FinTec...
5 Applications of Data Science in FinTech: The Tech Behind the Booming FinTec...5 Applications of Data Science in FinTech: The Tech Behind the Booming FinTec...
5 Applications of Data Science in FinTech: The Tech Behind the Booming FinTec...
 
Artificial Intelligence in Banking
Artificial Intelligence in BankingArtificial Intelligence in Banking
Artificial Intelligence in Banking
 
Artificial Intelligence in Banking
Artificial Intelligence in BankingArtificial Intelligence in Banking
Artificial Intelligence in Banking
 
Credit Card Fraud Detection System: A Survey
Credit Card Fraud Detection System: A SurveyCredit Card Fraud Detection System: A Survey
Credit Card Fraud Detection System: A Survey
 
J017216164
J017216164J017216164
J017216164
 
Analysis of Spending Pattern on Credit Card Fraud Detection
Analysis of Spending Pattern on Credit Card Fraud DetectionAnalysis of Spending Pattern on Credit Card Fraud Detection
Analysis of Spending Pattern on Credit Card Fraud Detection
 
Share Credit_Card_Fraud_Detection_ML_MP (1).pptx
Share Credit_Card_Fraud_Detection_ML_MP (1).pptxShare Credit_Card_Fraud_Detection_ML_MP (1).pptx
Share Credit_Card_Fraud_Detection_ML_MP (1).pptx
 
IRJET- Finalize Attributes and using Specific Way to Find Fraudulent Transaction
IRJET- Finalize Attributes and using Specific Way to Find Fraudulent TransactionIRJET- Finalize Attributes and using Specific Way to Find Fraudulent Transaction
IRJET- Finalize Attributes and using Specific Way to Find Fraudulent Transaction
 
A Comparative Study on Online Transaction Fraud Detection by using Machine Le...
A Comparative Study on Online Transaction Fraud Detection by using Machine Le...A Comparative Study on Online Transaction Fraud Detection by using Machine Le...
A Comparative Study on Online Transaction Fraud Detection by using Machine Le...
 
AI Governance – The Responsible Use of AI
AI Governance – The Responsible Use of AIAI Governance – The Responsible Use of AI
AI Governance – The Responsible Use of AI
 
A Survey of Online Credit Card Fraud Detection using Data Mining Techniques
A Survey of Online Credit Card Fraud Detection using Data Mining TechniquesA Survey of Online Credit Card Fraud Detection using Data Mining Techniques
A Survey of Online Credit Card Fraud Detection using Data Mining Techniques
 
SCAM Detection in Credit Card Application
SCAM Detection in Credit Card ApplicationSCAM Detection in Credit Card Application
SCAM Detection in Credit Card Application
 
ARTIFICIAL INTELLIGENCE IN DIGITAL BANKING
ARTIFICIAL INTELLIGENCE IN DIGITAL BANKINGARTIFICIAL INTELLIGENCE IN DIGITAL BANKING
ARTIFICIAL INTELLIGENCE IN DIGITAL BANKING
 
IRJET- Credit Card Fraud Detection using Machine Learning
IRJET- Credit Card Fraud Detection using Machine LearningIRJET- Credit Card Fraud Detection using Machine Learning
IRJET- Credit Card Fraud Detection using Machine Learning
 
Experiment
ExperimentExperiment
Experiment
 
Oath appsec sf 2015 dem rev. 2
Oath appsec sf 2015 dem rev. 2Oath appsec sf 2015 dem rev. 2
Oath appsec sf 2015 dem rev. 2
 
Strong Authentication - Open Source
Strong Authentication - Open SourceStrong Authentication - Open Source
Strong Authentication - Open Source
 
Intelligent Banking: AI cases in Retail and Commercial Banking
Intelligent Banking: AI cases in Retail and Commercial BankingIntelligent Banking: AI cases in Retail and Commercial Banking
Intelligent Banking: AI cases in Retail and Commercial Banking
 

Recently uploaded

_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 

Recently uploaded (20)

_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 

AI_finance_Module-3.pptx

  • 1. Interview with Apoorv Saxena Kartik Hosanagar, Professor of Operations, Information and Decisions AI Applications in Marketing & Finance
  • 2. Machine Learning in Finance: Fraud Detection Kartik Hosanagar, Professor of Operations, Information and Decisions AI Applications in Marketing & Finance
  • 3. Credit Card Fraud Card Replaced Customer Impacted Dispute Required Fraud Occurs Content/quotes from “Prediction Machines: The Simple Economics of Artificial Intelligence ” by Ajay Agrawal, Avi Goldfarb, and Joshua Gans Images: https://visualmodo.com/6-security-tips-protect-ecommerce-site/, https://icons8.com/icons/set/phone, https://www.vecteezy.com/vector-art/383180- illustration-of-scissors-cutting-a-credit-card
  • 4. Credit Card Fraud Fraud Occurs ML Detects Customer Impact Avoided Card Replaced Early fraud detection with ML can help prevent fraud and save banks a lot of money Content/quotes from: “A Human’s Guide to Machine Intelligence” by Kartik Hosanagar, Images: https://visualmodo.com/6-security-tips-protect-ecommerce- site/, https://medium.com/@fenjiro/data-mining-for-banking-loan-approval-use-case-e7c2bc3ece3, https://icons8.com/icons/set/phone, https://www.vecteezy.com/vector-art/383180-illustration-of-scissors-cutting-a-credit-card
  • 5. • False Negatives occur when a business does not detect a transaction as fraudulent and allows the fraudster to make a purchase • The actual cardholder discovers the charge, disputes it, and is usually repaid by the bank • The merchant/bank is responsible for both the cost of the item sold to the fraudster and the associated dispute fees • False Positives occur when a transaction is flagged as fraudulent and blocked, although the potential purchase was actually not fraud • Has an indirect impact by causing reputational damage (this customer may not return; others may hear about people being blocked) • Directly impacts gross profits (loss of this purchase) ML Model Accuracy is Crucial Content/quotes from: https://stripe.com/radar/guide
  • 6. Machine Learning Opportunity • Both supervised and unsupervised learning are used in fraud Supervised Learning • Training occurs by using a large dataset with the details of individual transactions provided and with each transaction tagged as fraud or not • From this, the model learns the unique patterns of fraud Unsupervised Learning • Anomaly detection can compare new transactions with prior ones to detect outliers • This can help identify fraud that doesn’t necessarily fit a previously identified pattern (e.g. a new type of fraud) Content/quotes from: https://stripe.com/radar/guide & https://www.fico.com/blogs/5-keys-using-ai-and-machine-learning-fraud-detection
  • 7. Requires input data for training (usually historical data of two types): • “Properties that can be ‘read off’ a single credit card payment • Country the card was issued in, IP address of payment, user’s email domain, etc. • Behavioral data (provides “some of the most predictive signals”) • Number of countries the card was used recently Supervised Learning Example
  • 8. Requires input data for training (usually historical data of two types): • “Properties that can be ‘read off’ a single credit card payment • Behavioral data (provides “some of the most predictive signals”) Supervised Learning Example (cont.) Sample Training Data* * This training data is very limited in order to provide a simple example To build an accurate model you would need millions of rows as well as additional columns Content/quotes from: https://stripe.com/radar/guide
  • 9. Produces an output model, such as the following decision tree • The tree answers: “of transactions in our data set with properties similar to the transaction we’re examining now, what fraction were actually fraudulent?” • “The machine learning part is concerned with the construction of the tree- what questions do we ask, in what order, to maximize the chances that we can distinguish between the two classes accurately?” Supervised Learning Example (cont.) Sample Output* *This decision tree is based on the same limited data from the previous slide Content/quotes from: https://stripe.com/radar/guide
  • 10. Produces an output model, such as the following decision tree • The tree answers: “of transactions in our data set with properties similar to the transaction we’re examining now, what fraction were actually fraudulent?” • “The machine learning part is concerned with the construction of the tree- what questions do we ask, in what order, to maximize the chances that we can distinguish between the two classes accurately?” Supervised Learning Example (cont.) Sample Output* *This decision tree is based on the same limited data from the previous slide Content/quotes from: https://stripe.com/radar/guide
  • 11. Produces an output model, such as the following decision tree • The tree answers: “of transactions in our data set with properties similar to the transaction we’re examining now, what fraction were actually fraudulent?” • “The machine learning part is concerned with the construction of the tree- what questions do we ask, in what order, to maximize the chances that we can distinguish between the two classes accurately?” Supervised Learning Example (cont.) Sample Output* *This decision tree is based on the same limited data from the previous slide Content/quotes from: https://stripe.com/radar/guide
  • 12. Produces an output model, such as the following decision tree • The tree answers: “of transactions in our data set with properties similar to the transaction we’re examining now, what fraction were actually fraudulent?” • “The machine learning part is concerned with the construction of the tree- what questions do we ask, in what order, to maximize the chances that we can distinguish between the two classes accurately?” Supervised Learning Example (cont.) Sample Output* *This decision tree is based on the same limited data from the previous slide Content/quotes from: https://stripe.com/radar/guide
  • 13. • Supervised Learning: From this (very limited) data, the model would learn a unique pattern of fraud • If >$20 & from Canada, 100% chance of fraud • If <$20 & from >2 countries, 100% chance of fraud • If >$20 & not from CA, or <$20 & from <2 countries, not sure • Unsupervised Learning: Detecting transactions that appear like anomalies • A transaction is for an exceptionally high amount + in a country where this person has not transacted before + in the past, foreign transactions were preceded by flight purchase to that country unlike this time = Anomaly Machine Learning Fraud Detection Content/quotes from: https://stripe.com/radar/guide
  • 14. Advantages of ML for Fraud Speed • Algorithms can quickly process a large volume of transactions • This is important for fraud since a decision is needed in real time Scale • A challenge for humans, but algorithms improve as the amount of data increases. Efficiency • Machine learning algorithms are better than humans at repetitive tasks Content/quotes from: https://marutitech.com/machine-learning-fraud-detection/
  • 15. Limitations of ML for Fraud Transparency • Algorithms can’t always explain why someone was blocked • Hard to catch issues with the model if it isn’t well understood • Also an ethical problem if biases go undetected (to be discussed in Module 4) Data Volume • Smaller companies may not have enough training data • Algorithm accuracy might be lower as a result Content/quotes from: https://marutitech.com/machine-learning-fraud-detection/
  • 16. Machine Learning in Finance: Additional Applications Kartik Hosanagar, Professor of Operations, Information and Decisions AI Applications in Marketing & Finance
  • 17. Identity Verification & Authentication • ML can improve security through more than just detecting fraud patterns, and it also provides new methods of improving identity verification ML-Based Verification Traditional Verification • Passwords • PIN numbers • Biometric authentication using facial and voice recognition technologies • One biometric use case would be when new accounts are opened and customers need to provide multiple forms of ID • Customers could instead provide “selfies” or voice prints, facial recognition and voice recognition technologies can be used to verify identity based on the images/audio provided • ATMs in China are starting to use face recognition Content/quotes from “Section 2: Known Applications of AI”
  • 18. • Biometric authentication can also occur continuously and without intruding into the customer experience - it involves verifying customers’ identities while they are already engaging with the bank through mobile apps • E.g. AI can detect unique biometric patterns of individual customers: • How the person naturally holds a mobile device • How the person taps the screen Identity Verification & Authentication (cont.) Content/quotes from “Section 2: Known Applications of AI”
  • 19. Identity Verification & Authentication (cont.) Key Benefits & Limitations of ML for Identity Verification Benefits Limitations • Improved security, potentially without creating a cumbersome experience for customers • Not fool proof - attackers could still access biometric identifiers and pose as customers • However, it can still deter attackers Content/quotes from “Section 2: Known Applications of AI”
  • 20. • ML can detect patterns between consumer data and loan or insurance outcomes, and use this to predict the outcomes of particular applicants • E.g., Supervised learning can be used by providing a training dataset with historical data on consumers and their lending/insurance results • Consumer data: age, income, employment, etc. • Lending/insurance results: repaying loans on time vs. defaulting Loan & Insurance Underwriting Content/quotes from: “Section 2: Known Applications of AI” Additional Content from: https://emerj.com/ai-sector-overviews/machine-learning-in-finance/
  • 21. Loan & Insurance Underwriting (cont.) Key Benefits & Limitations of Loans/Insurance Models Benefits Limitations • Could reduce processing time • Potential for “increasing loan volume & reducing risk…[by] using more diverse data as well as data with weaker signals.” • Algorithm could be biased and could perpetuate historical discrimination • Companies need to make sure their algorithms don’t discriminate (discussed further in Module 4) Content/quotes from: “Section 2: Known Applications of AI” Additional Content from: https://emerj.com/ai-sector-overviews/machine-learning-in-finance/
  • 22. Predicting Customer Churn Key Benefits & Limitations of Churn Models Benefits Limitations • Predictions from churn models are actionable b/c knowing in advance which customers might churn allows banks to make extra efforts to improve those customers’ satisfaction • Predictions about who might churn don’t necessarily provide insight into what is causing them to leave and how best to retain them Content/quotes from “Section 2: Known Applications of AI” • Banks want to retain customers/prevent churn and can apply ML to this goal • In much the same way as with fraud models, the customer data that banks have can be used to “create churn models based on customer attributes or features of those who did or did not churn for another competitor”
  • 23. Three Additional Examples of ML in Finance Customer Experience • Conversational AI platforms are being used to service customers via chat or over the phone to improve responsiveness and reduce costs Personal Finance • Personalized portfolios Financial Forecasting • Ability to predict company financials or budgeting needs in the future Content/quotes for financial forecasting from “Section 2: Known Applications of AI” Content/quotes for customer experience and personal finance section from https://www.alacriti.com/machine-learning-in-financial-services-potential-applications/
  • 24. Introduction Michael R. Roberts, The William H. Lawrence Professor of Finance AI Applications in Marketing and Finance
  • 25. • Finance has long been: • Technology oriented • Data oriented • Model oriented Finance, Data, and Technology
  • 26. • Portfolio management • Algorithmic trading • Fraud detection • Customer retention • Returns forecasting • Earnings forecasting • Credit analysis Example Applications
  • 27. • Focus on an application • Corporate credit risk • Emphasize process • Scientific method • Data science workflow • Emphasize economics • Avoid common pitfalls with models • Illustrate stylized machine learning problem • Imputing credit ratings What Are We Going to Do?
  • 28. • Informal delivery • Unscripted • Dynamic • Working together at computer • Thought process is important How Are We Going to Do it?
  • 29. 1. Emphasize importance of • Process • Data • Economic and institutional details 2. De-emphasize importance of complexity • Black box Goals Balance 1 and 2
  • 30. Process: Scientific Method Michael R. Roberts, The William H. Lawrence Professor of Finance AI Applications in Marketing and Finance
  • 31. “If it (theory) disagrees with experiment, it’s wrong. In that simple statement is the key to science.” — R I C H A R D F E Y N M A N
  • 32. 1. Clearly articulate a specific question 2. Guess an answer (hypothesize) 3. Identify empirical implications of guess 4. Compare implications with data Scientific Method
  • 33. Process: Data Science Workflow Michael R. Roberts, The William H. Lawrence Professor of Finance AI Applications in Marketing and Finance
  • 34. 1. Clearly articulate a specific question 2. Guess an answer (hypothesize) 3. Identify empirical implications of guess 4. Compare implications with data Scientific Method
  • 36. 1. Acquisition and verification 2. Preparation 3. Analysis 4. Communication* Data Science Workflow 2 4 3 1
  • 37. Corporate Credit Risk Michael R. Roberts, The William H. Lawrence Professor of Finance AI Applications in Marketing and Finance
  • 46. • What is it? • Inability of firms to repay financial obligations • Why it’s important • Affects availability and price of credit • For whom is it important? • Investors • Employees • Customers • Suppliers • Taxpayers Corporate Credit Risk
  • 47. • Quantify and assess • Examples • Stylized ML example • Predicting credit ratings • Extensions Outline
  • 48. Credit Risk - KPIs Michael R. Roberts, The William H. Lawrence Professor of Finance AI Applications in Marketing and Finance
  • 49. Credit Risk - Credit Ratings Michael R. Roberts, The William H. Lawrence Professor of Finance AI Applications in Marketing and Finance
  • 55. Credit Risk - Credit Ratings Prediction Michael R. Roberts, The William H. Lawrence Professor of Finance AI Applications in Marketing and Finance
  • 56. • Develop model to distinguish between: • Investment-grade • Speculative-grade Task
  • 58. • Develop model to distinguish between: • Investment-grade • Speculative-grade • What is success? Task
  • 59. • Develop model to distinguish between: • Investment-grade • Speculative-grade • What is success? Task
  • 60. • Develop model to distinguish between: • Investment-grade • Speculative-grade • What is success? Task
  • 61. • Develop model to distinguish between: • Investment-grade • Speculative-grade • What is success? Task
  • 62. • Develop model to distinguish between: • Investment-grade • Speculative-grade • What is success? Task
  • 63. • Develop model to distinguish between: • Investment-grade • Speculative-grade • What is success? Task
  • 64. • Develop model to distinguish between: • Investment-grade • Speculative-grade • What is success? Task
  • 65. • Develop model to distinguish between: • Investment-grade • Speculative-grade • What is success? Task
  • 66. Credit Risk - Data Michael R. Roberts, The William H. Lawrence Professor of Finance AI Applications in Marketing and Finance
  • 67. • Data acquisition and verification • Wharton Research Data Services (WRDS) • S&P Compustat database • Sample • 10,540 observations • 1995 to 2016 • 1,400 firms Data Science Workflow
  • 68. • Data preparation • EDA Data Science Workflow
  • 79. Credit Risk - Model Prep Michael R. Roberts, The William H. Lawrence Professor of Finance AI Applications in Marketing and Finance
  • 80. • Y = f(x1, x2, …, xk) • Y = outcome variable = 1 if investment grade, 0 otherwise • (x1, x2, …, xk) = model inputs, predictors, explanatory variables, etc. Model Prep
  • 82. • Should be done at the very beginning! Train-Test Split
  • 83. Credit Risk - Model Training Michael R. Roberts, The William H. Lawrence Professor of Finance AI Applications in Marketing and Finance
  • 84. • Logit model - confusion matrix Prediction
  • 85. • Logit model - probability confusion matrix Prediction • Model score: 77.2%
  • 86. • Logit model - reduced inputs Prediction • Current ratio, interest coverage, debt-to-ebitda, debt-to-assets • Model score: 76.5% (77.2%) • Important?
  • 87. • Logit model - reduced inputs Additional Metrics • Precision = Probability of true positive conditional on positive prediction, 76.54% • Recall = Probability of a true positive conditional on a positive outcome, 77.6% • F1 = Harmonic mean (weighted average of recall and precision), 77.1%
  • 88. • Inspect • (Probability) confusion matrix and model score • Precision, recall, F1 score • What matters depends on the goal set forth at the outset Thoughts
  • 89. Credit Risk - Models vs. Data Michael R. Roberts, The William H. Lawrence Professor of Finance AI Applications in Marketing and Finance
  • 96. Credit Risk - Error Analysis Michael R. Roberts, The William H. Lawrence Professor of Finance AI Applications in Marketing and Finance
  • 98. • Misclassified AA- firms = Alltel Pennsylvania in mid 1990s Where’d We Go Wrong?
  • 100. • Misclassified AA- firms = Alltel Pennsylvania in mid 1990s Where’d We Go Wrong?
  • 102. • Misclassified AA- firms = Alltel Pennsylvania in mid 1990s Where’d We Go Wrong?
  • 104. • Misclassified AA- firms = Alltel Pennsylvania in mid 1990s Where’d We Go Wrong?
  • 106. • Misclassified AA- firms = Alltel Pennsylvania in mid 1990s Where’d We Go Wrong?
  • 108. • Misclassified AA- firms = Alltel Pennsylvania in mid 1990s Where’d We Go Wrong?
  • 111. Credit Risk - Concluding Thoughts Michael R. Roberts, The William H. Lawrence Professor of Finance AI Applications in Marketing and Finance
  • 112. • Finance — Data — Technology • Scientific method • Data science workflow • Application: Corporate credit risk • Machine learning • Data vs. models • Error analysis • What about AI? Thoughts