GithubHelp home page GithubHelp logo

data-science's Introduction

Data Science.

Welcome to Phase 2 Data Science section.

In this section we will be covering Exploratory Data Analysis (EDA), Data Preparation and Data Modelling on the weather dataset in order to predict the weather in the future.

By now, you should be able to setup a Jupyter instance and be familiar with at least some basics of Python in this module.

Requirements:

Recommended:

Dataset Information:

The dataset weather-data.csv is obtained from IOWA Environmental Mesonet - Iowa State University.

Columns for this dataset:

  • station: Acronym for the place of data capture.
  • valid: Date and time of capture.
  • tmpc: Temperature of the environment in celsius.
  • dwpc: Temperature of the dew point in the environment in celsius.
  • relh: Relative humidity of the environment in percentage.
  • sknt: Wind Speed in knots.
  • gust: Wind Gust in knots.
  • peak_wind_drct: Peak Wind Gust Direction (from PK WND METAR remark). (deg).

Getting started:

Install the following libraries as listed in requirements.txt via the command:

pip install -r requirements.txt

It is recommended to use a virtual environment. A submission.ipynb notebook is provided for your convenience.

Examples of the below processes is shown on respective folders in this directory but note that they may use more simplified datasets so they are at best used as guides. The process applied in the examples may not exactly apply to the current dataset given.

Part 1 - Exploratory Data Analysis (EDA):

Before doing any processing on the data, it is essential that a data scientist has to know at least the general format of the data and the statistics of said data.

You are expected to show at least the following without hard-coding the values:

Numerically:

  • Average.
  • Standard Deviation.
  • Percentile range either:
    • 10th and 90th or
    • 25th and 75th.

Graphically:

  • Correlation Plot.
  • Graphing any Numerical Sections of the dataset.

In addition:

  • Comment on the dataset that is provided to you based on the EDA.

You are also to convert any columns to their appropriate types when required.

Part 2 - Data Preparation:

Now that you know your data inside and out, you are to clean the dataset by removing any unused values and make the dataset usable to train the model.

Note that the models used in the next section only understand numbers.

Student Checklist:

  • Data deemed useless removed.
  • Dataset converted to a form that a model can use.
  • A train and test dataset for the model made.
  • State a reason for each changes made to the DataFrame.

Ensure that you have also show some general information of the train/test dataset like in the EDA before entering the modelling stage.

Part 3 - Data Modelling:

With the dataset made, you are to choose a model best suited for your purpose of the goal. There are a good number of models to choose from in the sci-kit learn library.

After training the model, you are required to have the model predict one month after the latest date in the dataset and comment on the results.

Student Checklist:

  • Model selected.
  • Training dataset fitted.
  • Testing dataset scored.
  • Another month of the existing dataset predicted.
  • Model evaluation in a paragraph.

Passing this section:

In order to pass Phase 2, you are required to carry out all 3 parts of this section. Any interesting observations should be noted, especially in the first and third parts of this section.

You are NOT required to achieve a very accurate model to pass phase 2, but it is recommended that you try and aim for higher accuracy scores.

Resource Information:

  • Matplotlib - A library for generating graphs.
  • Pandas - A library to handle dataset operations and getting statistics.
  • Sci-kit Learn - Beginner friendly library where models can be used.
  • Seaborn - Extensive library to plot more graphs. Extends from matplotlib.

data-science's People

Contributors

clxiu avatar

Watchers

 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.