docstr: fit is equivalent to fit_map.
  
  See fit_map for parameter information.
  
  Use `fit_vb` to fit the model using variational Bayes.
docstr_tok: ["fit","is","equivalent","to","fit_map",".","See","fit_map","for","parameter","information",".","Use","`","fit_vb","`","to","fit","the","model","using","variational","Bayes","."]
code: def fit(self, method="BFGS", minim_opts=None):
      """
      fit is equivalent to fit_map.
  
      See fit_map for parameter information.
  
      Use `fit_vb` to fit the model using variational Bayes.
      """
      self.fit_map(method, minim_opts)
  
imports: import numpy
  from scipy.optimize import minimize
  from scipy import sparse
  import statsmodels.base.model
  from statsmodels.iolib import summary2
  from statsmodels.genmod import families
  import pandas
  import warnings
  import patsy
label_desc: Use image node_id 7 for calling the _BayesMixedGLM obj's underlying member method code with example usage: obj.fit(method, minim_opts) without return types