All Questions
Tagged with keras neural-network
661
questions
1
vote
0
answers
46
views
Why can't I replicate the results from this paper?
I'm trying to train a model to evaluate chess positions, following the methodology from this paper (note that the author presents several different architectures, but I'm only looking at the ANN with ...
0
votes
1
answer
57
views
Is it possible to train a neural network to feed into a Random Forest Classifier or any other type of classifier like XGBoost or Decision Tree?
I want to create a model architecture to predict future stock price movement as such:
The Goal of this model is to predict if the price will go UP or DOWN within the next 3 months.
I have tried a few ...
0
votes
0
answers
9
views
Overfitting - Imbalance Classification using Deep-feed forward network
I have an unbalanced dataset, so I used SMOTEENN on the training set to resample, after training DFF,i could see the model is overfitting, could someone help me solve this?
Thank You.
...
0
votes
0
answers
41
views
Tensorflow SegNet architecture
I was unable to find a complete description of the SegNet architecture for image segmentation (specifically, the decoder layers). Therefore, I would like to clarify the correctness of my ...
1
vote
1
answer
50
views
Does using different optimizer change the loss landscape
I plot the landscape using this code, and I notice the landscape shape has changed a lot. My understanding is that the optimizer does not change the loss landscape. But now I'm confused if its just ...
0
votes
1
answer
26
views
How do I ensure final output shape matches input shape for a semantic segmentation task?
I trying to replicate the semantic segmentation example
https://keras.io/examples/vision/oxford_pets_image_segmentation/
but train on my own data. I have 8 labels (7 features + background). My images ...
0
votes
0
answers
10
views
Using a neural network to predict disease outcomes in individual cases
I'm working on a research project with the goal of using a neural network to predict disease outcomes for patients. I've built a neural network using Tensorflow and Keras and I've trained and tested ...
0
votes
1
answer
23
views
Connecting Flatten layer to Dense layer
I'm struggling with my neural network.
In short, I need to recreate a model from anywhere on the internet, I've found a model that combines BiLSTM, LSTM and GRU. However, based on the error I got when ...
0
votes
1
answer
37
views
My custom neural network is converging but keras model not
in most cases it is probably the other way round but...
I have implemented a basic MLP neural network structure with backpropagation. My data is just a shifted quadratic function with 100 samples. I ...
0
votes
1
answer
31
views
What exactly is saved when I save a NN?
After we trained a Neural Network, we can save it in order to be able to predict without re-training. So when we use model.save('my_model.keras') what exactly is ...
0
votes
0
answers
18
views
Neural network does not overfit my data. (Primarily linear function)
I am using TensorFlow and Keras. My goal is to approximate a primarily linear function that is partially nonlinear, such that a linear regression yields a Mean Absolute Error (MAE) of 0.13. All ...
0
votes
0
answers
20
views
Keras DNN outputs the same value over and over
I'm creating an ensemble of NNs with the same architecture, but each NN only outputs one value when given X_test data. The data (continuous values transformed to be [-1,1]) yields results as expected ...
1
vote
1
answer
56
views
How to balance labeled datas and then carry out execution with a certain ratio?
I'm building a binary classification model using a neural network, with python and the libraries tensorflow and keras.
For that I have an unequal amount of labeled data: Around 2'000'000 labeled with <...
0
votes
0
answers
20
views
Why isn't the validation data loss close to the test data loss?
First I set aside about 15% of my data as test data. Then, I used tensorflow.keras to create a relatively simple neural net model. Then I set the model.fit() parameter validation_split=0.2, so 20% of ...
2
votes
1
answer
132
views
Why the test accuracy showing some odd behaviour in comparison to train accuracy?
I am currently training an ANN using Sequential(a class from Keras API within tensorflow), and I am optimizing the model's architecture and came across something I have not seen before.
The graph of ...