take weighted predicted data as input for logistic regresson model