Answers.Body: <p>I don't think time series model necessarily makes sense if you have one conductivity value to predict for each time series.</p>
  <p>A regression like setup makes more sense here: you could model this by letting the vector of time points represent the input. So you'd end up with a <span class="math-container">$n \mbox{ x } t$</span> matrix as input to predict the conductivity value.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-12-23T21:19:02.770Z
Answers.LastActivityDate: 2021-12-23T21:19:02.770Z
Answers.UserDisplayName: sma
Body: <p>I have a dataset where I am recording temperature after every 4milliseconds till 500 and another feature &quot;<strong>conductivity value</strong>&quot;. The length of the dataset is around a 1000 rows. I need to find the conductivity value based on the temperature pattern.</p>
  <div class="s-table-container">
  <table class="s-table">
  <thead>
  <tr>
  <th style="text-align: center;">t1</th>
  <th style="text-align: center;">t2</th>
  <th style="text-align: center;">t3</th>
  <th style="text-align: center;">....</th>
  <th style="text-align: center;">t5</th>
  <th style="text-align: center;">conductivity</th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td style="text-align: center;">90</td>
  <td style="text-align: center;">91</td>
  <td style="text-align: center;">93</td>
  <td style="text-align: center;">....</td>
  <td style="text-align: center;">96</td>
  <td style="text-align: center;">0.34</td>
  </tr>
  <tr>
  <td style="text-align: center;">92</td>
  <td style="text-align: center;">91</td>
  <td style="text-align: center;">93</td>
  <td style="text-align: center;">....</td>
  <td style="text-align: center;">95</td>
  <td style="text-align: center;">0.36</td>
  </tr>
  </tbody>
  </table>
  </div>
  <p>I am bit confused on how to use the dataset in a time series model such as LSTM because I have all the time sequence in columns and I don't know the conductivity values in between as in t2,t3,t4.</p>
  <p>I think the dataset becomes a classification problem with the current format.</p>
  <p>Can you guys help me out?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2021-12-21T13:02:14.970Z
Comments.Text: I think that what You could do is to treat your 't' data as input vector and conductivity value as y and, as You said, train LSTM-based network on this. If You want to make it work in real time, You can collect last 5 't' values into a list and then put it into network for prediction. After that erase the oldest value from the list and add new one on the other side. If You'll loop that You'll have real-time conductivity predictions.
Comments.UserDisplayName: MASTER OF CODE
Tags: <deep-learning><long-short-term-memory><time-series><regression>
Title: Is my dataset a time series dataset? and should I use an LSTM?
UserDisplayName: Araib karim
ThreadText: # Is my dataset a time series dataset? and should I use an LSTM?
  
  (Asked by: username_0 on 2021-12-20)
  
  I have a dataset where I am recording temperature after every 4milliseconds till 500 and another feature "**conductivity value**". The length of the dataset is around a 1000 rows. I need to find the conductivity value based on the temperature pattern.
  
  | t1 | t2 | t3 | .... | t5 | conductivity |
  | --- | --- | --- | --- | --- | --- |
  | 90 | 91 | 93 | .... | 96 | 0.34 |
  | 92 | 91 | 93 | .... | 95 | 0.36 |
  
  I am bit confused on how to use the dataset in a time series model such as LSTM because I have all the time sequence in columns and I don't know the conductivity values in between as in t2,t3,t4.
  
  I think the dataset becomes a classification problem with the current format.
  
  Can you guys help me out?
  
  **Tags:** deep-learning, long-short-term-memory, time-series, regression
  > **Comments:**
  > **username_1**: I think that what You could do is to treat your 't' data as input vector and conductivity value as y and, as You said, train LSTM-based network on this. If You want to make it work in real time, You can collect last 5 't' values into a list and then put it into network for prediction. After that erase the oldest value from the list and add new one on the other side. If You'll loop that You'll have real-time conductivity predictions.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2021-12-23. Score: 0 | Accepted answer
  
  I don't think time series model necessarily makes sense if you have one conductivity value to predict for each time series.
  
  A regression like setup makes more sense here: you could model this by letting the vector of time points represent the input. So you'd end up with a $n \mbox{ x } t$ matrix as input to predict the conductivity value.
  
  
  ---
  
  