NAME: DEEPAK KUMAR
COURSE: ADVANCED PYTHON
TEACHER: MA’AM NUSRAT
TITLE:
ONLINE PAYMENTS FRAUD
DETECTION
• Introduction
• Identify online payment fraud with
machine learning, we need to train a
machine learning model for classifying
fraudulent and non-fraudulent
payments. For this, we need a dataset
containing information about online
payment fraud, so that we can
understand what type of transactions
lead to fraud. For this task, I took
dataset online, which contains historical
information about fraudulent
transactions which can be used to
detect fraud in online payments.
Here, Import the libraries and load the dataset in the program.
Check the NaN value in columns. If available fill that by mean.
Here, I find which type of transaction is used.
That pi chart shows the transaction accordint to the percentage.
Here, I assign the number to each transaction type.
Using the sklearn model split the data into dependent and
independent variables. And train the model
Using the sklearn model split the data into dependent and
independent variables. And train the model.
Finally check the accuracy using the test data it’s almost
100% which is good.
Result
Conclusion
So this is the method to detect online payments fraud with
machine learning using Python. Detecting online payment
fraud is one of the applications of data science in the
finance department.
This will be very helpful for the finance department they can
easily analyze and predict the according the their data
Thank you

Mid project.pptx

  • 1.
    NAME: DEEPAK KUMAR COURSE:ADVANCED PYTHON TEACHER: MA’AM NUSRAT
  • 2.
  • 3.
    • Introduction • Identifyonline payment fraud with machine learning, we need to train a machine learning model for classifying fraudulent and non-fraudulent payments. For this, we need a dataset containing information about online payment fraud, so that we can understand what type of transactions lead to fraud. For this task, I took dataset online, which contains historical information about fraudulent transactions which can be used to detect fraud in online payments.
  • 4.
    Here, Import thelibraries and load the dataset in the program.
  • 5.
    Check the NaNvalue in columns. If available fill that by mean.
  • 6.
    Here, I findwhich type of transaction is used.
  • 7.
    That pi chartshows the transaction accordint to the percentage.
  • 8.
    Here, I assignthe number to each transaction type.
  • 9.
    Using the sklearnmodel split the data into dependent and independent variables. And train the model
  • 10.
    Using the sklearnmodel split the data into dependent and independent variables. And train the model. Finally check the accuracy using the test data it’s almost 100% which is good.
  • 11.
  • 12.
    Conclusion So this isthe method to detect online payments fraud with machine learning using Python. Detecting online payment fraud is one of the applications of data science in the finance department. This will be very helpful for the finance department they can easily analyze and predict the according the their data
  • 13.