def zip_ll_row(params, data_row):
l = params[<NUM_LIT:0>]<EOL>pi = params[<NUM_LIT:1>]<EOL>d0 = (data_row==<NUM_LIT:0>)<EOL>likelihood = d0*pi + (<NUM_LIT:1>-pi)*poisson.pmf(data_row, l)<EOL>return -np.log(likelihood+eps).sum()<EOL>
Returns the negative log-likelihood of a row given ZIP data.

Args:
    params (list): [lambda zero-inf]
    data_row (array): 1d array

Returns:
    negative log-likelihood