Write
Its score is
The Karush-Kuhn-Tucker conditions for L1-penalized logistic regression are therefore