1. Homepage
  2. Programming
  3. KIT317 Internet of Things and Artificial Intelligence - Assignment 3: Weather Prediction

KIT317 Internet of Things and Artificial Intelligence - Assignment 3: Weather Prediction

Engage in a Conversation
TasmaniaKIT317KIT717Internet of Things and Artificial IntelligencePythonPHP

Assignment 3 CourseNana.COM

Due: 11:59pm, Friday June 7th CourseNana.COM

Text Box: Scenario
CourseNana.COM

IoT devices collect data about the real world to help us make better decisions with that data. Raw data isn’t particularly helpful, so we analyse data to try it into more meaningful information. Sometimes we want to use this data not just to tell us about the past, but also to make inferences about the future. CourseNana.COM

In this assignment, we are going to use machine learning trained on historic weather data to make an inference about the future. You have been provided with a data set consisting of weather data for 5 sites. The data covers temperature, humidity and wind observations that were recorded every half hour for almost 6 years per site. CourseNana.COM

This data will be used to create a simple IoT enabled ‘light’ device that uses machine learning to predict what the days weather conditions should be and compare it against the current reading. This will consist of a simulated IoT hardware device (using the SenseHat emulator) and a server that runs the machine learning algorithms and offers more detailed information for the selected day. CourseNana.COM

Please note: CourseNana.COM

·       The size of these data sets is quite large. The weather data is provided in xlsx format and will need to be cleaned up and converted to a suitable format before you can use it in your program – you should discard any data that you don’t need to reduce the amount of time it will take to train your models. CourseNana.COM

·       The data set includes data from 2015 – 2021 inclusive, but 2021 does not contain the full year. Your predictions should be for the year 2022. CourseNana.COM

·       While this project shares some similarities with the first assignment, this is a separate device and does not need to implement any of the functionality from that device. CourseNana.COM

CourseNana.COM

Your IoT device should:

·       Allow the user to input a date (day and month) and a site number, using the keys on the front of the device. CourseNana.COM

o   Press the middle key to enter date entry mode. Press left and right to switch between day and month. Use scrolling text to indicate which mode you are in. Press up and down to change the day or month. Press the middle key to save the date and return to normal operation mode. CourseNana.COM

o   Your date should also include 2022 as the year – this is the next year outside of the data set. CourseNana.COM

o   Your site number indicates the location of the IoT device from among the 5 provided data sets. CourseNana.COM

·       Send the date to your server and return the predicted minimum and maximum temperature, the predicted minimum and maximum humidity for the given date, and the name of the location as per the location ID. CourseNana.COM

o   Print these predicted values and location name to the terminal. CourseNana.COM

·       While in normal mode, if the date has been set and a prediction returned, the device should visualize whether the current temperature and humidity is within the predictions for this day. CourseNana.COM

o   Press left and right to switch between temperature and humidity mode. CourseNana.COM

§  Indicate changes between these two modes using scrolling text. CourseNana.COM

o   Change the colour of the screen to red if the current temperature/humidity is higher or lower than the prediction, and green if it is within the current temperature prediction mode. CourseNana.COM

o   As the temperature changes on your sensehat, so should these visual indications. CourseNana.COM

§  Temperature and humidity measurements are local only and do not need to be sent to the server. CourseNana.COM

·       All scrolling text messages should scroll quickly at 0.05 to reduce time taken to setup and use the device. CourseNana.COM

  CourseNana.COM

Your server should:

·       Accept the date and location ID from the IoT device and store in an XML file for later access. CourseNana.COM

·       Use machine learning to return a prediction to the IoT device. CourseNana.COM

o   You should return a predicted maximum and minimum temperature and a maximum and minimum humidity. CourseNana.COM

o   Your prediction should use PHP-ML to train a model based on the historic data (from the supplied data set) for the selected date. CourseNana.COM

§  Select an appropriate ML method and train it with the appropriate samples from the provided data sets to generate the above predictions. CourseNana.COM

·       Your server should also provide a view that shows more information about the selected date. This information should be based on the data recorded in the data set. CourseNana.COM

o   Using the last stored date, generate a graph (using CanvasJS) that shows the average temperatures for the selected date in half hour increments. Below the graph you should display the predicted minimum and maximum temperatures (for the whole day). CourseNana.COM

o   Using the last stored date, generate a graph (using CanvasJS) that shows the average humidity for the selected date in half hour increments. Below the graph you should display the predicted minimum and maximum humidity (for the whole day). CourseNana.COM

o   This should be rendered as two separate graphs, with a way to switch between the views. CourseNana.COM

o   The locations name and the type of data shown should be included as the graph title. CourseNana.COM

  CourseNana.COM

  CourseNana.COM

Documentation:

·       A diagram explaining how data flows in your system. (2 marks) CourseNana.COM

·       Write a brief explanation (1 paragraph) explaining your choice of machine learning algorithm, the training data you needed to supply it, and any steps you had to take to sample that data from the data sets. (2 marks) CourseNana.COM

·       Comment on the accuracy of the predictions that your system returns, and what could be done to improve them. (1 paragraph) (2 marks) CourseNana.COM

  CourseNana.COM

  CourseNana.COM

CourseNana.COM

Text Box: Demonstration	2 marks


CourseNana.COM

CourseNana.COM

Along with your code (zipped), you should record a quick video that demonstrates your system. Your video should be a screen recording, whereby you demonstrate your virtual machine environment, showing off all the features of your webserver running in a browser. In your video, you should talk through the features as you demonstrate them to the marker. CourseNana.COM

  CourseNana.COM

Your demonstration should show you: CourseNana.COM

·       Setting a date on the IoT device. CourseNana.COM

·       The printed response in the terminal. CourseNana.COM

·       The colour of the lights changing as you adjust the temperature and humidity sliders. CourseNana.COM

·       Your webserver visualizing the temperature and humidity graphs for the selected date. CourseNana.COM

·       Your demonstration should be recorded as a screen capture, as per the instructions on Mylo. CourseNana.COM


CourseNana.COM

  CourseNana.COM

CourseNana.COM


CourseNana.COM

CourseNana.COM

The assignment submission will include: CourseNana.COM

·                Your code for the IoT device (python), server (php) and your cleaned data set as a zip file. CourseNana.COM

·                Your documentation, including your diagram and your explanation of ML methods/accuracy. CourseNana.COM

·                A video demonstration of the system, as a screen capture. CourseNana.COM

  CourseNana.COM

Please submit this as 3 separate files (zip, document/image and video) via Mylo, as this will make the markers life much easier. CourseNana.COM

  CourseNana.COM

  CourseNana.COM

Your IoT system allows a user to send a date and location to the server CourseNana.COM

·       Enters setup mode, allows date and location to be set, sends data and location ID to the server, exits and enters normal operation mode. CourseNana.COM

3 CourseNana.COM

·       Partially implemented, but fails one or more of the above CourseNana.COM

1 CourseNana.COM

·       Not implemented CourseNana.COM

0 CourseNana.COM

  CourseNana.COM

  CourseNana.COM

Your IoT system CourseNana.COM

·       Reads the current temperature and humidity, displays the correct status colour, switches between the two modes(temp/humidity), visual indicates the mode. CourseNana.COM

3 CourseNana.COM

·       Partially implemented, but fails one or more of the above CourseNana.COM

1 CourseNana.COM

·       Not implemented CourseNana.COM

0 CourseNana.COM

  CourseNana.COM

  CourseNana.COM

Your server accepts a date and ID from the IoT device CourseNana.COM

·       Your server accepts a date and location ID, stores this information as an XML file, returns a prediction to the server CourseNana.COM

2 CourseNana.COM

·       Partially implemented, but fails one or more of the above CourseNana.COM

1 CourseNana.COM

·       Not implemented CourseNana.COM

0 CourseNana.COM

  CourseNana.COM

  CourseNana.COM

Your server uses machine learning to predict that days temp/humidity ranges for the selected date and location ID. CourseNana.COM

·       Sample the appropriate data from the data set, use an appropriate machine learning algorithm, train a machine learning model, predict the min/max temp and humidity for the location ID, returns a reasonably accurate result. CourseNana.COM

5 CourseNana.COM

·       Partially implemented, but fails one or more of the above CourseNana.COM

3 CourseNana.COM

·       Partially implemented, but fails two or more of the above CourseNana.COM

1 CourseNana.COM

·       Not Implemented CourseNana.COM

0 CourseNana.COM

  CourseNana.COM

  CourseNana.COM

Your webserver visualizes data CourseNana.COM

·       Reads the date and ID from the XML, reads the half hourly temperature and humidity for those dates and ID from the data set, calculates an average for each half hour increment, graphs the data as two separate graphs (with a sway to switch between them). CourseNana.COM

4 CourseNana.COM

·       Partially implemented, but fails one or more of the above CourseNana.COM

2 CourseNana.COM

·       Partially implemented, but fails two or more of the above CourseNana.COM

1 CourseNana.COM

·       Not implemented CourseNana.COM

0 CourseNana.COM

  CourseNana.COM

  CourseNana.COM

  CourseNana.COM

  CourseNana.COM

Demonstration CourseNana.COM

2 CourseNana.COM

Diagram CourseNana.COM

2 CourseNana.COM

Explanation of ML choice CourseNana.COM

2 CourseNana.COM

Discussion of Accuracy CourseNana.COM

2 CourseNana.COM

  CourseNana.COM

  CourseNana.COM

Get in Touch with Our Experts

WeChat (微信) WeChat (微信)
Whatsapp WhatsApp
Tasmania代写,KIT317代写,KIT717代写,Internet of Things and Artificial Intelligence代写,Python代写,PHP代写,Tasmania代编,KIT317代编,KIT717代编,Internet of Things and Artificial Intelligence代编,Python代编,PHP代编,Tasmania代考,KIT317代考,KIT717代考,Internet of Things and Artificial Intelligence代考,Python代考,PHP代考,Tasmaniahelp,KIT317help,KIT717help,Internet of Things and Artificial Intelligencehelp,Pythonhelp,PHPhelp,Tasmania作业代写,KIT317作业代写,KIT717作业代写,Internet of Things and Artificial Intelligence作业代写,Python作业代写,PHP作业代写,Tasmania编程代写,KIT317编程代写,KIT717编程代写,Internet of Things and Artificial Intelligence编程代写,Python编程代写,PHP编程代写,Tasmaniaprogramming help,KIT317programming help,KIT717programming help,Internet of Things and Artificial Intelligenceprogramming help,Pythonprogramming help,PHPprogramming help,Tasmaniaassignment help,KIT317assignment help,KIT717assignment help,Internet of Things and Artificial Intelligenceassignment help,Pythonassignment help,PHPassignment help,Tasmaniasolution,KIT317solution,KIT717solution,Internet of Things and Artificial Intelligencesolution,Pythonsolution,PHPsolution,