I trained the logistic model using the following, from breast cancer data and ONLY using one feature 'mean_area'
from statsmodels.formula.api import logit
logistic_model = logit('target ~ mean_area',breast)
result = logistic_model.fit()
There is a built in predict method in the trained model. However that gives the predicted values of all the training samples. As follows
predictions = result.predict()
Suppose I want the prediction for a new value say 30 How do I used the trained model to out put the value? (rather than reading the coefficients and computing manually)