Machine Learning for Context Analysis

Deterministic Analysis vs. Machine Learning for Context Analysis

Machine learning for context analysis and artificial intelligence (AI) are important methods that allow computers to classify information about their environment. Today’s smart devices integrate an array of sensors that constantly measure and save data. On the first thought one would image that the more data is available, the easier it is to draw conlusions from this information. But, in fact larger amounts of data become harder to analyze using deterministic methods (e.g. thresholding). Whereas such methods by themselves can work efficiently, it is difficult to decide which analysis parameters to apply to which parts of the data.

Using machine learning techniques on the other hand this procedure of finding the right parameters can be greatly simplified. By teaching an algorithm which information corresponds to a certain outcome using training and verification data, analysis parameters can be determined automatically or at least semi-automatically. There exists a wide range of machine learning algorithms including the currently very popular convolutional neural networks.

Context analysis setup overview

Figure 1 – Overview of the complete analysis system with its various data sources

Context Analysis

Many health care applications rely on the correct classification of a user’s daily activities, as these reflect strongly his lifestyle and possibly involved health risks. One way of detecting human activity is monitoring their body motion using motion sensors such as our LPMS inertial measurement unit series. In the application described here we monitor a person’s mode of transportation, specifically

  1. Rest
  2. Walking
  3. Running
  4. In car
  5. On train

To illustrate the results for deterministic analysis vs. machine learning for context analysis approach we first implemented a state machine based on deterministic analysis parameters. An overview of the components of this system are shown in Figure 1.

Deterministic approach overview

Figure 2 – Deterministic approach

The result (Figure 2) is a relatively complicated state machine that needs to be very carefully tuned. This might have been because of our lack of patience, but in spite of our best efforts we were not able to reach detection accuracies of more than around 60%. Before spending a lot more time on manual tuning of this algorithm we switched to a machine learning approach.

Machine learning approach overview

Figure 3 – Machine learning approach

The eventual system structure shown in Figure 3 looks noticeably simpler than the deterministic state machine. Besides standard feature extraction, a central part of the algorithm is the data logging and training module. We sampled over 1 milion of training samples to generate the parameters for our detection network. As a a result, even though we used a relatively simple machine learning algorithm, we were able to reach a detection accuracy of more than 90%. A comparison between ground truth data and classification results from raw data is displayed in Figure 4.

Context analysis algorithm result

Figure 4 – Result graphs comparing ground truth and analysis output for ~1M data points

Conclusion

We strongly belief in the use of machine learning / AI techniques for sensor data classification. In combination with LP-RESEARCH sensor fusion algorithms, these methods add a further layer of insight for our data anlysis customers.

If this topic sounds familiar to you and you are looking for a solution to a related problem, contact us for further discussion.

New Distributor: Visit The Zenshin Tech Shop For Our Motion Sensors

Zenshin Tech screenshot

New worldwide distribution by Zenshin Technology Ltd

Getting our IMU sensors online has just become so much easier. Create your own innovations and simply order at our new worldwide distributor: Zenshin Technology Ltd is an online shop operating from Hong Kong. Have a look at our next generation IMUs and explore the optimized features of for example, the LPMS-CURS2 (9-axis motion sensor with USB, CAN bus and UART connectivity) or the LPMSs-CANAL2 (9-axis IMU with CAN connectivity and waterproof housing).

In addition to our distributors in every region, you can get LP-RESEARCH’s IMU sensors now from Zenshin Tech. Order comfortably with worldwide express shipping from here: https://zenshin-tech.com

Siemens In The House

From left the LP-RESEARCH team with Siemens: Klaus Petersen (Co-founder & CEO), Helmut Wenisch (Head of Corporate Technology at Siemens K. K.), Alok Kumar Dubey (Siemens K. K.), Tobias Schlueter (Head of Research), and Lin Zhuohua (Co-founder & CFO)

From left the LP-RESEARCH team with Siemens: Klaus Petersen (Co-founder & CEO), Helmut Wenisch (Head of Corporate Technology at Siemens K. K.), Alok Kumar Dubey (Siemens K. K.), Tobias Schlueter (Head of Research), and Lin Zhuohua (Co-founder & CFO)

We mentioned before that our new AR development platform is in the making. It hasn’t only generated quite a lot of attention at the recent Slush and Tech in Asia startup fairs. We often have people interested in what we do visiting our office for a demo. Last week, for example, Helmut Wenisch, Head of Corporate Technology at Siemens K.K., and Alok Kumar Dubey of Siemens K.K. were visiting us to experience our prototype first-hand. Thank you so much for coming by and the inspiring conversation!

Our VR Headset In The News

Our booth caught TIA's eye.

Our booth caught TIA’s eye.

Tech in Asia Tokyo 2016 is over but we still get great responses from the fair. It was such an amazing day, thank you once more! Moreover TIA reported on us again, this time in their round-up of interesting booths. It was our new Virtual Reality headset that caught their eye because it made our booth “more attractive and interactive”. Indeed, many visitors were eager to get their hands on it.

If you would like to know more about how we use sensor fusion for VR headset tracking, watch our demo video over here. This is a just a preview, we will give you more updates in the next couple of weeks. In the meantime, read the round-up coverage on the Tech in Asia blog over here.

Tech in Asia Wrap-up

Our booth at TIA was pretty popular.

Our booth at TIA was pretty popular with lots of gadgets to explore.

Last week we set up our booth at the Tech in Asia Tokyo 2016 startup fair. During two days, Japanese and international founders, developers, marketing experts, investors, recruiters and many more roamed the two big halls at Shibuya Gardens Bellesalle. It was a great experience for us to get in touch with potential investors and network with industry experts.

At our booth we highlighted some of our technologies such as our new line of sensors. Besides providing a hands-on experience with our Inertial Measurement Units (IMUs), we showcased our virtual reality headset and wireless controller. These use our sensor fusion technology to combine data from IMUs and a camera-based positioning system to obtain precise, reliable positioning and tracking for a room-scale VR system.

Our booth was pretty popular and throughout the day many curious visitors came to try out the wireless sensor function by themselves. They could hold our new LPMS-B2 Bluetooth sensor in their hands, turn it around and see its tracking in real time on a flatscreen.

See you again next year!

We gave a short presentation at TIA about sensor fusion and our new AR system.

We gave a short presentation at TIA about sensor fusion and our new AR system.

booth-with-customer-2

booth-with-customer

 

1 7 8 9 10 11 15