I think you should add params in this constructor:
LogisticRegression( const LogisticRegressionParams& params=LogisticRegressionParams() );