Coder Social home page Coder Social logo

mvtec-stats-project1's Introduction

MVTEC: Group 2

@authors: Ànnia, Rebecca, Rocío, Victor.

Update: Thurs, Jan 7, 2020

Observable notebooks

Main

Two data pipelines

Data Pipeline 1: Preprocessing

In order to keep the predictions as clean as possible, we ended up using Python to script out 3 processed data files for each of the 3 previous days, based on UTC time.

We then, pushed these files up to S3 and used them for the second data pipeline.

Data pipeline 1 Diagram

Date Pipeline 1: Please refer to this repository: https://github.com/arixha/MVTEC-Stats-Project1/tree/main/dataPipeline1-preprocessing

Data Pipeline 2: Five cluster predictions

The second data pipeline has three Rscripts. Two of them just run predictions on the previous two days and the last one will run the latest prediction and then add in the two previous days predictions to output the "joined" csv files for each cluster. These are then used for the data visualisations.

Data pipeline 2 Diagram

Date Pipeline 2: Please refer to this repository: https://github.com/arixha/MVTEC-Stats-Project1/tree/main/dataPipeline2-clusters

Clusters

During the prediction stage, we were able to use the model to cluster groups together in the following ways:

Cluster 1 Qatar, Bahrain, Luxembourg, Kuwait, United Arab Emirates, Singapore.

Cluster 2 San Marino, Andorra, Vatican, Panama, Montenegro, Armenia, Oman, Maldives, Moldova, Costa Rica, Cape Verde, Georgia, Bahamas, Bolivia, Dominican Republic, Ecuador, Belize, Honduras, Morocco, Suriname, Djibouti, Libya, Paraguay, Sao Tome and Principe, Guatemala, Eswatini, Gabon, Namibia, Guyana, Equatorial Guinea, New Zealand, Marshall Islands, Papua New Guinea, Fiji, Solomon Islands, Samoa, Vanuatu.

Cluster 3 Chile, Israel, Belgium, Czechia, Switzerland, Canada, Australia.

Cluster 4 Mexico, Spain, Colombia, Peru, South Africa, Argentina.

Cluster 5 United States, Brazil. They were too large for the data predictions and needed to be considered separately.

Data focus: Which countries we selected and why.

We have decided to limit our analysis to the top 10 countries for each region which have the highest number of total cases per million.

Last updated on Thurs Dec 27

countriesAfrica = c("Cape Verde", "South Africa", "Djibouti", "Sao Tome and Principe", "Libya", "Gabon", "Eswatini", "Equatorial Guinea", "Morocco", "Namibia")

countriesEurope = c("Andorra", "San Marino", "Vatican", "Luxembourg", "Montenegro", "Belgium", "Spain", "Czechia", "Moldova", "Switzerland")

countriesAsia = c("Qatar", "Bahrain", "Kuwait", "Armenia", "Israel", "Oman", "Maldives", "Singapore", "United Arab Emirates", "Georgia")

countriesNorthAmerica = c("Panama", "United States", "Costa Rica", "Dominican Republic", "Bahamas", "Honduras", "Mexico", "Belize", "Canada", "Guatemala")

countriesSouthAmerica = c("Chile", "Peru", "Brazil", "Argentina", "Colombia", "Bolivia", "Ecuador", "Suriname", "Paraguay", "Guyana")

countriesOceania = c("Australia", "New Zealand", "Marshall Islands", "Papua New Guinea", "Fiji", "Solomon Islands", "Vanuatu", "Samoa")

allCountries = c("Cape Verde", "South Africa", "Djibouti", "Sao Tome and Principe", "Libya", "Gabon", "Eswatini", "Equatorial Guinea", "Morocco", "Namibia", "Qatar", "Bahrain", "Kuwait", "Armenia", "Israel", "Oman", "Maldives", "Singapore", "Georgia", "United Arab Emirates","Andorra", "San Marino", "Vatican", "Luxembourg", "Montenegro", "Belgium", "Spain", "Czechia", "Moldova","Switzerland","Panama", "Costa Rica", "Dominican Republic", "Bahamas", "Honduras", "Mexico", "Belize", "Canada", "Guatemala","Australia", "New Zealand", "Marshall Islands", "Papua New Guinea", "Fiji", "Solomon Islands", "Vanuatu", "Samoa", "Chile", "Peru", "Argentina", "Colombia", "Bolivia", "Ecuador", "Suriname", "Paraguay", "Guyana","Brazil","United States"))

mvtec-stats-project1's People

Contributors

arixha avatar lamonre avatar victorgd97 avatar vivipazos avatar

Watchers

 avatar  avatar

Forkers

lamonre

mvtec-stats-project1's Issues

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.