network.logisticRegressionLayer.labels = labels;
LogisticRegressionOptimizer opt = new LogisticRegressionOptimizer( network.logisticRegressionLayer, learningRate );
CustomConjugateGradient g = new CustomConjugateGradient(opt);
g.optimize();
//System.out.println("using LogisticRegressionOptimizer and CustomConjugateGradient !!!");
network.backProp(learningRate, epochs);