Relative Content

Tag Archive for pythontime-seriesrandom-forest

Random Forest with time series data

I have a set of parameters that have time series data. I have rearranged the input in a way that looks like
A.1 B.1 C.1 A.2 B.2 C.2 A.3 B.3 C.3
3. 2. 1. 2. 1. 1. 4. 4. 4
2. 1. 4. 4. 4. 2. 2. 4. 4
where A, B, and C are my parameters, each with three values of time series. The rows represents different instances. I am training a random forest with this input data. Then, I am plotting the importance of the parameters. Initially, my plots showed a bar for each one of the parameters with its time serie, for example A.1, A.2, A.3, … But I wanted to plot the A, B, and C. What I did was to reshape and add their importance, for example A=A.1+A.2+A.3 and so forth for each parameter,I am new to machine learning, so I want to ask if this procedure is appropiate or if I need to change anything in my process, thank you.