MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / get_params

Method get_params

python-package/lightgbmmt/sklearn.py:335–351  ·  view source on GitHub ↗

Get parameters for this estimator. Parameters ---------- deep : bool, optional (default=True) If True, will return the parameters for this estimator and contained subobjects that are estimators. Returns ------- params : dict

(self, deep=True)

Source from the content-addressed store, hash-verified

333 'X_types': ['2darray', 'sparse', '1dlabels']}
334
335 def get_params(self, deep=True):
336 """Get parameters for this estimator.
337
338 Parameters
339 ----------
340 deep : bool, optional (default=True)
341 If True, will return the parameters for this estimator and
342 contained subobjects that are estimators.
343
344 Returns
345 -------
346 params : dict
347 Parameter names mapped to their values.
348 """
349 params = super(LGBMModel, self).get_params(deep=deep)
350 params.update(self._other_params)
351 return params
352
353 def set_params(self, **params):
354 """Set the parameters of this estimator.

Callers 2

fitMethod · 0.95
test_joblibMethod · 0.80

Calls 1

updateMethod · 0.80

Tested by 1

test_joblibMethod · 0.64