Skip to content

Commit

Permalink
toc bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rkansal47 committed Jan 9, 2024
1 parent 32db796 commit bcb510c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion machine-learning-das/_toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ parts:
maxdepth: 2
chapters:
- file: notebooks/1-datasets-uproot
- file: notebooks/2-boosted-decision-trees
- file: notebooks/2-boosted-decision-tree
- file: notebooks/3-dense
sections:
- file: notebooks/3.1-dense-keras
Expand Down
8 changes: 4 additions & 4 deletions machine-learning-das/notebooks/2-boosted-decision-tree.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,10 @@
"# see https://xgboost.readthedocs.io/en/stable/python/python_api.html#xgboost.XGBClassifier\n",
"# for detailed explanations of parameters\n",
"model = xgb.XGBClassifier(\n",
" n_estimators = 10, # number of boosting rounds (i.e. number of decision trees)\n",
" max_depth = 1, # max depth of each decision tree\n",
" learning_rate = 0.1,\n",
" early_stopping_rounds = 5, # how many rounds to wait to see if the loss is going down\n",
" n_estimators=10, # number of boosting rounds (i.e. number of decision trees)\n",
" max_depth=1, # max depth of each decision tree\n",
" learning_rate=0.1,\n",
" early_stopping_rounds=5, # how many rounds to wait to see if the loss is going down\n",
")"
]
},
Expand Down

0 comments on commit bcb510c

Please sign in to comment.