TikTok Interview Question

implement forward and backward training loop logistic regression from scratch.