Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Read by thought-leaders and decision-makers around the world. Phone Number: +1-650-246-9381 Email: [email protected]
228 Park Avenue South New York, NY 10003 United States
Website: Publisher: https://towardsai.net/#publisher Diversity Policy: https://towardsai.net/about Ethics Policy: https://towardsai.net/about Masthead: https://towardsai.net/about
Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Founders: Roberto Iriondo, , Job Title: Co-founder and Advisor Works for: Towards AI, Inc. Follow Roberto: X, LinkedIn, GitHub, Google Scholar, Towards AI Profile, Medium, ML@CMU, FreeCodeCamp, Crunchbase, Bloomberg, Roberto Iriondo, Generative AI Lab, Generative AI Lab Denis Piffaretti, Job Title: Co-founder Works for: Towards AI, Inc. Louie Peters, Job Title: Co-founder Works for: Towards AI, Inc. Louis-François Bouchard, Job Title: Co-founder Works for: Towards AI, Inc. Cover:
Towards AI Cover
Logo:
Towards AI Logo
Areas Served: Worldwide Alternate Name: Towards AI, Inc. Alternate Name: Towards AI Co. Alternate Name: towards ai Alternate Name: towardsai Alternate Name: towards.ai Alternate Name: tai Alternate Name: toward ai Alternate Name: toward.ai Alternate Name: Towards AI, Inc. Alternate Name: towardsai.net Alternate Name: pub.towardsai.net
5 stars – based on 497 reviews

Frequently Used, Contextual References

TODO: Remember to copy unique IDs whenever it needs used. i.e., URL: 304b2e42315e

Resources

Take our 85+ lesson From Beginner to Advanced LLM Developer Certification: From choosing a project to deploying a working product this is the most comprehensive and practical LLM course out there!

Publication

Detect Credit Card Fraud in Just Few Minutes
Latest   Machine Learning

Detect Credit Card Fraud in Just Few Minutes

Last Updated on January 25, 2024 by Editorial Team

Author(s): Sara M.

Originally published on Towards AI.

Photo by Jon Tyson on Unsplash

In this article I want to show you how a complex analysis in a critical sector like banking could be done in a short time and without programming expertise.

So, for the demo, I picked the Pranjal Saxena article that proposes a solution using Machine Learning & Python to do the analysis.

The point is to try to do the analysis with only ChatGPT4.

The dataset is the same as used in the article.

Let’s begin.

ChatGPT for Data Analysis β€” A Beginner’s Guide

An complete tutorial on using ChatGPT for data analysis.

towardsdatascience.com

β€œData Processing & Understanding” Step

Without importing any library and without writing any line of code, we will just ask ChatGPT to give us the information

And his answer after analyzing the dataset we give him is:

The result are the same as Pranjal Saxena result.

Isn’t it amazing ?

We got the result with 0 code, no environment needed, not a single library…

Next step, is Data Cleaning. We will ask him to remove duplicates if found.

The same result was found again.

What is interesting is that you can see the code used !

β€œTrain & Test Split & Model Building” Step

I have asked him without going into details to check the accuracy of β€œdecision tree model” :

Here again, we got the same result (99,92% ) as Pranjal Saxena result.

and about the β€œF1-score” check:

We can go further and check the other models but it’s not the purpose.

ChatGPT doesn’t need you to tell him how to Analyze

Until now, the analysis done was guided by us.

What if we tell him to do his own analysis ?! (I upload a test file with 100 000 credit cards)

And the surprise that he proposes a detailed approach to analyze the Data which I found very complete.

Here is his answer:

Some results from the β€œData Inspection” Step:

Some results from the β€œExploratory Data Analysis” Step:

Conclusion

This demonstration underlines the transformative potential of AI in Data Analysis. ChatGPT-4’s ability to replicate expert-level analysis without requiring coding skills or specific environment setups signifies a shift in how data-driven decisions can be approached. The next article will be about automating the AI analysis process with a data pipeline using AWS services.

If you have any questions, feedback, or would like to share your experiences, please feel free to reach out in the comments section.

Clap my article 50 times U+1F44F, that will really help me out and boost this article to others U+270DU+1F3FBU+2764️. Follow me on Medium to get my latest article.

Thank you U+1FAF6!

Join thousands of data leaders on the AI newsletter. Join over 80,000 subscribers and keep up to date with the latest developments in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming aΒ sponsor.

Published via Towards AI

Feedback ↓