Coder Social home page Coder Social logo

csc110-final-project's Introduction

CSC110 Final Project

Relationship between Emission and Non-Emission Power Plants on Carbon Emissions

The United Nations has recognized climate change to be an imminent threat to humankind. In response, the Paris Agreement, signed in 2015 by a total of 197 countries around the world aims to limit the global temperature rise below 2 degree celsius, while aiming to limit the increase under 1.5 degree celsius. Naturally, a large focus of these efforts is on the global energy sector, as 25% of 2010 global greenhouse gas emissions were a result of electricity and heat production(EPA, 2020). Our goal is to use current powerplant and carbon emission data to predict how the number of emission and non-emission powerplants in a country impact their carbon emissions. The research question we explored is, โ€œHow does the number of Emissions and Non-Emissions powerplants per capita in a countrypredict their Carbon Emissions per capita?โ€

Data Processing

Raw data from 3 different data sets (countries of the world.csv, global_power_plant_database.csv, owid-co2-data.csv) containing data about population, carbon emissions and powerplants for most countires around the world, was processed from the original csv file into lists of lists into formats that can be used for computations.

Regression

Implemented two different regression methods, using the Numpy python library and trained them on 20% of the data and computed the average error and comparing that to the SKlearn python libarary implementation of linear regression. Used our implementation to make predictions based on our coefficients.

Visualizations

Visualizations of the data were done using the Plotly (plotly.express and plotly.graphobjects) and Pandas python libraries. Data in the form of Lists were converted to Pandas Data Frames objects. Data and lines of best fit that were computed were viualized using plotly functions.

csc110-final-project's People

Contributors

hashimr1 avatar kenneth-miura avatar shilinzhang-cs avatar

Watchers

 avatar

Forkers

hashimr1

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.