homework help 12449

write R studio

Investigate the use of Logistic Regression on a subset of the Kaggle Credit Card Fraud Data set (  Note that in this data set, the number of fraud data are much smaller than the normal data.

Your first task would be to construct subset data set(s) from the Kaggle data set.  Construct three subset data sets of 100K, 20K, and 10K, with normal and fraud data included (make sure you maximize the number of fraud data elements).  Out of this data set construct a training data set and a testing data set  (using 80% of the data for the former, and 20% for the latter) to build and test the logistic regression model.


1. Perform Logistic Regression on the three data subsets (100K, 20K, 10K).  Show your results using a cross-table.  Discuss your results for each of the data sets.

2. Perform Ridge Logistic Regression and Lasso Logistic Regression on the three data subsets.  Hint: http://ricardoscr.github.io/how-to-use-ridge-and-lasso-in-r.html (Links to an external site.).  Show your results using a cross-table and discuss the results in comparison to (1)

3- make powerpoint for explaining the data set with code and explaining the plots.

"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"

Hi there! Click one of our representatives below and we will get back to you as soon as possible.

Chat with us on WhatsApp