Initial commit: BAF Lakehouse fraud detection pipeline
End-to-end LightGBM fraud detection pipeline built as an R package, orchestrated by targets with data stored in MinIO via Apache Arrow. Includes 6-layer Lakehouse architecture, class imbalance tournament, formally tuned hyperparameters (PR-AUC 0.198), and Quarto RevealJS slides. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
9
R/baflakehouse-package.R
Normal file
9
R/baflakehouse-package.R
Normal file
@@ -0,0 +1,9 @@
|
||||
#' baflakehouse: Lakehouse Workflow for the Bank Account Fraud Dataset
|
||||
#'
|
||||
#' Tools to ingest the Bank Account Fraud (BAF) Base dataset into a MinIO/S3-backed
|
||||
#' lakehouse, clean encoded missing values, and produce reproducible reporting
|
||||
#' artifacts orchestrated with targets.
|
||||
#'
|
||||
#' @docType _PACKAGE
|
||||
#' @name baflakehouse-package
|
||||
NULL
|
||||
1210
R/functions.R
Normal file
1210
R/functions.R
Normal file
File diff suppressed because it is too large
Load Diff
10
R/zzz.R
Normal file
10
R/zzz.R
Normal file
@@ -0,0 +1,10 @@
|
||||
# fix R CMD check notes for dplyr non-standard evaluation
|
||||
utils::globalVariables(c(
|
||||
"fraud_bool", "outcome", "month",
|
||||
"Fraud", "Legit", "Total", "Pct_Fraud",
|
||||
"Outcome", "Month",
|
||||
"prev_address_months_count", "current_address_months_count",
|
||||
"bank_months_count", "session_length_in_minutes",
|
||||
"device_distinct_emails_8w", "device_distinct_emails",
|
||||
"intended_balcon_amount"
|
||||
))
|
||||
Reference in New Issue
Block a user