Skip to main content

Questions tagged [input-layer]

Input layer is the first layer of any neural network and contains the input. Use this tag for asking questions related to this layer of the neural network.

Filter by
Sorted by
Tagged with
0 votes
0 answers
32 views

Shape mismatch error in a multi-input model with Keras API

My intention is to have a classification model where different types of input could have individual hidden layers before being concatenated downstream. I get the error (below) stating that my input ...
Art's user avatar
  • 1
1 vote
0 answers
64 views

What is the best way to train a neural network with a variable number of inputs?

Suppose I have a neural network with 5 inputs: [A,B,C,D,E] There is only 1 output. The expected accuracy of the model should increase when all 5 inputs are ...
user18959's user avatar
0 votes
0 answers
66 views

Neural network dynamic input shape vs fixed input shape in input layer for handling NULL values

I have binary classification problem, we know that the output layer will be scalar or dense a.k.a. 1 unit neuron with sigmoid as function activation. 1 means is the subject will die, while 0 means ...
Muhammad Ikhwan Perwira's user avatar
0 votes
0 answers
20 views

How can I feed data files of different sizes to a CNN?

I have 5022 data files. I want to feed them into a CNN model. However, the lengths of data files vary from, say, 50 to 1015 rows (the number of columns is constant). In the case of image files, we can ...
user366312's user avatar
0 votes
0 answers
25 views

Permute inputs of neural network and expect different outputs?

My question is about if it makes sense to define a function (MLP) that takes two feature vectors f1 and f2. However, I want MLP(f1, f2) != MLP(f2, f1). I believe ...
mra-h's user avatar
  • 1
0 votes
0 answers
57 views

New input to NEAT not improving learning

I have a set of NEAT inputs for a jump game but the learning was getting stuck at one point. Consider the following screen where Z is the player and ...
paxdiablo's user avatar
  • 101
0 votes
0 answers
16 views

Feeding variable length of 2D image slices of the MRI into the deep neural network

I am trying to build a classifier that would predict the correct outcome (disease vs healthy) using a set of 2D slices derived from the 3D MRI scan. For each patient, based on the 3D scan, I am able ...
Oleg's user avatar
  • 101
0 votes
1 answer
43 views

Temporally Non-Aware RNN

I am trying to classify whether or not a specific object is in panoramic photos. The issue is, a panoramic photo can be any width, so the input to my neural network can't be fixed in that dimension. I'...
user avatar
1 vote
2 answers
69 views

Is data useless for a neural network if some inputs are derivatives of other inputs?

That is, if some of the inputs to a neural network can be calculated by a pre-determined function whose variables are other inputs, then are those specific inputs useless? For example, suppose there ...
BlueSnake's user avatar
1 vote
4 answers
2k views

Neural networks with sparse inputs

I have a task I want to solve with neural networks. The task is predicting a certain vector of dimension K. The problem is that the inputs to the networks are sparse. The input is a vector of size N, ...
Ant's user avatar
  • 121
2 votes
0 answers
34 views

Is there any way to force one input have more effect on model?

Now I am working on building a deep learning model for a regression problem. I used 50 inputs and try to add one new categorical input. The problem is that this one input is much more important than ...
taegyun kim's user avatar
0 votes
0 answers
131 views

How can Siamese Neural Networks accept a variable number of inputs?

Traditionally, Siamese Neural Networks have two inputs. With some tweaking, you can get them to accept any number of inputs. What I don't understand is how to get them to accept variable numbers of ...
GameDungeon's user avatar
2 votes
0 answers
88 views

Is it a good practice to split sparse from dense features?

I have a mixture of real (float) and categorical features to use as input in a neural network. I encode the categorical features using one-hot / multi-hot encoding. If I want to use all the features ...
Michael's user avatar
  • 159
0 votes
2 answers
110 views

Correctly input additional values into CNN

I understand that in order to add additional inputs to a CNN, e.g. in self driving, I can append the data to a flattened layer after the convolutions and before the fully connected layers. However, a ...
Benjoyo's user avatar
  • 101
0 votes
1 answer
154 views

How to handle random order of inputs and get same output?

I am a beginner with DL. I did some tutorials and I know the basics of TensorFlow. But I have a problem understanding how to construct more advanced NNs. Let's say I have 6 inputs and a list of 500 ...
tech2097's user avatar
0 votes
0 answers
85 views

Is there any difference between 'input' and 'conditional input' in the case of neural networks?

In the research paper titled Conditional Generative Adversarial Nets by Mehdi Mirza and Simon Osindero, there is a notion of conditioning a neural network on a class label. It is mentioned in the ...
hanugm's user avatar
  • 3,930
0 votes
1 answer
75 views

Using a Neural Network (LSTM) to approve/reject word-type sequences

I would like to train an LSTM neural network to either "approve" or "reject" a string based on the word-type sequence. For instance: "Mike's Airplane" would output "...
Michael Lyons's user avatar
0 votes
0 answers
38 views

How can I take continuous video input into my model?

Let's say I have designed an ML model that can take video input of a dog running around and give the breed of the dog as output. However, I do not want to wait for the video to finish before it is ...
user avatar
3 votes
1 answer
527 views

Why is the input layer of a neural network usually not counted?

I came across the following statement from the caption of figure 7.8 from the textbook Neural Networks and Neural Language Models the input layer is usually not counted when enumerating layers Why ...
hanugm's user avatar
  • 3,930