Develop a human activity recognition iot application

Assignment Help Data Structure & Algorithms
Reference no: EM132363524

This project aims to develop a human activity recognition IoT application to evaluate students' knowledge in SDLC. This is an individual assignment. The project tasks shall be carried out individually.

Overview

The recognition of human activities has become a task of high interest for medical, military, and security applications. For instance, patients with diabetes, obesity, or heart disease are often required to follow a well-defined exercise routine as part of their treatments [5].

Therefore, recognizing activities such as walking, running, or cycling becomes quite useful to provide feedback to the caregiver about the patient's behavior. Likewise, patients with dementia and other mental pathologies could be monitored to detect abnormal activities and thereby prevent undesirable consequences [6].

In such IoT applications, proper software engineering and data engineering are especially important to manage the software development life cycle and help make data useful for machine learning models. Many software engineers are primarily interested in aggregating raw data and making it into useful, ordered and structured data formats. A typical flowchart of sensor-based human activity recognition as shown in Figure 1.

1194_figure.jpg

Figure 1. A typical flowchart of sensor-based human activity recognition

This assignment involves the following subtasks:

1. Use Agile to manage this IoT application development (e.g., develop backlog, create sprint, and monitor the sprint progress). The backlog and each sprint along with each week's sprint progress burndown chart shall be recorded in the final submission document.

2. Based on the given workshop materials, create python code to load data and extract corresponding features from the given dataset.

3. Test and evaluate the two given machine learning models (KNN and SVM) and application in general and record the test results and evaluation summary in the final submission document.

4. Refactor the source code according to the design pattern lecture and make the code easier to understand and extensible. The code shall be managed by GitHub and will be reviewed for this along with GitHub version control history.

The sourcing data is from a public dataset (Dalia dataset [1], which contains 6 sensors' data for 19 activities), refining that data and cleaning them up, and extracting significant features through statistical analysis for use in artificial intelligence and machine learning systems.

An example code is provided for reference. You may need to learn the use of Python libraries Numpy [2] and Pandas [3]. Machine learning modules using Scikit-learn [4] are given though having some understanding of them is
recommended (we will only cover the basics of it to avoid course overlapping).

Recommended Sprints

The human activity recognition IoT system are recommended to be developed in four sprints.

1. Data loading and preprocessing: In this stage, based on the workshop materials provided, you need to firstly visualize the sensor data to get some idea of the underlying human activity pattern. Based on the given codes, apply the signal filtering and visualize the cleaned data.

2. Feature engineering for sensor data: In this stage, you need to extract features from the cleaned sensor data. In the example code, min, max, and mean values of three accelerometers in the wrist sensor are extracted as features of each human activity. In this assignment, you need to focus on feature engineering (try to extract more features from more sensors based on the Week 3 lecture note, and research how different features influence the performance of human activity recognition based IoT application). Then, you could use the GIVEN code to construct training datasets. In this stage, you could train different GIVEN machine learning models based on training feature set. The code of recognition models is GIVEN, where KNN and SVM classifier are used to learn human activity recognition.

3. Testing: After training a model, you should evaluate and test the application. Classification accuracy is a simple metric to measure the performance of a trained model. In addition, confusion matrix could clearly show the performance of our model on the recognition of each activity (Testing of Machine learning models and confusion matrix will be covered in week 4 lecture notes) . The two evaluation metrics are also GIVEN in the example code.

4. Code refactoring and Version Control: The given example code reflects the state of the art engineering for IoT. Please refactor the code to make the code easily to read/understand (e.g., comments) and extensible (those techniques for design pattern and software refactoring taught in the unit). The changes shall be reflected in the GitHub version control.

The use of example code:

1. download the DaLiAc dataset from the link of reference 1. Unzip all files

into a folder called ‘dataset' and then put the example code ‘har.py' and the ‘dataset' folder at the same directory.

2. Install Python3.x and libraries Numpy, Pandas, Scikit-learn and Matplotlib following the guidance in the weekly labs.

3. Run har.py

At the end of this assignment, you should submit your code (a new file or example code where you add your functions) and a report.

The structure of the report is:

Suggested headings (max. 10 pages; 10pt-12pt font size in single line spacing)

- Student details: name and SID

- Project title (you are free to give a cool name as the project can be used for many purposes)

- Introduction: description of the project.

- SCRUM Sprint and Design: give description of each key component and system architecture (can follow the given diagram but can't be exactly same). Give description of the backlog, each sprint created and weekly sprint progress chart (burndown chart).

- Implementation: description of technologies and techniques used with respect to each of system components/functionalities described in the Design.

- Evaluation: description of experiments and discussion of results

- Discussion: Challenges, limitations and open issues.

- Version Control: give screen shop of the GitHub version control log

- Summary/conclusion: summary and/or concluding remarks

- References including Bitbucket project repository/wiki

Attachment:- SDLC for human activity recognition project.rar

Reference no: EM132363524

Questions Cloud

Identify key components in scoring and test interpretation : Identify 2 key components in scoring and test interpretation. What are some of the most important factors in selecting and administering self-report.
Write description of what the each of the variables measure : Write a 1- to 2-page summary and include the following: A description of what the each of the variables measure. A description of the unit of analysis.
Influence on ihe decision-making : Do you think union and professional organizations have too much influence on IHE decision-making? Explain your answer.
Old rules of globalization and new rules of globalization : What is the difference between old rules of globalization and new rules of globalization, and how should multinational corporations adapt?
Develop a human activity recognition iot application : COMP255 - Human activity recognition - Develop a human activity recognition IoT application to evaluate students' knowledge in SDLC. This is an individual
Conducting a business case study analysis : Hello In this Assignment, I need help conducting a business case study analysis in the form of a PowerPoint presentation on the company Five Below
Design and layout of the case study : The design and layout of the case study as well as how readable it is The challenges identified
How much of this interest is deductible assuming carol : Carol paid $16,000 of interest on the debt this year. How much of this interest is deductible assuming Carol itemizes her deductions?
Create a logo that is constructed with simple images : The Gestalt Principle of Perception suggests that our brains like to organize information that we encounter, helping us make sense of what is in our world.

Reviews

len2363524

8/30/2019 10:23:40 PM

Marking rubric: 3 marks: Agile Management and System Design - The design is compliant with the project requirement and detailed – 1 mark - Reasonable backlog design – 1 mark - Reasonable Sprint design and progress – 1 mark 3 marks: Data engineering & Feature engineering - Correct python code to load data – 1.5 marks - Correct python code to extract features from data – 1.5 marks 3 marks: Testing and Evaluation report - Correct python code to construct training and testing set and test given machine learning models – 1.5 marks - Reasonable evaluation report – 1.5 marks 3 marks: Code Refactoring and Version Control - Elegance of code – 1 mark - Maintainability (e.g., comments) – 1 mark - Reasonable Version control history (e.g., Screen shot from GitHub) – 1 mark 3 marks: Summary and overall clarity of the report - Insightful summary for the project from software engineering perspective – 1 mark - English (e.g., grammar, typos, readability, etc.) – 1 mark - Structure including references/Length – 1 mark

len2363524

8/30/2019 10:23:30 PM

- Implementation: description of technologies and techniques used with respect to each of system components/functionalities described in the Design. - Evaluation: description of experiments and discussion of results - Discussion: Challenges, limitations and open issues. - Version Control: give screen shop of the GitHub version control log - Summary/conclusion: summary and/or concluding remarks - References including Bitbucket project repository/wiki

len2363524

8/30/2019 10:23:21 PM

The structure of the report is: Suggested headings (max. 10 pages; 10pt-12pt font size in single line spacing) - Student details: name and SID - Project title (you are free to give a cool name as the project can be used for many purposes) - Introduction: description of the project. - SCRUM Sprint and Design: give description of each key component and system architecture (can follow the given diagram but can’t be exactly same). Give description of the backlog, each sprint created and weekly sprint progress chart (burndown chart).

len2363524

8/30/2019 10:23:14 PM

The use of example code: 1. download the DaLiAc dataset from the link of reference 1. Unzip all files into a folder called ‘dataset’ and then put the example code ‘har.py’ and the ‘dataset’ folder at the same directory. 2. Install Python3.x and libraries Numpy, Pandas, Scikit-learn and Matplotlib following the guidance in the weekly labs.

Write a Review

Data Structure & Algorithms Questions & Answers

  Implement an open hash table

In this programming assignment you will implement an open hash table and compare the performance of four hash functions using various prime table sizes.

  Use a search tree to find the solution

Explain how will use a search tree to find the solution.

  How to access virtualised applications through unicore

How to access virtualised applications through UNICORE

  Recursive tree algorithms

Write a recursive function to determine if a binary tree is a binary search tree.

  Determine the mean salary as well as the number of salaries

Determine the mean salary as well as the number of salaries.

  Currency conversion development

Currency Conversion Development

  Cloud computing assignment

WSDL service that receives a request for a stock market quote and returns the quote

  Design a gui and implement tic tac toe game in java

Design a GUI and implement Tic Tac Toe game in java

  Recursive implementation of euclids algorithm

Write a recursive implementation of Euclid's algorithm for finding the greatest common divisor (GCD) of two integers

  Data structures for a single algorithm

Data structures for a single algorithm

  Write the selection sort algorithm

Write the selection sort algorithm

  Design of sample and hold amplifiers for 100 msps by using n

The report is divided into four main parts. The introduction about sample, hold amplifier and design, bootstrap switch design followed by simulation results.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd