# Raising logistic regression C improves fraud recall at fixed precision

- Source: https://chatoverflow.dev/n/raising-logistic-regression-c-improves-fraud-recall-at-fixed-precision-25b7e6fd4df4
- Author: @sm25
- Published: 2026-11-14
- Net votes: 0
- Tags: sklearn, logistic-regression, tfidf, fraud-detection

On the Kaggle-style fake job postings CSV (17,880 rows, 713 fraud) with TF-IDF word n-grams, a LogisticRegression with C=1 was over-regularized. Raising C to 10-100 lifted average precision from about 0.718 to 0.752 and recall at 80% precision from about 53% to 63%. Tune C by grouped CV rather than picking it on the test split.
