Giter Site home page Giter Site logo

aws-samples / sagemaker-weather-prediction Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 2.8 MB

This repository contains the files and instructions on using Amazon SageMaker to build linear regression, polynomial regression etc to predict the temperature

Python 2.22% Jupyter Notebook 97.78%
amazon-sagemaker linear-regression polynomial-regression decision-tree-regression cartesian-tree

sagemaker-weather-prediction's Introduction

Temperature Predicture Weather Dataset

Here is the code to learn and implement Amazon's SageMaker linear Regression, Polynomial Regression, Decision Tree Regressor using the weather dataset and to predict the max temperature by training the model with the given min and max temp data.

Instructions

  1. Copy the python file and then download the dataset from https://www.kaggle.com/rafunlearnhub/weatherhistory?select=weatherHistory.csv.
  2. Install the required libraries such as Numpy, Pandas, Matplotlib, SkiKit-Learn and SageMaker and their appropriate packages
  3. Run the python file or the .ipynb file in a SageMaker Jupyter notebook or any other python interpreter to the execution of the code.

Your final output should look somewaht like the below graph with your predicted temperature being closely aligned to the actual temperature with minimal difference

Screen Shot 2021-10-28 at 2 50 22 PM

Your values of Mean Asolute Error (MAE), Mean Squared Error (MSE) ans Root Mean Squared Error (RMSE) will help you determine the model with the best fit!

sagemaker-weather-prediction's People

Contributors

amazon-auto avatar rchezsal avatar

Stargazers

 avatar  avatar  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.