import numpy asnpimport pandas aspdfrom transfers import make_transfers
df = make_transfers(n=10_000, seed=7)
y = df["is_scam"]
# Step 1: how rare are scams, and what does "never a scam" score?print(df.shape)
scam_rate = None# TODO: fraction of rows that are scams
null_accuracy = None# TODO: accuracy of always predicting 0
Run (⌘Enter) prints output here. Check (⌘⇧Enter) runs the hidden tests. Python loads on the first run.