finished LogisticRegressionLayer