#Does anyone have a code/project of fraud analysis using python?
44 messages · Page 1 of 1 (latest)
What do you mean by you "want it for your college project"?
tomorrow is my due date of project submission
i will do my project myself just want a python code
how its gonna be performed
used chat gpt and all but didn't understand anything
I'm not sure how we can help you when your project is due tomorrow and you have nothing?
We can help you, but we won't just give you code or anything without you showing that you'e put work into it
Otherwise you won't be learning
@plucky obsidian
For safety reasons we do not allow file and video attachments.
You can share your code using triple backticks like this:
```
YOUR CODE
```
For longer scripts use Hastebin or GitHub Gists and share the link here
- Fraud_Project.ipynb
https://github.com/gouldju1/Fraud-Detection-in-Python thats the code
???
A FN means it is fraudulent, but your model classified it as legitimate
The Bayes model has the highest FN rate; however, this error is less serious (in a practical sense, these transactions would be flagged and fraud, and later resolved by the user, which is better than totally missing a fraudulent transaction), so we give more weight in our decision to the low FP.
A fraudulent transaction should be labeled positive
A false negative error, or false negative, is a test result which wrongly indicates that a condition does not hold. For example, when a pregnancy test indicates a woman is not pregnant, but she is, or when a person guilty of a crime is acquitted, these are false negatives (from wikipedia)
I.e. your fraud detection model indicates a transaction is not fraudulent, but it is. That is a FN which your Naive Bayes has a lot of
Not a good look if I do say so myself
This is easily remedied by adjusting the priors or doing some sampling method as your dataset is most likely highly imbalanced (how effective these will be we won't know unless they've been tried)
594,643 rows of data, including 587,443 normal payments and 7,200 fraudulent
yup highly unbalanced
Actually I think a lot of your methodology and conclusions are sus
But it's getting late for me, so idk if anyone else will be able to help you especially as you haven't actually asked for any specific help or explained your problem
Wait is that even your repo???
Last commit 6 years ago
Is blud cheating and trying to pass off someone else's analysis as their own
yaa
You are cheating?