/Students-grades

Using Regression model to predict the final grade of students from two Portuguese high schools

Primary LanguageJupyter Notebook

GRADES OF STUDENTS IN MATHEMATICS AND PORTUGUESE LANGUAGE FROM GABRIEL PEREIRA HIGH SCHOOL (GP) AND MOUSINHO DA SILVEIRA (MS) HIGH SCHOOLS ANALYSIS

( The aim of the project:

  • To determine the characteristics that affect the grades of students
  • To obtain insights from the data
  • To predict the final grades of students who are not in the dataset

Ride along!!!

Below is a nrief description of the columns in the dataset

  • school - student's school ('GP' - Gabriel Pereira or 'MS' - Mousinho da Silveira)
  • sex - student's sex ('F' - female or 'M' - male)
  • age - student's age (from 15 to 22)
  • address - student's home address type ('U' - urban or 'R' - rural)
  • famsize - family size ('LE3' - less or equal to 3 or 'GT3' - greater than 3)
  • Pstatus - parent's cohabitation status ('T' - living together or 'A' - apart)
  • Medu - mother's education (0 - none, 1 - primary education (4th grade), 2 - 5th to 9th grade, 3 - secondary education or 4 - higher education)
  • Fedu - father's education (0 - none, 1 - primary education (4th grade), 2 - 5th to 9th grade, 3 - secondary education or 4 - higher education)
  • Mjob - mother's job ('teacher', 'health' care related, civil 'services' (e.g. administrative or police), 'at_home' or 'other')
  • Fjob - father's job ('teacher', 'health' care related, civil 'services' (e.g. administrative or police), 'at_home' or 'other')
  • reason - reason to choose this school (close to 'home', school 'reputation', 'course' preference or 'other')
  • guardian - student's guardian ('mother', 'father' or 'other')
  • traveltime - home to school travel time
  • studytime - weekly study time (numeric: 1 - 10 hours)
  • failures - number of past class failures
  • schoolsup - extra educational support (yes or no)
  • famsup - family educational support (yes or no)
  • paid - extra paid classes within the course subject (Math or Portuguese) (yes or no)
  • activities - extra-curricular activities (yes or no)
  • nursery - attended nursery school (yes or no)
  • higher - wants to take higher education (yes or no)
  • internet - Internet access at home (yes or no)
  • romantic - with a romantic relationship (yes or no)
  • famrel - quality of family relationships (from 1 - very bad to 5 - excellent)
  • freetime - free time after school (from 1 - very low to 5 - very high)
  • goout - going out with friends (from 1 - very low to 5 - very high)
  • Dalc - workday alcohol consumption (from 1 - very low to 5 - very high)
  • Walc - weekend alcohol consumption (from 1 - very low to 5 - very high)
  • health - current health status (from 1 - very bad to 5 - very good)
  • absences - number of school absences (from 0 to 93)
  • G1 - first period grade (from 0 to 20)
  • G2 - second period grade (from 0 to 20)
  • G3 - final grade (from 0 to 20)