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

SeeDot: Arduino Accuracy or Prediction Mode & Documentation #178

Open
BrianEubanks opened this issue May 19, 2020 · 2 comments
Open

SeeDot: Arduino Accuracy or Prediction Mode & Documentation #178

BrianEubanks opened this issue May 19, 2020 · 2 comments

Comments

@BrianEubanks
Copy link

Is there any documentation on using the SeeDot generated Arduino sketch? The README is empty.

I'm having issues specifically using Accuracy mode so I can test a whole data set and not be limited to the one preset data point in Prediction mode.

I trained a Bonsai model using USPS10 data and then created the Arduino sketch using SeeDot. I was following all the instructions up to this point and was getting good results, however I cannot get any predictions to work with accuracy mode.

In the accuracy mode, you need to send each data point to the device using serial communication.
There is a master, typically a desktop machine, that has access to the data set and is responsible for sending each data point to the client, the Arduino device. The first step in the Arduino code is to sync with the master. After that, each data point is sent as a stream of bytes. The getIntFeature in arduino.ino reads the stream of bytes and converts them to integers.

You would need to write code for the master to make this work.

Originally posted by @sridhargopinath in #130 (comment)

Could you explain this a little more for me? After I send "fixed" to sync the master, I don't think I'm sending the data in the right format. My understanding is that the data points are stored in the CSV files that SeeDot created, and I should be able to send it a data point from the X.csv file and the prediction should match whats in the Y.csv file. However I've been unable to get any kind of result.

@adityakusupati
Copy link
Contributor

@sridhargopinath can you look at this.

@sridhargopinath
Copy link
Contributor

@aayan636

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

3 participants