Fit binary target data on one line