Skip to content

Commit

Permalink
Remove old custom objective demo. (#7369)
Browse files Browse the repository at this point in the history
We have 2 new custom objective demos covering both regression and classification with
accompanying tutorials in documents.
  • Loading branch information
trivialfis committed Oct 27, 2021
1 parent b9414b6 commit 2eee874
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 68 deletions.
1 change: 0 additions & 1 deletion demo/guide-python/README.md
@@ -1,7 +1,6 @@
XGBoost Python Feature Walkthrough
==================================
* [Basic walkthrough of wrappers](basic_walkthrough.py)
* [Customize loss function, and evaluation metric](custom_objective.py)
* [Re-implement RMSLE as customized metric and objective](custom_rmsle.py)
* [Re-Implement `multi:softmax` objective as customized objective](custom_softmax.py)
* [Boosting from existing prediction](boost_from_prediction.py)
Expand Down
61 changes: 0 additions & 61 deletions demo/guide-python/custom_objective.py

This file was deleted.

6 changes: 0 additions & 6 deletions tests/python/test_demos.py
Expand Up @@ -87,12 +87,6 @@ def test_generalized_linear_model_demo():
subprocess.check_call(cmd)


def test_custom_objective_demo():
script = os.path.join(PYTHON_DEMO_DIR, 'custom_objective.py')
cmd = ['python', script]
subprocess.check_call(cmd)


def test_cross_validation_demo():
script = os.path.join(PYTHON_DEMO_DIR, 'cross_validation.py')
cmd = ['python', script]
Expand Down

0 comments on commit 2eee874

Please sign in to comment.