Questions tagged [multi-layer]
111 questions
1
vote
1 answer
requirement failed: A & B Dimension mismatch! : Multilayer Perceptron Pyspark
I build a pipeline with the Multilayerperceptronclassifier but when I try to evaluate the results I obtain an error. Can anyone hel me to fix the problem?
I think there is no problem with the pipeline before the classifier since I used with several…

Lorenzo Maggio
- 15
- 4
1
vote
0 answers
Embeddings in sentiment analysis task with PyTorch and Multilayer Perception
I have the body of the code, which should work fine, I think it doesn't because of something I'm messing up here, probably having to do with the embedding.
import torch.nn as nn
class MultilayerPerceptron(nn.Module):
def __init__(self,…

Flavio Spadavecchia
- 21
- 2
1
vote
1 answer
ASP.NET MVC - Multilayer doubts
I've been working on a ASP.NET MVC project with LinqToSql. The application has 3 layers: UI, Business and Data.
The last few days I was implementing (I'm still are) a Excel file upload. So my Controller receives the file uploaded, does some stuff,…

André Miranda
- 6,420
- 20
- 70
- 94
1
vote
1 answer
How to understand the ArrayList
when I use ArrayList> in multi-layer loop, the ArrayList> are weird.
import java.util.*;
public class Main {
public static void main(String [] args){
ArrayList>resList=new…

Helin
- 65
- 1
- 4
1
vote
2 answers
How to use session storage data in multi layer architecture in C# with ASP.NET MVC?
I am working on a project and using N-Layer architecture (web layer, service layer, data access layer).
I am facing an issue regarding the use of session storage in the data access layer.
I am storing data in the web layer (controller) and I want to…

Manoj Kumar
- 41
- 1
- 1
- 3
1
vote
0 answers
Transition from multi layer to single layer
I've got problem with my code. I make a transition from a single layer to a multi layer and then rotate the device.
After that, i replace the multi layer back to a single layer, again. Everything works as expected until I rotate the device again,…

kuwux
- 11
- 2
1
vote
3 answers
Modularity maximization and GenLouvain implementation in python
I have a temporal multilayer network that I want to find communities by using modularity maximization.
I was wondering if there is an equivalent version of Matlab GenLouvain in Python for maximizing modularity in community detection?
Preliminary…

Ulgen
- 93
- 1
- 8
1
vote
3 answers
When Creating/Updating an entity, Should I Pass object to business logic or object values?
When working with an entity, which of the following is recommended? (The following code is in UI Layer. UserManager is in Business Layer)
1-
protected void btnReturn_Click(object sender, EventArgs e)
{
var user = new User();
user.Name =…

Kamyar
- 18,639
- 9
- 97
- 171
1
vote
1 answer
How to fit a MultiLayerPerceptron Classifier in Pyspark?
Hi I am trying to fit a MultiLayerPerceptron with PySpark 2.4.3 Machine Learning Library. But every time I try to fit the algorithm I get the following error:
Py4JJavaError: An error occurred while calling o4105.fit.
:…

David Mora
- 101
- 1
- 8
1
vote
1 answer
PySpark MultiLayerPercepTronClassifier seems to not work wirh OneHotEncoding
I'm running a duummy example to perform classification with PySpark.
I created an ETL pipeline in which labels are transformed to OneHotEncoding, but
PySpark throws:
IllegalArgumentException: 'requirement failed: Column label must be of type numeric…

ignatius
- 189
- 2
- 14
1
vote
1 answer
Where should the controllers be in a multi layered solution
Description:
I have a solution in Visual Studio which has multiple projects as application layers.
Business Logic (.NET Standard)
Data Access Layer for database operations (.NET Standard)
Web Application (.NET Core)
Xamarin Forms Mobile
Xamarin…

Arman Kocayan
- 23
- 7
1
vote
1 answer
Audit in Data Layer instead of single Layer Application
This is my first kind of task and i am using this tutorial.
Link
The differences are that this tutorial is made in a single layer so it is easy accessing the Identity properties.
My project has
Data Layer, where DB context is located (and all…

nightowl
- 309
- 1
- 3
- 13
1
vote
1 answer
Python Error in extracting data from nested json
I could not find any solution similar to my json structure in python in the forum, so asking a fresh help.
I am trying to extract the value of Latitude and Longitude from the file called geolocation.json which has the following…

Bukaida
- 225
- 2
- 6
- 15
1
vote
1 answer
how to conduct the proper multilayer perceptron on interval data
I have a dataset of the daily temperature for a couple of years. The data is in the interval form, including daily high temp and daily low temp.
I want to do a forecasting of the data, and I recently read several paper mention that the multilayer…

user456649
- 11
- 1
1
vote
2 answers
Dropwizard multi-layer application
I had simple Dropwizard rest service application which had only two layers: controller layer (aka resource) and persistence layer (aka dao). Dropwizard application was small and concise and worked smoothly.
But then, after while some requirements…

tyomka
- 459
- 2
- 5
- 14