parameters: (self)
return_statement: return xgb_params
docstring: Get xgboost type parameters.
docstring_summary: Get xgboost type parameters.
docstring_tokens: Get xgboost type parameters .
function: def get_xgb_params(self):
          """Get xgboost type parameters."""
          xgb_params = self.get_params()
  
          xgb_params['silent'] = 1 if self.silent else 0
  
          if self.nthread <= 0:
              xgb_params.pop('nthread', None)
          return xgb_params
function_tokens: def get_xgb_params ( self ) : xgb_params = self . get_params ( ) xgb_params [ 'silent' ] = 1 if self . silent else 0 if self . nthread <= 0 : xgb_params . pop ( 'nthread' , None ) return xgb_params