def predict(self, new_df):
""" Use estimated coefficients to make predictions on new data
Args:
new_df (DataFrame). DataFrame to make predictions on.
Returns:
array-like. Predictions on the response scale, i.e. probabilities
"""
return expit(super(LogisticRegression, self).predict(new_df))
评论列表
文章目录