Student Grade Prediction
Student Grade Prediction
# %% [code]
import pandas as pd
import numpy as np
address: student's home address type (binary: 'U' - urban or 'R' - rural)
famsize: family size (binary: 'LE3' - less or equal to 3 or 'GT3' - greater than 3)
Mjob: mother's job (nominal: 'teacher', 'health' care related, civil 'services'
(e.g. administrative or police), 'at_home' or 'other')
Fjob: father's job (nominal: 'teacher', 'health' care related, civil 'services'
(e.g. administrative or police), 'at_home' or 'other')
paid: extra paid classes within the course subject (Math or Portuguese) (binary:
yes or no)
freetime: free time after school (numeric: from 1 - very low to 5 - very high)
goout: going out with friends (numeric: from 1 - very low to 5 - very high)
Dalc: workday alcohol consumption (numeric: from 1 - very low to 5 - very high)
Walc: weekend alcohol consumption (numeric: from 1 - very low to 5 - very high)
health: current health status (numeric: from 1 - very bad to 5 - very good)
[5 rows x 33 columns]
Execution output
20KB
Stream
/usr/local/lib/python3.6/dist-packages/seaborn/_decorators.py:43:
FutureWarning: Pass the following variable as a keyword arg: x. From version 0.12,
the only valid positional argument will be `data`, and passing other arguments
without an explicit keyword will result in an error or misinterpretation.
FutureWarning
text/plain
<Figure size 432x288 with 1 Axes>
Execution output
1KB
text/plain
failures -0.360415
age -0.161579
goout -0.132791
traveltime -0.117142
health -0.061335
Dalc -0.054660
Walc -0.051939
freetime 0.011307
absences 0.034247
famrel 0.051363
studytime 0.097820
Fedu 0.152457
Medu 0.217147
G1 0.801468
G2 0.904868
G3 1.000000
Name: G3, dtype: float64
[5 rows x 32 columns]