Hi, I’m working on my app that uses LeapMotion sensor. Data I am working on is a distance between two fingers (in CSV file it is a single column, where rows represent every Nth frame). I trained my model with few different examples (fingers moving, steady, moving halfway) and evaluated some test data (also from CSV file) with almost 100% accuracy. But I have 2 problems. I want to gather live data from the sensor and make a prediction after specified amount of frames without use of CSV. How can I transfer this data (list of single distances) into 3 dimensional INDArray? Data from CSV files is 3 dimensional but maximum I managed to create from live data is 2. And the second problem is when I have output from my network (also 3 dimensional INDArray - [ [ [data], [data], [data] ] ] I can’t manage to extract the maximum value from this array to recognize the label - I know I can do this with Evaluation but for this I need labels which I don’t have (I want to recognize the movement). I’ve searched for solution on Stack, in official examples for DL4J on GitHub but haven’t found any solution.
Thank you for your help, below is my network configuration and small part of CSV file.
MultiLayerConfiguration conf = new NeuralNetConfiguration.Builder()
And CSV sample: