Giter Club home page Giter Club logo

feat-select_student-performance's Introduction

[Data Science] What Factors Affect Student Performance?

---- A feature & model selection project ----

Project start date: January 15th, 2018

Directory Information

data: raw data, cleaned data, and data table output. src: project source codes. graphs: visualizations for exploratory and explanatory analysis. reports: analysis reports.

Project Overview

To understand whether student performance in final grade is affected by student previous grades, demographic, social and school related information, I want to perform a linear regression model.

Instead of fitting 1 linear regression with no regularization, I apply different regularized linear regression methods and compare their result to the unregularized one. These methods include Lasso (L1 regularization), Ridge (L2 regularization), Elastic Net (L1 + L2 regularization). The comparison will suggest me the best model to help answer my question above.

Data Description

Data used in this project is taken from the Student Performance Data Set. It contains student achievement in secondary education of two Portuguese schools, along with their grades, demographic, social and school related features. The data was collected by using school reports and questionnaires.

The final dataset (after cleaning) has 32 features, with 382 observations in total. None of those observations has missing values.

To know more details about the features, please refer to this README.

To answer my question, I choose G3 - the final grade as my response variables, and other 31 variables as my explanatory variables.

Since I decide to use Scikit-learn to fit models to my data and Scikit-learn Regression Models only understand numeric data, I transform text values of all categorical variables into numeric ones. See source code for cleaning data here.

How to run analysis and report

Step src expected output path
1 Download data from here
2 Merge and transform data for further use clean.ipynb ../data/cleaned _data/cleaned.csv
3 Exploratory Data Analysis EDA.ipynb some images in ../graphs/
4 Explanatory Analysis model.ipynb ../data/analysis/model_score.csv and ../data/graphs/resid_plot.png
5 Run report Final Report.ipynb, which can be found in reports folder

Report

Link to report with findings and analysis processes.

feat-select_student-performance's People

Contributors

hadinh1306 avatar

Watchers

James Cloos avatar  avatar

Forkers

taozeze

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.