binary_rrr code for paper "A reduced-rank approach to predicting multiple binary responses through machine learning"