EMG signal two inputs

Hi there if i used to EMG sensor to read the signals and then i want to combine the two signals as one input for the machine learning prediction how can i do that .am i supposed to take the average or the defferential or what

Your topic was MOVED to its current forum category as it is more suitable than the original because it was not about installation or troubleshooting

One would combine the signals together in whatever fashion fits into their combine the signals model in such a way that the combined signal is an acceptable input for the machine learning model being used.

Which machine learning model is being used?

im using the CNN so i want to know how to use the input signals for the predictions

Don't you mean KNN?

What do you mean by "combine the 2 signals"?

CCN is a thing: Convolutional Neural Network.

Well, if I want to use the prediction function whether in MATLAB or python i need to make the signal as input to predict. My case i have to use 2 sensors to detect the signals from different muscles to determine the movement of which fingers

And where does "prediction" come in?

Yea I know.

Which CNN library are you using for Arduino?

I'd use the individual sensor readings to produce a trained KNN model in such a way as both signals from each sensor is part of the trained model.

Such as to produce a model for detecting a left index finger movement include the signal received from both sensors when only the left index finger is moved.

im reading the signals using arudino and the machine learning im using the MATLAB or the pyhton

Oh you need help with methlab and Python programming?

You've got trained models, right?

I got the tranied model yes. i just want to know how im supposed to read the 2 input signals from arduino

Did you train the model using signals from both sensors or just one sensor?

Post your code where you have tried to combine the signals. Post the EMG modules being used. Post a schematic.

i got the datasets from the internet and i used this data to train the model .This datasets is collected using two sensors

So is your question actually about how to get even 1 signal from 1 sensor through the Arduino into Matlab / python?

Sounds like right now, there's no comms between the sensor / Arduino and the PC / Matlab / python?

no this is not my question


here is the sensor that im using im using two of them which means two analog signals

So do you have a way right now of getting one signal from the sensor, through the Arduino, into Matlab/python?

Good luck with your try.

yes i do. but i dont know how to combine the 2 signals coming from the 2 sensors