Wolfram Language
Paclet Repository
Community-contributed installable additions to the Wolfram Language
Primary Navigation
Categories
Cloud & Deployment
Core Language & Structure
Data Manipulation & Analysis
Engineering Data & Computation
External Interfaces & Connections
Financial Data & Computation
Geographic Data & Computation
Geometry
Graphs & Networks
Higher Mathematical Computation
Images
Knowledge Representation & Natural Language
Machine Learning
Notebook Documents & Presentation
Scientific and Medical Data & Computation
Social, Cultural & Linguistic Data
Strings & Text
Symbolic & Numeric Computation
System Operation & Setup
Time-Related Computation
User Interface Construction
Visualization & Graphics
Random Paclet
Alphabetical List
Using Paclets
Create a Paclet
Get Started
Download Definition Notebook
Learn More about
Wolfram Language
XGBPaclet
Guides
XGBPaclet Guide
Tech Notes
XGBPaclet Functionality
Symbols
XgbModelPredict
XgbMeasurement
XgbMeasurement
XgbTrain
MikeYeh`XGBPaclet`
X
g
b
M
e
a
s
u
r
e
m
e
n
t
X
g
b
M
e
a
s
u
r
e
m
e
n
t
[
p
y
t
h
o
n
_
s
e
s
s
i
o
n
,
t
e
s
t
d
a
t
a
,
m
o
d
e
l
_
n
a
m
e
_
o
r
_
f
i
l
e
_
n
a
m
e
]
X
g
b
M
o
d
e
l
P
r
e
d
i
c
t
[
]
u
s
e
t
h
e
g
i
v
e
n
x
g
b
o
o
s
t
s
e
s
s
i
o
n
,
a
n
d
t
h
e
g
i
v
e
n
m
o
d
e
l
n
a
m
e
o
r
t
h
e
f
i
l
e
_
n
a
m
e
f
o
r
l
o
a
d
i
n
g
m
o
d
e
l
t
o
p
r
e
d
i
c
t
t
h
e
t
e
s
t
d
a
t
a
.
D
e
t
a
i
l
s
a
n
d
O
p
t
i
o
n
s
Examples
(
4
)
Basic Examples
(
4
)
Create a XGBoost Python session
(
1
)
A XGBoost python session is
required
before using XgbModelPredict[].
The following code shows how to create a XGBoost python session:
I
n
[
1
]
:
=
[
◼
]
R
e
g
i
s
t
e
r
E
n
v
i
r
o
n
m
e
n
t
[
"
x
g
b
"
{
"
x
g
b
o
o
s
t
"
}
]
O
u
t
[
1
]
=
x
g
b
I
n
[
2
]
:
=
s
e
s
s
i
o
n
=
[
◼
]
S
t
a
r
t
E
n
v
i
r
o
n
m
e
n
t
[
"
x
g
b
"
]
;
E
x
t
e
r
n
a
l
E
v
a
l
u
a
t
e
[
s
e
s
s
i
o
n
,
"
i
m
p
o
r
t
x
g
b
o
o
s
t
a
s
x
g
b
"
]
;
The last line of code is to import XGBoost package in our python session.
P
r
e
p
a
r
e
d
a
t
a
s
e
t
f
o
r
t
h
e
f
o
l
l
o
w
i
n
g
e
x
a
m
p
l
e
s
(
1
)
T
h
e
e
x
a
m
p
l
e
o
f
m
i
n
i
m
u
m
u
s
a
g
e
(
1
)
L
o
a
d
m
o
d
e
l
b
y
f
i
l
e
n
a
m
e
a
n
d
u
s
e
t
h
e
l
o
a
d
e
d
m
o
d
e
l
f
o
r
p
r
e
d
i
c
t
i
o
n
(
1
)
S
e
e
A
l
s
o
X
g
b
T
r
a
i
n
T
e
c
h
N
o
t
e
s
▪
X
G
B
P
a
c
l
e
t
F
u
n
c
t
i
o
n
a
l
i
t
y
R
e
l
a
t
e
d
G
u
i
d
e
s
▪
X
G
B
P
a
c
l
e
t
G
u
i
d
e
R
e
l
a
t
e
d
L
i
n
k
s
▪
T
r
a
i
n
i
n
g
s
e
c
t
i
o
n
▪
L
e
a
r
n
i
n
g
A
P
I
▪
X
G
B
o
o
s
t
P
a
r
a
m
e
t
e
r
s
▪
M
o
d
e
l
I
O
"
"