python api for LogisticRegressionWithLBFGS