Questions tagged [multi-layer]

111 questions
11
votes
2 answers

Microservices vs multi-layered architecture

My project has one backend service (Web API) and one frontend SPA application. Backend service has presentation, application services, domain and infrastructure layers located in different .net assemblies. Domain layer has business domain objects,…
Varman
  • 129
  • 1
  • 1
  • 6
8
votes
1 answer

Pymnet - creating a multilayered network visualisation

I have the code below to load the data: from pymnet import * import pandas as pd nodes_id = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 1, 2, 3, 'aa', 'bb', 'cc'] layers = [1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 3, 3, …
zamad27
  • 81
  • 3
8
votes
4 answers

How to use multilayered bidirectional LSTM in Tensorflow?

I want to know how to use multilayered bidirectional LSTM in Tensorflow. I have already implemented the contents of bidirectional LSTM, but I wanna compare this model with the model added multi-layers. How should I add some code in this part? x =…
7
votes
1 answer

Cannot stack LSTM with MultiRNNCell and dynamic_rnn

I am trying to build a multivariate time series prediction model. I followed the following tutorial for temperature prediction. http://nbviewer.jupyter.org/github/addfor/tutorials/blob/master/machine_learning/ml16v04_forecasting_with_LSTM.ipynb I…
zdarktknight
  • 73
  • 1
  • 5
7
votes
1 answer

Most important features in MLPClassifier in Sklearn

I would like to know if there is any way to visualize or find the most important/contributing features after fitting a MLP classifier in Sklearn. Simple example: import pandas as pd import numpy as np from sklearn.preprocessing import…
seralouk
  • 30,938
  • 9
  • 118
  • 133
5
votes
1 answer

Tensorflow same code but get different result from CPU device to GPU device

I am trying to implement a program to test the Tensorflow performance on GPU device. Data test is MNIST data, supervised training using Multilayer perceptron(Neural networks). I followed this simple example but I change the number of performance…
Tran Minh
  • 171
  • 2
  • 9
5
votes
1 answer

Multilayer perceptron in scikit-learn

I am trying to code a multilayer perceptron in scikit learn 0.18dev using MLPClassifier. I have used the solver lbgfs, however it gives me the warning : ConvergenceWarning: Stochastic Optimizer: Maximum iterations reached and the optimization hasn't…
user6564906
5
votes
2 answers

ASP.NET MVC multilayered application: where to place Automapper initialization?

I'm creating a multilayered application, having an asp.net mvc application as the highest layer. The architecture is the following (---> means references): Presentation layer ---> Service Layer ---> Business layer ----> Data access layer ---->…
Errore Fatale
  • 978
  • 1
  • 9
  • 21
4
votes
2 answers

Is it possible to implement a multilayered LSTM with LSTMCells modules in PyTorch?

In PyTorch there is a LSTM module which in addition to input sequence, hidden states, and cell states accepts a num_layers argument which specifies how many layers will our LSTM have. There is however another module LSTMCell which has just input…
Amuoeba
  • 624
  • 9
  • 28
3
votes
1 answer

tf.keras.layers.RNN vs tf.keras.layers.StackedRNNCells: Tensorflow 2

I am trying to implement a multi-layer RNN model in Tensorflow 2.0. Trying both tf.keras.layers.StackedRNNCells and tf.keras.layers.RNN turns out identical results. Can anyone help me out to understand the differences between tf.keras.layers.RNN…
3
votes
0 answers

Can't figure out how multiple hidden layers on Neural Network

I am trying to make my own neural network in order to understand how it works, I do understand some basic differential calculus, but the back propagation formulas are a bit hard for my brain. This is as far as I could…
3
votes
2 answers

python - multilayer perceptron, backpropagation, can´t learn XOR

i am trying implement multilayer perceptron with backpropagation, but still i cant teach him XOR, i will also often get math range error. I looked in books and google for learning rules and error back propagation methods, but still i have no idea…
user2173836
  • 1,461
  • 2
  • 15
  • 19
3
votes
1 answer

Spring MVC, handle errors in @service layer and send them to the jsp

I seek the best way to handle error validation in the @service layer in a spring mvc application. I have a @Controller and a @Service class. My controller : public String saveProduct(Product product) { myService.saveProduct(product); return…
Christos Loupassakis
  • 1,216
  • 3
  • 16
  • 23
3
votes
2 answers

How to handle exceptions in a multi-layered ASP.NET Web Application

I have an ASP.NET Web Forms application with UI, Service layer and Repository layer. Some of the methods in my Service Layer communicates with a Web Service, therefore I would like to wrap all the calls to the Web Methods in a Try-Catch-Finally…
CiccioMiami
  • 8,028
  • 32
  • 90
  • 151
2
votes
5 answers

Multi-layered Hash in Java

In Perl if I want to have a multi-layered hash, I would write: $hash_ref->{'key1'}->{'key2'}='value'; Where 'key1' might be a person's name, 'key2' might be "Savings Account" (vs. "Checking Account") and 'value' might be the amount of money in the…
DarthestVader
  • 117
  • 1
  • 9
1
2 3 4 5 6 7 8