Presentation is loading. Please wait.

Presentation is loading. Please wait.

Some slide material taken from: Groth, Han and Kamber, SAS Institute Data Mining A special presentation for BCIS 4660 Spring 2012 Dr. Nick Evangelopoulos,

Similar presentations


Presentation on theme: "Some slide material taken from: Groth, Han and Kamber, SAS Institute Data Mining A special presentation for BCIS 4660 Spring 2012 Dr. Nick Evangelopoulos,"— Presentation transcript:

1 Some slide material taken from: Groth, Han and Kamber, SAS Institute Data Mining A special presentation for BCIS 4660 Spring 2012 Dr. Nick Evangelopoulos, ITDS Dept.

2 Overview of this Presentation Introduction to Data Mining Examples of Data Mining applications The SEMMA Methodology SAS EM Demo: The Home Equity Loan Case Logistic Regression Decision Trees Neural Networks

3 Introduction to DM “It is a capital mistake to theorize before one has data. Insensibly one begins to twist facts to suit theories, instead of theories to suit facts.” Sir Arthur Conan Doyle: Sherlock Holmes, "A Scandal in Bohemia"

4 What Is Data Mining? Data mining (knowledge discovery in databases): –A process of identifying hidden patterns and relationships within data (Groth) Data mining: –Extraction of interesting ( non-trivial, implicit, previously unknown and potentially useful) information or patterns from data in large databases

5 Multidisciplinary Databases Statistics Pattern Recognition KDD Machine Learning AI Neurocomputing Data Mining

6 Architecture of a Typical Data Mining System Data Warehouse Data cleaning & data integration Filtering Databases Database or data warehouse server Data mining engine Pattern evaluation Graphical user interface Knowledge-base

7 A Data Mining example: The Home Equity Loan Case The analytic goal is to determine who should be approved for a home equity loan. The target variable is a binary variable that indicates whether an applicant eventually defaulted on the loan. The input variables are variables such as the amount of the loan, amount due on the existing mortgage, the value of the property, and the number of recent credit inquiries.

8 HMEQ case overview –The consumer credit department of a bank wants to automate the decision-making process for approval of home equity lines of credit. To do this, they will follow the recommendations of the Equal Credit Opportunity Act to create an empirically derived and statistically sound credit scoring model. The model will be based on data collected from recent applicants granted credit through the current process of loan underwriting. The model will be built from predictive modeling tools, but the created model must be sufficiently interpretable so as to provide a reason for any adverse actions (rejections). –The HMEQ data set contains baseline and loan performance information for 5,960 recent home equity loans. The target (BAD) is a binary variable that indicates if an applicant eventually defaulted or was seriously delinquent. This adverse outcome occurred in 1,189 cases (20%). For each applicant, 12 input variables were recorded.

9 The HMEQ Loan process 1.An applicant comes forward with a specific property and a reason for the loan (Home- Improvement, Debt-Consolidation) 2.Background info related to job and credit history is collected 3.The loan gets approved or rejected 4.Upon approval, the Applicant becomes a Customer 5.Information related to how the loan is serviced is maintained, including the Status of the loan (Current, Delinquent, Defaulted, Paid-Off)

10 The HMEQ Loan Transactional Database Entity Relationship Diagram (ERD), Logical Design: APPLICANT CUSTOMER PROPERTY becomes Applies for HMEQ Loan on… using… Reason Loan Approval Date OFFICER has HISTORY Balance Status MonthlyPayment ACCOUNT

11 HMEQ Transactional database: the relations Applicant APPLICANTID NAME JOB DEBTINC YOJ DEROG CLNO DELINQ CLAGE NINQ Property PROPERTYID ADDRESS VALUE MORTDUE HMEQLoanApplication OFFICERID APPLICANTID PROPERTYID LOAN REASON DATE APPROVAL Customer CUSTOMERID APPLICANTID NAME ADDRESS Account ACCOUNTID CUSTOMERID PROPERTYID ADDRESS BALANCE MONTHLYPAYMENT STATUS Officer OFFICERID OFFICERNAME PHONE FAX History HISTORYID ACCOUNTID PAYMENT DATE Entity Relationship Diagram (ERD), Physical Design:

12 The HMEQ Loan Data Warehouse Design We have some slowly changing attributes: HMEQLoanApplication: Loan, Reason, Date Applicant: Job and Credit Score related attributes Property: Value, Mortgage, Balance An applicant may reapply for a loan, then some of these attributes may have changed. –Need to introduce “Key” attributes and make them primary keys

13 The HMEQ Loan Data Warehouse Design STAR 1 – Loan Application facts Fact Table: HMEQApplicationFact Dimensions: Applicant, Property, Officer, Time STAR 2 – Loan Payment facts Fact Table: HMEQPaymentFact Dimensions: Customer, Property, Account, Time

14 Two Star Schemas for HMEQ Loans Applicant APPLICANTKEY APPLICANTID NAME JOB DEBTINC YOJ DEROG CLNO DELINQ CLAGE NINQ Property PROPERTYKEY PROPERTYID ADDRESS VALUE MORTDUE HMEQApplicationFact APPLICANTKEY PROPERTYKEY OFFICERKEY TIMEKEY LOAN REASON APPROVAL HMEQPaymentFact CUSTOMERKEY PROPERTYKEY ACCOUNTKEY TIMEKEY BALANCE PAYMENT STATUS Customer CUSTOMERKEY CUSTOMERID APPLICANTID NAME ADDRESS Time TIMEKEY DATE MONTH YEAR Account ACCOUNTKEY LOAN MATURITYDATE MONTHLYPAYMENT Officer OFFICERKEY OFFICERID OFFICERNAME PHONE FAX

15 The HMEQ Loan DW: Questions asked by management How many applications were filed each month during the last year? What percentage of them were approved each month? How has the monthly average loan amount been fluctuating during the last year? Is there a trend? Which customers were delinquent in their loan payment during the month of September? How many loans have defaulted each month during the last year? Is there an increasing or decreasing trend? How many defaulting loans were approved last year by each loan officer? Who are the officers with the largest number of defaulting loans?

16 The HMEQ Loan DW: Some more involved questions Are there any patterns suggesting which applicants are more likely to default on their loan after it is approved? Can we relate loan defaults to applicant job and credit history? Can we estimate probabilities to default based on applicant attributes at the time of application? Are there applicant segments with higher probability? Can we look at relevant data and build a predictive model that will estimate such probability to default on the HMEQ loan? If we make such a model part of our business policy, can we decrease the percentage of loans that eventually default by applying more stringent loan approval criteria?

17 Selecting Task-relevant attributes Customer CUSTOMERKEY CUSTOMERID APPLICANTID NAME ADDRESS Time TIMEKEY DATE MONTH YEAR Account ACCOUNTKEY LOAN MATURITYDATE MONTHLYPAYMENT Applicant APPLICANTKEY APPLICANTID NAME JOB DEBTINC YOJ DEROG CLNO DELINQ CLAGE NINQ Officer OFFICERKEY OFFICERID OFFICERNAME PHONE FAX Property PROPERTYKEY PROPERTYID ADDRESS VALUE MORTDUE HMEQApplicationFact APPLICANTKEY PROPERTYKEY OFFICERKEY TIMEKEY LOAN REASON APPROVAL HMEQPaymentFact CUSTOMERKEY PROPERTYKEY ACCOUNTKEY TIMEKEY BALANCE PAYMENT STATUS

18 HMEQ final task-relevant data file NameModel RoleMeasurement LevelDescription BAD TargetBinary 1=defaulted on loan, 0=paid back loan REASON InputBinary HomeImp=home improvement, DebtCon=debt consolidation JOB InputNominal Six occupational categories LOAN InputInterval Amount of loan request MORTDUE InputInterval Amount due on existing mortgage VALUE InputInterval Value of current property DEBTINC InputInterval Debt-to-income ratio YOJ InputInterval Years at present job DEROG InputInterval Number of major derogatory reports CLNO InputInterval Number of trade lines DELINQ InputInterval Number of delinquent trade lines CLAGE InputInterval Age of oldest trade line in months NINQ InputInterval Number of recent credit inquiries

19 HMEQ: Modeling Goal –The credit scoring model should compute the probability of a given loan applicant to default on loan repayment. A threshold is to be selected such that all applicants whose probability of default is in excess of the threshold are recommended for rejection. –Using the HMEQ task-relevant data file, three competing models will be built: A logistic Regression model, a Decision Tree, and a Neural Network –Model assessment will allow us to select the best of the three alternative models

20 ... Predictive Modeling..................................................................... Inputs Cases Target...

21 Introducing SAS Enterprise Miner (EM)

22 The SEMMA Methodology –Introduced By SAS Institute –Implemented in SAS Enterprise Miner (EM) –Organizes a DM effort into 5 activity groups: Sample Explore Modify Model Assess

23 Sample Input Data Source Sampling Data Partition

24 Explore Distribution Explorer Multiplot Insight Association Variable Selection Link Analysis

25 Modify Data Set Attributes Transform Variables Filter Outliers Replacement Clustering Self-Organized Maps Kohonen Networks Time Series

26 Model Regression Tree Neural Network Princomp/ Dmneural User Defined Model Ensemble Memory Based Reasoning Two-Stage Model

27 Assess Assessment Reporter

28 SAS EM Demo: HMEQ Case


Download ppt "Some slide material taken from: Groth, Han and Kamber, SAS Institute Data Mining A special presentation for BCIS 4660 Spring 2012 Dr. Nick Evangelopoulos,"

Similar presentations


Ads by Google