Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normalizing sensor data #27

Open
siriusmehta opened this issue Mar 16, 2021 · 1 comment
Open

Normalizing sensor data #27

siriusmehta opened this issue Mar 16, 2021 · 1 comment

Comments

@siriusmehta
Copy link

Hi @ALL ,

I just tried training a model for Punch/Flex gesture and was not able to understand why are we adding 4 and dividing by 8 similarly for 2000 and 4000 for gx values:

tensor += [
(df['aX'][index] + 4) / 8,
(df['aY'][index] + 4) / 8,
(df['aZ'][index] + 4) / 8,
(df['gX'][index] + 2000) / 4000,
(df['gY'][index] + 2000) / 4000,
(df['gZ'][index] + 2000) / 4000
]

If I capture my own custom data will these value change if yes then how we can feed in the right values for normalising the input tensor

Thanks

@siriusmehta
Copy link
Author

Hi

Thanks,

Finally I get it why we are doing the above math. The numbers 2000 and 4 are coming from the max/min ranges of arduino accelerometer .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant