All Questions
Tagged with keras classification
149
questions
0
votes
0
answers
37
views
Calculate AUC-ROC and AUC-PRC for an LSTM Model
I have the following simple Bidirectional LSTM model for a binary classification task:
...
0
votes
1
answer
68
views
Training Loss for Classification Model Isn't Decreasing
I'm currently building a video classification model for engagement detection but I'm having some trouble training it. The model takes in two tensors as inputs: a 10x48x48x1 tensor which holds a stack ...
0
votes
0
answers
19
views
RNN model for predicting sequences based on sequences of different lengths with Keras
I have data that are sequences of repeated values of different lengths. The value is categorical and can take values from 1 to 184. I used padded with 0 and masking:
...
1
vote
0
answers
24
views
Validation Accuracy incorrect when multiple outputs are in the dense layer!
I have a set-up a parallel LSTM architecture with two LSTM layers and one Dense layer producing several outputs which are converted into a probability with a sigmoid function on the dense layer. For ...
0
votes
2
answers
73
views
Classification task on boolean only features: what model/layers/activators are better?
I'm trying to build a classification model. Features are purely boolean (not binary) and are in a csv file like 1,0,1,..
The result is an ...
1
vote
2
answers
53
views
Classification on sound data
My goal is to detect a problem in a windturbine. I have a dataset of 2h (1 hour for each class). To keep in mind, it will be embedded on an MCU target, so the neural network have to be less than 10M ...
0
votes
0
answers
21
views
Input shape CNN speech
The shapes of
x_train=(514, 256), y_train=(514,)
x_test=(254, 256), y_test=(254,)
I have 256 features and 770 samples of which ...
0
votes
0
answers
367
views
Binary transformer classification model predicts everything as same value
I'm training a binary classifier using a transformer on structured numerical data (so the order of the columns in my spreadsheet matters). I have adapted the keras text classification model for IMDb ...
3
votes
2
answers
346
views
Measure distance between teeth using Machine Learning
I'm a newbie in ML and I have a problem I am stuck on.
I want to train a ML model to recognize dental diagnosis based on photos and x-rays of the patient. Specifically right now, I want to find a way ...
0
votes
0
answers
313
views
Custom loss function for binary classificatio in Keras gets error: No gradients provided for any variable
I have a binary classification problem. However, I don't really care about fp and fn values. What I want to achieve is that the <...
0
votes
1
answer
53
views
Strange results from CNN in Keras
I have a binary classification problem. I designed a model with convolution kernels in first layers and then dense layers. As the output layer, however, I used a softmax layer with size 2, and then ...
1
vote
1
answer
39
views
How to stop my CNN getting confused between 3s and 8s, and 1s and 7s?
I am trying to train a CNN, using the MNIST dataset (which I perform data augmentation on), to classify numbers on a sudoku grid from 0-9.
While mostly successful, my network seems to get confused ...
0
votes
1
answer
49
views
How to further improve on overfitting?
Update: Please see below for my own answer
I'm training from scratch a simple CNN multi-class classification (images taken from a small camera are black and white). I tried it with 2x conv layers and ...
1
vote
1
answer
205
views
Having weird accuracy graph on deep learning binary classification model
I am doing deep learning binary classification on some data and got very weird results with the accuracy metric. In the first few epochs, it doesn't change at all but then it goes on this weird linear ...
0
votes
1
answer
462
views
Keras Binary Classification - Maximizing Recall
Let me start by saying my machine learning experience is... dangerous at this stage. I'm still a beginner.
I have a binary classification data set of about 100 000 records. 10% of the records are ...