Questions tagged [multi-layer]

111 questions
2
votes
1 answer

Matrix inverse approximation with keras dense model

I am training a neural network to calculate the inverse of a 3x3 matrix. I am using a Keras dense model with 1 layer and 9 neurons. The activation function on the first layer is 'relu' and linear on the output layer. I am using 10000 matrices of…
2
votes
1 answer

multi layer LSTM net with stateful=True

My question is does the this code make sense? And if this makes sense what should be the purpose? model.add(LSTM(18, return_sequences=True,batch_input_shape=(batch_size,look_back,dim_x),…
D.Luipers
  • 127
  • 1
  • 11
2
votes
2 answers

Keras seq2seq stacked layers

In tutorial: https://blog.keras.io/a-ten-minute-introduction-to-sequence-to-sequence-learning-in-keras.html we have one layer seq2seq model. I would like to extend this model with one additional layer on encoder side and one additional layer on…
Amel Music
  • 119
  • 2
  • 9
2
votes
1 answer

How to train a multiplier with MLP?

I'm new to neural networks. Im trying to understand what kind of solutions a multilayer perceptron can learn to achieve. Is it possible to train an MLP to do multiplication by just giving discrete amount of examples? I could teach it how to do…
M.kazem Akhgary
  • 18,645
  • 8
  • 57
  • 118
2
votes
1 answer

Multi layer RNN with LSTM in Tensorflow

I have coded a single layer RNN with LSTM in Tensorflow (ver 1.5) by Python (ver 3.6). I would like to add 3 hidden layers to this RNN (i.e one input layer, one output layer, and three hidden layers). I have read about cell's state, stack, unstack…
2
votes
1 answer

Multilayer Neural Network - Loss Function is negative and Accuracy (low) remains unchanged

I build a Neural Network with two hidden layer. I Use ReLu activation for two layer and for the last ( out_layer) I use a linear activation function. Input value, x, have 125 columns (feature). The model is: def multilayer_perceptron(): …
jjgasse
  • 319
  • 2
  • 5
  • 16
2
votes
1 answer

Multi Layer Tiff labelled dataset conversion to format that tensor flow can use for model optimisation

I'm a Python and Tensor Flow newbie, and was wondering... How best to convert a labelled dataset of Multi-Layer Tiffs into a format that Tensor Flow can use for model optimisation / fine tuning ? I currently have this code that puts each layer of a…
OneWorld
  • 163
  • 2
  • 12
2
votes
1 answer

Neural Networks Value Errors: Shapes not alligned

I am trying to apply neural network (Multi layer perceptron) to my data. I get this error: ValueError: shapes (3,) and (4,99) not aligned: 3 (dim 0) != 4 (dim 0) I have error on this line: a = self.activation(np.dot(a, self.weights[l])) If somebody…
serenade
  • 359
  • 2
  • 5
  • 13
2
votes
0 answers

C# TIFF Multi-layer file

I usually use Adobe Photoshop to create "multi-layer" tiff files. I am not talking about multi-frame or multi-page tiff. They are layers above each other. Photoshop can save them, and later when I open them, I still can work with layers easily. Is…
themehrdad
  • 169
  • 4
  • 12
2
votes
0 answers

Have problems using Matlab coding Deep Neural Network

I was trying to build a 5-layer neural network to classify a 3 classes, 178 instances and 13 features dataset. Basically I was following the guideline given here. I have written down my own code in Matlab and it can successfully run. However, the…
2
votes
1 answer

Placing values(numbers) in a multilayers cell matrix in MATLAB

Assume Q is a matrix which has 3 cells and in each cell it has 2 other cells, means: Q={ { [] [] } ; { [] [] }; { [] [] } } Moreover, if we have "a" and "b" which they have 3 member each, and we would like to place "a(1,1)" into "Q{1}{1}",…
Iman
  • 412
  • 4
  • 18
2
votes
0 answers

Is multiple CAEAGLLayer available in iOS?

I get an OpenGL view by + (Class) layerClass { return [CAEAGLLayer class]; } and I want to add sublayer to it by CAEAGLLayer *eaglLayer2 = [[CAEAGLLayer alloc] init]; [self.layer addSubLayer:eaglLayer2]; The purpose to think this is that I…
Joe Jia
  • 109
  • 1
  • 3
1
vote
0 answers

Create multi-layer (multiplex) network from adjacency matrices

I faced the following problem. I have several adjacency matrices that represent different types of connections for the same set of nodes. Let's say I have 3 types of connections. I am trying to build a multi-layer network and calculate a bunch of…
1
vote
0 answers

Multi-layer social network (multiplex) using networkx

For my thesis, I am trying to built a multilayer social network from twitter data I received from my professor, to analyze the reciprocity of emotions and check out occuring spikes and their relation to worl events. It is important to note, that I…
Enie
  • 11
  • 3
1
vote
1 answer

Multi-layer well screen in Flopy

I want to implement wells that screen several layers in the model domain. However, when setting up the wel package in Flopy, only one layer can be entered in the stress period data of each well, as shown in the Flopy example below: # Create the well…
Aeonian
  • 25
  • 3