(self, max_depth, num_round)
| 16 | |
| 17 | class TestTreesToDataFrame: |
| 18 | def build_model(self, max_depth, num_round): |
| 19 | dtrain, _ = tm.load_agaricus(__file__) |
| 20 | param = {"max_depth": max_depth, "objective": "binary:logistic", "verbosity": 1} |
| 21 | num_round = num_round |
| 22 | bst = xgb.train(param, dtrain, num_round) |
| 23 | return bst |
| 24 | |
| 25 | def parse_dumped_model(self, booster, item_to_get, splitter): |
| 26 | item_to_get += "=" |
no test coverage detected