Summary

In this chapter, we have seen how to develop an ML project using the RNN implementation, and called LSTM for HAR using the smartphones dataset. Our LSTM model has been able to classify the type of movement from six categories: walking, walking upstairs, walking downstairs, sitting, standing, and lying. In particular, we have achieved up to 94% accuracy. Later on, we discussed some possible ways to improve the accuracy further using GRU cell.

A convolutional neural network (CNN) is a type of feedforward neural network in which the connectivity pattern between its neurons is inspired by the animal visual cortex. Over the last few years, CNNs have demonstrated superhuman performance in complex visual tasks such as image search services, ...

Get Scala Machine Learning Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.