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

Method get_init_score

python-package/lightgbmmt/basic.py:1506–1516  ·  view source on GitHub ↗

Get the initial score of the Dataset. Returns ------- init_score : numpy array or None Init score of Booster.

(self)

Source from the content-addressed store, hash-verified

1504 return self.monotone_constraints
1505
1506 def get_init_score(self):
1507 """Get the initial score of the Dataset.
1508
1509 Returns
1510 -------
1511 init_score : numpy array or None
1512 Init score of Booster.
1513 """
1514 if self.init_score is None:
1515 self.init_score = self.get_field('init_score')
1516 return self.init_score
1517
1518 def get_data(self):
1519 """Get the raw data of the Dataset.

Callers 1

check_assertsMethod · 0.80

Calls 1

get_fieldMethod · 0.95

Tested by 1

check_assertsMethod · 0.64