# Understanding Time Series Data for Classification

I have collected data from numerous volunteers driving a simulator in 8 different scenarios (classes). A volunteer drives in a map for 4 minutes in one scenario (one experiment), then he drives in the same map for 4 minutes in a different scenario(second experiment).

Our current dataset has around 0.4 million rows of driving data.

Let us consider volunteer 1 (henceforth V1), He drives in Day Non-distracted (DN) scenario producing N rows (say 1000). He drives in Day Distracted (DD) scenario producing N rows ( say 1000). . . . For eight scenarios, thus producing around 8000 rows of driving data.

Volunteer 2 ( V2) produces 8000 rows of driving data. And we have collected data from around 52 volunteers. So we have 52 * 8000 rows of data rows in total. The data looks like this.

In our current approach, we are saving the mode corresponding to each data points in the one hot format and we expect the deep neural network to crunch the numbers one data row at a time and form a relation between these 9 features and the 8 classes.

I would like to build a neural network model which will help me classify the data into 8 classes.

How do I proceed from here? Is this data a time series data? Does looking at each row of driving data make any sense? or should I be looking at the entire data rows of V1 in DN scenario as one input ?

Right now I am just doing a multi layer perceptron model, expecting the system to crunch the 9 features and find a relation to the mode. But somehow I feel that's not the way to look at this data.

I am very new to machine learning. Any help would be great. Thanks in advance.

• Use an RNN of some sort. Feb 18 '18 at 20:34
• RNN examples that I saw was looking at previous time step output(Single output). If I want the last 5 seconds data, I would have like 15 rows with 15 outputs (3 rows for each second). (Multiple output). And I am not sure how to use 15 outputs in the previous time step. Feb 18 '18 at 20:59
• What is the "thing" you want to classify? Do you want to classify each individual row on its own? Or do you want to process all 400k rows and get a single class for that? RNN's can produce a single output, rather than one output per time step -- you just use the final value of the hidden state as the input to some simple classifier.
– D.W.
Feb 19 '18 at 16:57
• It is not clear to me. Here is what I know: If you know for each row (input) the one output, then the design would be to prepare some training data that you know their input and output - 400k in your case- and you train your system (something like: if this input then it is this output). Once done, then your system is ready to solve new rows, the NN would calculate (classify) the input and give you the output. Is this what you are trying to achieve? Feb 19 '18 at 20:34
• Hi all, I have updated the question. Hope I made some sense this time. Feb 20 '18 at 3:21