8940 views|15 replies

124

Posts

1

Resources
The OP
 

【LSM6DSOX's MLC machine learning understanding】--Training data set display gadget [Copy link]

 
 

In [Understanding MLC Machine Learning of LSM6DSOX]--Sharing of Machine Learning Usage Tutorial , I introduced in detail the detailed usage and configuration process of the LSM6DSOX machine learning module.

In [Understanding MLC Machine Learning of LSM6DSOX]--Training Dataset Correction Tool , the usage of the MLC training dataset correction tool is introduced in detail.

After collecting and correcting the motion data, we got the training data set, but in the following use, we want to see if our data is suitable. When configuring parameters, we need to see what the various statistical values of some intervals in the data set are.

Emmmmm…..It’s the same. Unico doesn’t provide us with a convenient way to view data….

So, I wrote another small tool to check the statistical indicators of the corrected data.

Simply and crudely named it " MLC Data Display Tool " it still looks like the following (well, I only have the avatar picture)..

The usage is still simple, and the interaction logic is similar to the MLC data correction tool .

After opening the gadget, you need to wait about 20 seconds for it to unpack, and then a prompt box will appear:

At this point we need to find the dataset folder that has been corrected by the MLC data correction tool , and open any txt file in it:

Then it will enter the full-screen preview state, and the overall interface layout is consistent with the MLC data correction tool .

However, the file directory and file name display area are added to the header to facilitate viewing of which data set the waveform belongs to.

There are two areas on the left and right sides of the chart . Click to switch the waveform of the previous or next data set in the current folder to display. (The unit of acceleration is g, which has been changed in the program )

You can see that there is also a vertical line following the mouse movement. The operation of this vertical line is the same as that of the MLC data correction tool . The first click records the current position as the starting position, and the second click records the end position . Then the tool will calculate according to the interval data you selected to obtain the mean, variance, energy, maximum, minimum, and peak-to-peak data of each axis in this interval, as shown in the figure below:

We can click Yes to save the data in the cal directory under the current dataset directory, which makes it easier for us to compare data from different datasets.

The saved data format is: (the acceleration unit is g, which has been changed in the program)

The exit operation is the same, just double-click the right button anywhere on the chart page.

Still the same little note:

You can exit the tool by double-clicking the right button of the mouse at any position on any chart interface .

In the chart interface, if the prompt box accidentally moves to the background and cannot be clicked, you can press the "F" key to exit the full screen in the English input method , or press the "win" key to display the status bar and continue the operation .

at last:

I hope this gadget can help you~~~

Wish you all a happy Labor Day on May 1st

游客,如果您要查看本帖隐藏内容请回复

Latest reply

The boss is too strong   Details Published on 2024-3-9 20:17
 
 

5221

Posts

239

Resources
2
 

If the attachment is too large, you can upload it to the download center: https://download.eeworld.com.cn/

Add and join groups EEWorld service account EEWorld subscription account Automotive development circle
 
 
 

124

Posts

1

Resources
3
 
nmg Published on 2020-5-4 08:43 If the attachment is too large, you can upload it to the download center: https://download.eeworld.com.cn/

Okay, I learned it.

 
 
 

14

Posts

0

Resources
4
 

I am experimenting step by step according to your experience tutorial, it is still very useful.

 
 
 

14

Posts

0

Resources
5
 

There are so few people as professional as you!

 
 
 

67

Posts

1

Resources
6
 

Can you please release the source code of this program?

 
 
 

280

Posts

7

Resources
7
 

The poster is so professional, he must be arranged by the authorities to lead the way!

 
 
 

124

Posts

1

Resources
8
 
poponianhua posted on 2020-5-7 21:02 Is it convenient to release the source code of this program?

If the program is not open source, there are generally two possibilities:

1. Protect intellectual property rights

2. The code I wrote for fun is messy and bad, and I am too embarrassed to open source it...

Well, I am the second type...

The gadget is implemented in Python and is written purely to achieve the function..

If you have any functional suggestions or problems with implementation ideas, please feel free to communicate with us.

Unless there is a special situation, the code will not be released to "bite people"...

 
 
 

124

Posts

1

Resources
9
 
sipower posted on 2020-5-8 14:22 The OP is so professional, he must be the official guide!

Thank you for the award..

I am about to graduate from "Home University" and I will learn a lot from the competition.

 
 
 

3

Posts

0

Resources
10
 
 
 
 

15

Posts

0

Resources
11
 

Awesome

 
 
 

2

Posts

0

Resources
12
 

Like it first

 
 
 

2

Posts

0

Resources
13
 
 
 

2

Posts

0

Resources
14
 
Great resource!!!
 
 
 

2

Posts

0

Resources
15
 
 
 

3

Posts

0

Resources
16
 

The boss is too strong

 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list