school
stringclasses
2 values
sex
stringclasses
2 values
age
int64
15
22
address
stringclasses
2 values
famsize
stringclasses
2 values
Pstatus
stringclasses
2 values
Medu
int64
0
4
Fedu
int64
0
4
Mjob
stringclasses
5 values
Fjob
stringclasses
5 values
reason
stringclasses
4 values
guardian
stringclasses
3 values
traveltime
int64
1
4
studytime
int64
1
4
failures
int64
0
3
schoolsup
stringclasses
2 values
famsup
stringclasses
2 values
paid
stringclasses
2 values
activities
stringclasses
2 values
nursery
stringclasses
2 values
higher
stringclasses
2 values
internet
stringclasses
2 values
romantic
stringclasses
2 values
famrel
int64
1
5
freetime
int64
1
5
goout
int64
1
5
Dalc
int64
1
5
Walc
int64
1
5
health
int64
1
5
absences
int64
0
75
G1
int64
0
19
G2
int64
0
19
G3
int64
0
20
MS
F
17
R
GT3
T
1
1
at_home
other
reputation
mother
2
1
0
no
yes
no
yes
no
yes
yes
yes
4
4
5
1
2
5
0
11
11
11
MS
F
20
U
GT3
T
3
3
at_home
services
other
mother
2
2
1
no
no
no
yes
yes
yes
yes
yes
3
3
4
2
4
3
8
11
9
10
MS
F
17
U
LE3
T
1
1
other
services
course
father
1
3
0
no
yes
no
no
yes
yes
no
yes
4
3
3
1
1
3
0
11
11
10
MS
M
17
R
GT3
T
2
2
other
other
course
mother
3
1
1
no
yes
no
no
no
yes
yes
no
4
4
5
1
2
5
0
10
9
9
MS
F
16
R
LE3
T
1
1
at_home
other
course
father
3
2
0
no
yes
no
no
yes
yes
no
no
5
3
2
1
1
1
0
16
17
18
MS
F
17
R
GT3
T
2
2
other
other
reputation
mother
2
2
0
no
yes
no
yes
yes
yes
no
no
5
3
2
1
1
1
0
15
17
17
MS
F
17
U
GT3
A
1
0
other
other
other
mother
2
2
0
no
no
no
no
yes
yes
yes
yes
4
4
5
1
1
4
1
11
9
10
MS
F
18
R
GT3
T
1
1
at_home
other
other
mother
1
2
1
no
yes
no
no
yes
yes
yes
yes
4
3
2
1
1
5
9
7
7
7
MS
F
16
U
GT3
T
3
1
other
other
course
mother
1
1
0
no
no
no
yes
yes
yes
yes
no
3
1
3
1
3
1
0
8
6
8
MS
F
16
U
GT3
T
3
2
services
at_home
course
mother
1
1
0
no
no
no
no
yes
yes
yes
no
3
1
3
1
4
3
2
7
6
7
MS
F
18
U
LE3
T
1
1
other
at_home
reputation
mother
2
2
0
yes
no
no
no
yes
yes
no
no
2
3
5
1
4
3
8
9
8
10
MS
F
16
R
GT3
T
4
4
health
teacher
reputation
father
1
2
0
no
no
no
yes
no
yes
yes
yes
4
3
3
2
3
2
0
14
16
16
MS
F
16
R
LE3
T
1
2
other
other
reputation
mother
2
1
0
no
no
no
yes
yes
yes
yes
no
5
4
5
1
4
2
0
14
14
15
MS
F
18
U
GT3
A
2
4
other
services
reputation
father
1
2
1
no
yes
no
no
yes
yes
yes
no
2
3
2
1
3
1
8
8
5
8
MS
M
16
R
GT3
T
2
1
other
services
reputation
mother
2
2
0
no
no
no
yes
yes
yes
yes
no
5
2
1
1
1
2
0
8
7
0
MS
F
16
U
LE3
T
1
1
at_home
other
other
mother
3
2
0
no
yes
no
no
yes
yes
yes
no
4
3
2
1
3
5
6
6
8
8
MS
F
16
R
GT3
T
2
3
at_home
services
other
mother
2
2
0
no
yes
no
yes
yes
yes
yes
no
3
3
3
1
1
2
0
8
10
10
MS
F
16
U
GT3
T
4
4
health
health
course
mother
1
2
0
no
yes
no
no
yes
yes
yes
yes
4
3
4
1
2
3
4
8
8
8
MS
M
18
U
LE3
T
4
4
at_home
health
home
mother
1
4
0
no
yes
no
yes
yes
no
yes
yes
5
5
5
5
5
5
2
5
6
6
MS
F
16
R
LE3
T
3
4
at_home
other
other
mother
3
2
0
no
yes
no
no
no
yes
no
no
4
2
1
1
1
2
2
7
9
8
MS
M
17
U
LE3
T
4
4
other
services
home
mother
1
3
0
no
yes
no
no
yes
yes
yes
no
4
4
3
1
2
5
0
15
14
16
MS
F
17
R
GT3
T
4
1
other
other
other
mother
1
1
0
no
no
no
no
yes
yes
yes
yes
4
2
3
1
2
5
1
13
14
14
MS
M
16
U
LE3
T
2
2
services
services
other
mother
4
3
0
no
no
no
no
yes
yes
no
no
5
1
3
2
2
3
0
10
9
10
MS
F
17
R
GT3
T
2
2
at_home
other
other
mother
1
1
0
no
yes
yes
no
yes
yes
yes
no
5
1
3
1
2
5
5
9
9
9
MS
F
16
U
LE3
T
4
4
services
services
other
father
2
1
0
no
yes
no
no
yes
yes
no
no
5
1
3
1
2
5
1
11
11
11
MS
M
17
U
GT3
T
3
3
services
services
home
mother
1
1
0
no
yes
no
yes
yes
yes
yes
no
4
1
4
5
5
3
8
7
10
9
MS
M
17
U
GT3
T
1
1
at_home
services
other
mother
3
2
0
no
no
no
no
yes
yes
yes
yes
5
1
3
3
3
1
0
10
10
10
MS
M
16
U
GT3
T
2
1
health
services
other
mother
2
2
0
no
no
no
no
no
yes
yes
yes
4
2
2
1
4
5
2
9
7
8
MS
F
16
U
LE3
T
2
1
other
services
other
mother
1
2
0
no
no
no
no
yes
yes
yes
yes
3
2
2
1
1
3
0
14
15
16
MS
M
16
U
LE3
T
4
4
teacher
health
other
father
1
1
0
no
yes
no
no
yes
yes
yes
no
4
1
2
2
5
5
0
11
12
12
MS
M
15
R
GT3
T
1
2
other
services
course
mother
3
2
0
no
yes
no
yes
yes
yes
no
no
5
5
5
1
3
5
11
9
11
10
MS
M
15
U
LE3
A
2
2
other
other
reputation
mother
3
4
0
no
yes
no
yes
yes
yes
no
no
5
4
5
2
3
5
8
13
14
14
MS
M
15
U
LE3
A
2
1
services
services
course
mother
1
1
0
no
no
no
yes
yes
yes
yes
no
4
3
3
1
2
5
11
12
13
12
MS
F
16
R
LE3
T
2
2
other
other
course
mother
1
3
0
no
yes
no
no
no
yes
no
yes
4
3
3
2
2
5
2
11
11
11
MS
F
16
U
LE3
T
4
1
other
other
home
mother
2
2
0
no
yes
no
yes
yes
yes
yes
no
1
2
4
2
2
1
8
9
10
10
MS
F
17
U
GT3
T
3
2
at_home
other
home
mother
2
1
0
no
no
no
no
yes
yes
no
yes
4
3
3
2
2
1
5
9
11
11
MS
F
17
R
GT3
T
2
2
other
other
other
mother
2
2
0
yes
no
yes
no
yes
yes
no
no
5
1
3
1
1
5
0
11
9
11
MS
F
16
U
GT3
T
4
4
teacher
services
course
mother
2
3
0
no
yes
no
no
yes
yes
yes
yes
5
3
5
1
4
5
1
10
11
12
MS
M
17
R
GT3
T
4
4
health
other
course
father
3
1
3
no
no
no
yes
yes
yes
yes
yes
3
3
3
1
3
5
2
9
9
8
MS
M
17
R
LE3
T
1
3
other
other
course
father
2
1
0
no
no
no
yes
yes
yes
no
yes
5
1
2
3
3
5
2
12
11
12
MS
M
17
U
GT3
T
3
4
services
other
other
mother
1
2
1
no
yes
no
yes
no
yes
yes
yes
5
4
4
3
4
5
8
8
9
8
MS
F
17
U
GT3
T
4
4
health
health
course
father
1
2
0
no
yes
no
no
yes
yes
yes
no
5
2
5
1
1
5
0
13
15
16
MS
M
16
R
LE3
T
4
1
other
at_home
other
father
1
1
0
no
no
no
no
yes
yes
yes
no
4
1
2
2
1
2
0
10
11
11
MS
F
17
U
GT3
A
1
1
at_home
at_home
other
mother
1
2
0
no
no
no
yes
yes
yes
yes
yes
4
5
5
1
2
3
2
11
10
11
MS
F
17
R
GT3
T
4
2
other
other
course
mother
2
2
0
yes
yes
no
no
no
yes
yes
no
4
3
3
2
3
5
0
17
18
18
MS
M
16
U
LE3
A
2
2
other
services
course
father
2
2
0
no
yes
no
no
no
yes
yes
yes
4
1
2
2
2
5
0
12
13
13
MS
M
17
U
GT3
T
3
2
other
other
other
father
2
2
0
no
yes
yes
no
yes
yes
yes
no
4
1
2
2
2
1
0
13
14
13
MS
M
19
U
GT3
T
1
1
other
other
other
mother
1
2
2
no
yes
no
yes
yes
no
yes
no
4
4
3
3
4
4
2
9
9
10
MS
M
17
U
LE3
A
1
0
other
other
home
mother
1
1
0
no
no
no
no
yes
yes
no
yes
4
1
2
1
1
5
4
11
11
12
MS
F
17
R
GT3
T
1
1
at_home
at_home
course
father
2
1
0
no
yes
no
yes
yes
no
yes
yes
3
5
5
2
2
4
3
10
11
10
MS
F
16
R
GT3
T
1
2
other
other
home
father
1
3
0
yes
yes
no
no
no
yes
yes
yes
4
3
4
1
1
3
5
13
14
13
MS
M
16
R
LE3
T
1
2
other
at_home
course
mother
1
1
0
no
no
no
no
yes
yes
no
no
4
4
4
2
4
5
4
9
10
11
MS
F
17
R
GT3
T
3
1
other
other
course
mother
2
2
3
no
yes
no
yes
no
yes
yes
yes
5
4
4
1
1
5
2
7
9
10
MS
M
17
R
GT3
T
2
2
other
other
course
mother
2
1
0
no
no
no
yes
yes
no
no
yes
5
5
5
3
5
5
0
8
13
10
MS
M
18
R
GT3
T
1
0
at_home
at_home
course
other
3
1
1
yes
yes
no
no
yes
yes
no
no
4
3
2
1
1
4
0
12
12
13
MS
M
17
R
GT3
T
1
1
other
services
course
mother
2
1
0
no
yes
no
yes
no
yes
yes
yes
4
5
5
1
3
2
0
10
9
10
MS
M
18
U
LE3
T
1
1
at_home
at_home
course
mother
2
2
0
no
yes
no
yes
yes
yes
no
no
4
3
3
1
4
5
6
10
9
10
MS
F
16
R
LE3
T
2
2
other
services
course
father
1
2
0
no
no
no
yes
yes
yes
no
yes
5
4
3
1
1
1
0
11
13
12
MS
M
17
U
GT3
T
2
2
other
other
course
mother
1
1
1
no
no
no
yes
yes
yes
no
yes
1
2
1
2
3
5
0
7
0
0
MS
M
16
R
GT3
T
3
2
services
other
course
father
2
1
0
no
no
no
no
yes
yes
yes
no
4
5
5
2
3
5
2
11
9
10
MS
M
16
R
LE3
T
1
1
at_home
other
course
mother
2
1
0
no
no
no
yes
yes
yes
yes
no
4
5
5
2
4
5
0
10
10
9
MS
M
18
R
GT3
T
1
1
services
other
course
other
2
1
1
no
yes
no
no
yes
no
yes
yes
5
3
3
2
3
5
2
9
7
9
MS
M
18
R
GT3
T
3
2
services
other
course
mother
1
1
1
no
no
no
no
yes
no
yes
no
2
3
1
2
2
5
0
4
0
0
MS
M
19
U
GT3
T
3
2
at_home
services
course
mother
2
1
3
no
no
no
yes
yes
yes
no
no
3
2
1
1
1
3
4
6
11
9
MS
M
18
U
GT3
T
3
3
at_home
at_home
course
mother
1
2
2
no
yes
no
yes
yes
no
yes
no
4
4
5
1
3
3
9
4
8
8
MS
M
16
R
GT3
T
2
2
services
services
course
mother
2
1
0
no
yes
no
yes
yes
yes
yes
yes
5
4
3
2
4
4
6
7
8
8
MS
M
19
U
GT3
T
2
1
at_home
other
course
other
2
1
3
no
no
no
yes
no
no
yes
yes
4
4
3
1
3
5
4
8
9
9
MS
F
16
U
GT3
A
3
2
services
at_home
course
mother
2
2
2
no
yes
no
yes
yes
yes
no
yes
2
5
5
1
1
1
8
5
5
7
MS
F
17
U
GT3
T
1
1
other
at_home
course
mother
1
1
0
no
yes
no
yes
yes
yes
no
no
4
3
2
1
2
5
9
7
9
10
MS
M
20
R
GT3
T
1
1
other
other
course
other
2
1
1
no
yes
no
no
yes
no
yes
yes
4
4
3
2
4
4
12
8
11
10
MS
F
18
R
GT3
A
4
3
services
services
course
mother
1
1
0
no
yes
no
no
yes
yes
yes
no
5
4
4
3
4
2
8
10
11
10
MS
M
18
R
GT3
T
3
2
other
other
course
mother
2
1
0
no
yes
no
no
no
yes
yes
no
2
5
5
5
5
5
8
9
10
11
MS
M
19
R
GT3
T
1
1
other
services
home
other
3
2
1
no
no
no
no
yes
yes
yes
no
5
4
4
3
3
2
8
10
9
11
MS
M
17
U
GT3
T
3
3
health
other
course
mother
2
2
1
no
yes
no
no
yes
yes
yes
no
4
5
4
2
3
3
4
8
9
10
MS
M
18
U
LE3
T
1
3
at_home
services
course
mother
1
1
0
no
no
no
no
yes
no
yes
yes
4
3
3
2
3
3
0
9
10
9
MS
M
19
R
GT3
T
1
1
other
other
home
other
3
1
1
no
yes
no
no
yes
yes
yes
no
4
4
4
3
3
5
4
8
9
10
MS
F
18
U
GT3
A
1
2
at_home
other
course
mother
2
2
2
no
yes
no
no
yes
yes
no
no
4
3
3
1
1
5
2
6
8
8
MS
F
19
U
LE3
A
1
1
at_home
other
course
mother
1
1
0
no
yes
no
no
yes
no
no
no
1
4
4
1
1
5
0
6
8
7
MS
F
18
R
GT3
T
2
2
other
other
other
mother
2
1
1
no
no
no
no
yes
no
yes
yes
5
5
5
1
1
3
0
8
6
0
MS
F
17
R
GT3
T
0
0
at_home
other
course
mother
2
1
0
no
yes
no
no
yes
yes
yes
no
4
4
3
1
1
5
0
10
11
11
MS
F
17
R
LE3
A
3
1
other
at_home
course
other
2
3
0
no
yes
yes
no
yes
no
no
no
4
2
3
2
2
3
5
8
7
8
MS
F
17
U
GT3
T
4
2
teacher
services
home
mother
1
2
0
yes
yes
no
yes
yes
yes
yes
no
5
5
5
1
3
5
0
8
8
0
MS
F
18
R
LE3
T
2
2
services
services
course
mother
1
2
1
no
yes
no
yes
yes
yes
yes
no
2
3
3
1
2
4
3
7
6
8
MS
F
17
U
GT3
T
4
1
health
at_home
course
mother
1
1
0
no
yes
no
no
yes
yes
no
yes
3
2
2
1
1
5
0
8
10
9
MS
F
17
U
LE3
T
1
2
at_home
other
course
father
1
1
0
no
no
no
no
yes
yes
yes
no
5
5
1
1
1
3
0
7
10
10
MS
F
18
U
GT3
T
1
1
other
other
course
mother
3
2
2
no
no
no
yes
yes
yes
no
yes
3
4
4
2
2
5
3
7
8
7
MS
F
18
U
GT3
T
2
2
services
at_home
reputation
father
2
2
0
no
no
no
yes
no
yes
yes
no
4
3
5
1
1
1
2
12
13
14
MS
F
17
U
GT3
T
3
3
services
services
course
mother
2
1
0
no
yes
no
no
yes
yes
yes
no
4
4
3
1
1
4
0
11
12
13
MS
F
18
U
LE3
A
1
2
at_home
other
reputation
mother
2
2
0
no
no
no
no
yes
yes
yes
no
4
4
3
1
2
4
0
12
13
14
MS
F
18
U
GT3
T
4
4
teacher
teacher
reputation
mother
2
2
0
no
no
no
yes
no
yes
yes
no
4
3
5
1
2
1
0
18
18
18
MS
M
18
U
LE3
T
4
4
services
other
reputation
mother
1
1
0
no
yes
no
yes
yes
yes
yes
no
5
4
5
1
1
5
3
17
17
17
MS
F
17
U
GT3
T
4
2
other
other
course
mother
2
2
0
no
yes
no
no
yes
yes
yes
no
4
3
3
1
2
4
0
17
18
18
MS
F
18
R
GT3
T
2
2
at_home
other
course
mother
3
2
1
no
no
no
yes
yes
yes
no
yes
4
3
3
1
1
4
0
9
0
0
MS
M
18
U
LE3
T
1
2
at_home
services
home
mother
2
1
0
no
yes
no
no
no
yes
no
no
4
1
4
5
5
1
8
10
11
11
MS
M
18
R
GT3
T
4
4
at_home
services
other
mother
3
1
0
no
yes
yes
yes
yes
yes
yes
yes
2
5
5
1
1
1
5
12
13
14
MS
M
17
R
GT3
T
1
1
other
services
other
father
3
1
0
no
no
no
no
no
no
no
no
4
2
3
3
4
4
4
12
13
14
MS
F
18
U
GT3
T
2
2
other
other
course
mother
2
2
0
no
yes
no
no
no
yes
yes
yes
1
3
1
1
1
2
4
8
8
10
MS
F
18
U
LE3
T
2
2
services
services
course
father
2
3
0
no
no
no
no
yes
yes
yes
yes
5
4
5
1
4
3
0
11
12
13
MS
F
18
R
LE3
A
4
2
teacher
other
reputation
mother
1
2
0
no
no
no
yes
yes
yes
yes
yes
5
3
1
1
1
5
0
5
0
0
MS
F
18
U
GT3
T
1
1
at_home
services
course
mother
3
2
1
no
no
no
no
yes
no
no
no
4
4
2
1
2
2
2
9
10
10