Get the initial score of the Dataset. Returns ------- init_score : numpy array or None Init score of Booster.
(self)
| 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. |