Skip to content

Commit

Permalink
Merge pull request #105 from tylerjthomas9/master
Browse files Browse the repository at this point in the history
Update to XGBoost v1.5.2
  • Loading branch information
aviks authored Apr 4, 2022
2 parents 1f83eb7 + be50145 commit f9793f3
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 34 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
version:
- '1.3'
- '1.6'
- '1'
- 'nightly'
os:
Expand All @@ -26,9 +26,9 @@ jobs:
# Remove some configurations from the build matrix to reduce CI time.
# See https://github.com/marketplace/actions/setup-julia-environment
# Don't test on all versions
- {os: 'macOS-latest', version: '1.3'}
- {os: 'macOS-latest', version: '1.6'}
- {os: 'macOS-latest', version: 'nightly'}
- {os: 'windows-latest', version: '1.3'}
- {os: 'windows-latest', version: '1.6'}
- {os: 'windows-latest', version: 'nightly'}
steps:
- uses: actions/checkout@v1
Expand Down
6 changes: 3 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "XGBoost"
uuid = "009559a3-9522-5dbb-924b-0b6ed2b22bb9"
version = "1.1.1"
version = "1.5.2"

[deps]
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
Expand All @@ -12,8 +12,8 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
XGBoost_jll = "a5c6f535-4255-5ca2-a466-0e519f119c46"

[compat]
XGBoost_jll = "1.1.1"
julia = "1.3"
XGBoost_jll = "1.5.2"
julia = "1.6"

[extras]
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
XGBoost.jl
==========

[![Build Status](https://travis-ci.org/dmlc/XGBoost.jl.svg?branch=master)](https://travis-ci.org/dmlc/XGBoost.jl)
[![Build Status](https://github.com/dmlc/XGBoost.jl/workflows/CI/badge.svg)](https://github.com/dmlc/XGBoost.jl/actions)
[![Latest Version](https://juliahub.com/docs/XGBoost/version.svg)](https://juliahub.com/ui/Packages/XGBoost/rSeEh/)
[![Pkg Eval](https://juliahub.com/docs/XGBoost/pkgeval.svg)](https://juliahub.com/ui/Packages/XGBoost/rSeEh/)
[![Dependents](https://juliahub.com/docs/XGBoost/deps.svg)](https://juliahub.com/ui/Packages/XGBoost/rSeEh/?t=2)
Expand Down
28 changes: 14 additions & 14 deletions test/dump.nice.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
[
{ "nodeid": 0, "depth": 0, "split": "odor=none", "yes": 2, "no": 1, "gain": 4000.53101, "cover": 1628.25, "children": [
{ "nodeid": 1, "depth": 1, "split": "stalk-root=club", "yes": 4, "no": 3, "gain": 1158.21204, "cover": 924.5, "children": [
{ "nodeid": 3, "leaf": 1.71217716, "cover": 812 },
{ "nodeid": 4, "leaf": -1.70044053, "cover": 112.5 }
]},
{ "nodeid": 2, "depth": 1, "split": "spore-print-color=green", "yes": 6, "no": 5, "gain": 198.173828, "cover": 703.75, "children": [
{ "nodeid": 5, "leaf": -1.94070864, "cover": 690.5 },
{ "nodeid": 6, "leaf": 1.85964918, "cover": 13.25 }
{ "nodeid": 0, "depth": 0, "split": "odor=none", "yes": 2, "no": 1 , "gain": 4000.53101, "cover": 1628.25, "children": [
{ "nodeid": 1, "depth": 1, "split": "stalk-root=club", "yes": 4, "no": 3 , "gain": 1158.21204, "cover": 924.5, "children": [
{ "nodeid": 3, "leaf": 1.71217716 , "cover": 812 },
{ "nodeid": 4, "leaf": -1.70044053 , "cover": 112.5 }
]},
{ "nodeid": 2, "depth": 1, "split": "spore-print-color=green", "yes": 6, "no": 5 , "gain": 198.173828, "cover": 703.75, "children": [
{ "nodeid": 5, "leaf": -1.94070864 , "cover": 690.5 },
{ "nodeid": 6, "leaf": 1.85964918 , "cover": 13.25 }
]}
]},
{ "nodeid": 0, "depth": 0, "split": "stalk-root=rooted", "yes": 2, "no": 1, "gain": 832.545044, "cover": 788.852051, "children": [
{ "nodeid": 1, "depth": 1, "split": "odor=none", "yes": 4, "no": 3, "gain": 569.725098, "cover": 768.389709, "children": [
{ "nodeid": 3, "leaf": 0.78471756, "cover": 458.936859 },
{ "nodeid": 4, "leaf": -0.968530357, "cover": 309.45282 }
]},
{ "nodeid": 2, "leaf": -6.23624468, "cover": 20.462389 }
{ "nodeid": 0, "depth": 0, "split": "stalk-root=rooted", "yes": 2, "no": 1 , "gain": 832.545044, "cover": 788.852051, "children": [
{ "nodeid": 1, "depth": 1, "split": "odor=none", "yes": 4, "no": 3 , "gain": 569.725098, "cover": 768.389709, "children": [
{ "nodeid": 3, "leaf": 0.78471756 , "cover": 458.936859 },
{ "nodeid": 4, "leaf": -0.968530357 , "cover": 309.45282 }
]},
{ "nodeid": 2, "leaf": -6.23624468 , "cover": 20.462389 }
]}
]
6 changes: 3 additions & 3 deletions test/dump.nice.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
booster[1]:
0:[odor=none] yes=2,no=1,gain=4000.53101,cover=1628.25
1:[stalk-root=club] yes=4,no=3,gain=1158.21204,cover=924.5
1:[stalk-root=club] yes=4,no=3,gain=1158.21204,cover=924.5
3:leaf=1.71217716,cover=812
4:leaf=-1.70044053,cover=112.5
2:[spore-print-color=green] yes=6,no=5,gain=198.173828,cover=703.75
2:[spore-print-color=green] yes=6,no=5,gain=198.173828,cover=703.75
5:leaf=-1.94070864,cover=690.5
6:leaf=1.85964918,cover=13.25
booster[2]:
0:[stalk-root=rooted] yes=2,no=1,gain=832.545044,cover=788.852051
1:[odor=none] yes=4,no=3,gain=569.725098,cover=768.389709
1:[odor=none] yes=4,no=3,gain=569.725098,cover=768.389709
3:leaf=0.78471756,cover=458.936859
4:leaf=-0.968530357,cover=309.45282
2:leaf=-6.23624468,cover=20.462389
20 changes: 10 additions & 10 deletions test/dump.raw.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
[
{ "nodeid": 0, "depth": 0, "split": 28, "split_condition": -9.53674316e-07, "yes": 1, "no": 2, "missing": 1, "children": [
{ "nodeid": 1, "depth": 1, "split": 55, "split_condition": -9.53674316e-07, "yes": 3, "no": 4, "missing": 3, "children": [
{ "nodeid": 3, "leaf": 1.71217716 },
{ "nodeid": 0, "depth": 0, "split": "f28", "split_condition": -9.53674316e-07, "yes": 1, "no": 2, "missing": 1 , "children": [
{ "nodeid": 1, "depth": 1, "split": "f55", "split_condition": -9.53674316e-07, "yes": 3, "no": 4, "missing": 3 , "children": [
{ "nodeid": 3, "leaf": 1.71217716 },
{ "nodeid": 4, "leaf": -1.70044053 }
]},
{ "nodeid": 2, "depth": 1, "split": 108, "split_condition": -9.53674316e-07, "yes": 5, "no": 6, "missing": 5, "children": [
{ "nodeid": 5, "leaf": -1.94070864 },
]},
{ "nodeid": 2, "depth": 1, "split": "f108", "split_condition": -9.53674316e-07, "yes": 5, "no": 6, "missing": 5 , "children": [
{ "nodeid": 5, "leaf": -1.94070864 },
{ "nodeid": 6, "leaf": 1.85964918 }
]}
]},
{ "nodeid": 0, "depth": 0, "split": 59, "split_condition": -9.53674316e-07, "yes": 1, "no": 2, "missing": 1, "children": [
{ "nodeid": 1, "depth": 1, "split": 28, "split_condition": -9.53674316e-07, "yes": 3, "no": 4, "missing": 3, "children": [
{ "nodeid": 3, "leaf": 0.78471756 },
{ "nodeid": 0, "depth": 0, "split": "f59", "split_condition": -9.53674316e-07, "yes": 1, "no": 2, "missing": 1 , "children": [
{ "nodeid": 1, "depth": 1, "split": "f28", "split_condition": -9.53674316e-07, "yes": 3, "no": 4, "missing": 3 , "children": [
{ "nodeid": 3, "leaf": 0.78471756 },
{ "nodeid": 4, "leaf": -0.968530357 }
]},
]},
{ "nodeid": 2, "leaf": -6.23624468 }
]}
]
Binary file modified test/xgb.model
Binary file not shown.

0 comments on commit f9793f3

Please sign in to comment.