Giter VIP home page Giter VIP logo

207demography's Introduction

207demography

{EPITECH} | Second year | Math project

The world population growth is a cause for concern for most people: 1 billion people in 1800, 2 billion people in 1927, 6 billion people in 2000 and more than 7.5 billion people today... Predicting future population using past censuses is therefore a key concept.

Along with this subject, you will find a file named 207demography_data.csv, which gives an estimation of every country’s population from 1960 onwards. If world population growth seems exponential in the long-term, in a shorter term it seems linear: using this data, you must establish the linear least squares regression that will allow you to predict population depending on the year.

In the following, Yis the population (in million people) and Xthe year. With one or several country codes as inputs, your program will print:

  1. the aXand bXcoefficients of the linear fit Y= aXX+ bX,
  2. the root-mean-square deviation of this fit,
  3. the population prediction in 2050 according to this fit,
  4. the aYand bYcoefficients of the linear fit X= aYY+ bY,
  5. the root-mean-square deviation of this fit,
  6. the population prediction in 2050, according to this fit,
  7. the correlation coefficient between Xand Y

See the subject for further details !

========================

Grade : A | Mark : 20

Category Percentage Tests Crash ?
basic 100% 6/6 x
correlation 100% 3/3 x
correlation (eval) 100% 3/3 x
fits 100% 6/6 x
rigor 100% 4/4 x
End score 100% 22/22 No

Made with Quentin TREHEUX (LuciferBahamut)

Beware of -42 Epitech students !!!

207demography's People

Contributors

nekory23 avatar

Watchers

 avatar  avatar

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.