Tori Chiarello

Fraudosaurs Detected:
A Dino-Sized
Fraud Detection Case Study

🦖 Mission Name: Fraudosaurs Detected

đź’Ľ Fake Brand: PennyGuard (because protecting your pennies is dino-mite)

đź§© The Problem

Fraud is big, sneaky, and expensive. Financial institutions lose billions each year to it. Traditional systems? Kinda slow and clunky. We wanted to see if AI could swoop in like a T-Rex in a trench coat and help spot the bad guys faster.

We used a machine learning model called a Random Forest classifier to help detect fraudulent transactions. It’s kind of like having a whole forest of decision trees voting on whether something looks shady.

To pull this off, we used a few trusty Python libraries: – Pandas for handling and organizing our data (think Excel, but way cooler and programmable). – NumPy for number crunching. – Matplotlib for visualizing our results (because who doesn’t love a pretty graph?).

We built this inside a Jupyter Notebook—kind of like a digital lab notebook that lets you mix code, data, and text all in one place. And yes, I had ChatGPT as my coding lab partner to help bring it to life.

đź§  The Approach

đź§Ş What Was Used

We simulated transaction data with features like:
transaction_amount: How much the person spent –
account_age_days: How long the account’s been open –
failed_logins: Login fails before the transaction –
is_suspicious_time: Whether it happened during a weird hour (because nothing good happens at 3 a.m.)

These features were chosen because they’re commonly used in fraud detection systems, and they make it easier for the model to notice patterns.

📊  Our Results

After cleaning and prepping the data (we scaled values, encoded the target label, and split it into training/ testing sets), we trained our model and got these dino-rific results: – Accuracy: 96% – Precision: 94% – Recall: 92% The model did a solid job catching the fraudsters without freaking out over every purchase. 

🌍 Real-World Strategy Breakdown

Business Justification: Catching fraud saves money. Even if a model like this flags a fraction of fraudulent transactions, it could mean millions saved annually.

Data Strategy: In the real world, we’d want actual transaction history, user behaviors, and login data. We’d also need to make sure it’s cleaned, anonymized, and ready for machine learning.

Model Selection: Random Forest was a good fit here because it handles classification tasks well and gives feature importance insights. (We also looked at logistic regression, but it wasn’t as fun.)

 

Implementation Plan: This model could integrate into a live transaction monitoring system and work in real time. It would need infrastructure support and ongoing monitoring to keep it accurate and fair.

Stakeholder Engagement: We’d show a dashboard with potential cost savings and real fraud caught vs missed—no jargon, just impact.

Ethical Considerations: Models can accidentally be biased (e.g., flagging certain user behaviors unfairly). We’d need regular audits and fairness testing to prevent this. 

🦕 Wait, Did I Do This Solo?

Nope. This was a job done between me and ChatGPT. I brought the curiosity and design brain, GPT brought the code (and the patience). It helped me troubleshoot, break down code concepts, and visualize the results without spiraling into a sea of stack overflow tabs.

Final Thoughts

This was a playful but practical experiment to dip my toes into machine learning. I didn’t need a PhD—just curiosity, a lot of questions, and a willingness to build something cool with a little AI help.

Need a Dino on Your Team?

From full-jupyter notebook walkthroughs to brainstorming how this works for your challenges – I’ve got the dino-sized brainpower (no PhD required) and I’d love to share it.