Comments (3)
from lstm_tsc.
Good evening Rob and thank you for your clear answer. I was thinking about the same, as the three rnn would know nothing about each other and that seems wrong to me.
The only doubt that I have left is if I have to concatenate the time series by column, so to have 3sl, or by rows, so to have 3N. And in the last case, should I also make y_train three times longer?
Thank you again!
from lstm_tsc.
This should help you
import tensorflow as tf
sl = 63
x1 = tf.placeholder(tf.float32, [None,sl],name="x1")
x2 = tf.placeholder(tf.float32, [None,sl],name="x2")
x3 = tf.placeholder(tf.float32, [None,sl],name="x3")
x123 = tf.stack([x1,x2,x3]) # Stacks on inner dimension
x123t = tf.transpose(x123,[1,0,2]) # transpose to whatever you need
print(x123)
print(x123t)
>>> Tensor("stack_1:0", shape=(3, ?, 63), dtype=float32)
>>> Tensor("transpose_1:0", shape=(?, 3, 63), dtype=float32)
from lstm_tsc.
Related Issues (16)
- Deprecation Warnings HOT 5
- TypeError: Fetch argument None has invalid type <class 'NoneType'> HOT 1
- cannot import name 'check_test' HOT 1
- AUC calculation
- Any chance you could choose a license type for this? HOT 4
- Tensor Flow 1.5 needs the following code modifications to work.
- loadtxt “could not convert string to float”
- will it work for multivariate time series prediction both regression and classification HOT 2
- TypeError 'The value of a feed cannot be a tf.Tensor object. ' HOT 4
- TypeError: Fetch argument None has invalid type <class 'NoneType'> HOT 7
- Accuracy vs Cost HOT 6
- tf.nn.rnn.LSTMcell() HOT 3
- Any destriptions for those datasets? HOT 1
- cost_train_ma value HOT 1
- download UCR HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lstm_tsc.