class_docstr: A class to store regression model summary statistics.
  
  The class can be printed to get a well formatted model summary.
  
  Attributes
  ----------
  x : `numpy.array`
      The design matrix.
  beta : `numpy.array`
      The estimated coefficients.
  y : `numpy.array`
      The response.
  pred_cols : `list` [ `str` ]
      List of predictor names.
  pred_category : `dict`
      Predictor category, returned by
      `~greykite.algo.common.col_name_utils.create_pred_category`.
  fit_algorithm : `str`
      The name of algorithm to fit the regression.
  ml_model : `class`
      The trained machine learning model class.
  max_colwidth : `int`
      The maximum length for predictors to be shown in their original name.
      If the maximum length of predictors exceeds this parameter, all
      predictors name will be suppressed and only indices are shown.
  info_dict : `dict`
      The model summary dictionary, output of
      `~greykite.algo.common.model_summary.ModelSummary._get_summary`
  html_str : `str`
      An html formatting of the string representation of the model summary.
class_docstr_tok: ["A","class","to","store","regression","model","summary","statistics",".","The","class","can","be","printed","to","get","a","well","formatted","model","summary",".","Attributes","--","--","--","--","--","x",":","`","numpy.array","`","The","design","matrix",".","beta",":","`","numpy.array","`","The","estimated","coefficients",".","y",":","`","numpy.array","`","The","response",".","pred_cols",":","`","list","`","[","`","str","`","]","List","of","predictor","names",".","pred_category",":","`","dict","`","Predictor","category",",","returned","by","`","~greykite.algo.common.col_name_utils.create_pred_category","`",".","fit_algorithm",":","`","str","`","The","name","of","algorithm","to","fit","the","regression",".","ml_model",":","`","class","`","The","trained","machine","learning","model","class",".","max_colwidth",":","`","int","`","The","maximum","length","for","predictors","to","be","shown","in","their","original","name",".","If","the","maximum","length","of","predictors","exceeds","this","parameter",",","all","predictors","name","will","be","suppressed","and","only","indices","are","shown",".","info_dict",":","`","dict","`","The","model","summary","dictionary",",","output","of","`","~greykite.algo.common.model_summary.ModelSummary._get_summary","`","html_str",":","`","str","`","An","html","formatting","of","the","string","representation","of","the","model","summary","."]
docstr: print method
          
docstr_tok: ["print","method"]
code: def __repr__(self):
      """print method"""
      return print_summary(self.info_dict, self.max_colwidth)
  
file_path: greykite/greykite/algo/common/model_summary.py
imports: from greykite.algo.common.col_name_utils import filter_coef_summary
  from greykite.algo.common.model_summary_utils import format_summary_df
  from greykite.algo.common.model_summary_utils import get_info_dict_lm
  from greykite.algo.common.model_summary_utils import get_info_dict_tree
  from greykite.algo.common.model_summary_utils import print_summary
  from greykite.algo.common.model_summary_utils import process_intercept
label_desc: Use image node_id 3 for calling the ModelSummary obj's underlying member method code with example usage: obj.__repr__() and returns: print_summary