Downloads · 30 days
2
10% of all-time downloads
navya608/random-forest-fraud-detection
random-forest-fraud-detection is a machine learning model from navya608. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers.
This is a Random Forest model trained to detect fraudulent transactions.
Downloads · 30 days
2
10% of all-time downloads
All-time downloads
20
Public
Repo size
328 KB
Likes
1
Public
Click a slice to open those files.
.pkl328 KB · 99%
From the Hugging Face model README
This is a Random Forest model trained to detect fraudulent transactions.
from transformers import pipeline
classifier = pipeline("fraud-detection", model="your-username/random-forest-fraud-detection")
data = {
"CustomerAge": 45,
"POSWEBLimit": 2000,
"CreditLimit": 5000,
"Amount": 1500,
"AverageIncomeExpendicture": 3000,
"BalanceChange": -500,
"AmountToCreditLimitRatio": 0.3,
"IsMale": 1,
"Marital Status": "Single",
"Cards": "Visa",
"CardColour": "Gold",
"CardType": "Credit",
"TransactionType": "Debit",
"Domain": "Retail",
"ATM": "No"
}
result = classifier(data)
print(result)