Infer network based on binary arrays using regularized logistic