Skip to main content

All Questions

Tagged with
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: ...
thatsroughbuddy's user avatar
-1 votes
1 answer
54 views

In order to predict after training on Standardized data, do I need the StandardScaler as well?

Is the scaler saved inside the model.keras file or I need to separately save it? I want to train an neural network, save it, and ...
Cohensius's user avatar
  • 163
0 votes
1 answer
88 views

Why most keras examples use shape=(None,) instead of shape=(None)?

I'm reading several keras tutorials and found that many examples are written like this: keras.Input(shape=(None,), dtype="int64", name="english")...
skan's user avatar
  • 185
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 ...
Srikanth's user avatar
1 vote
1 answer
898 views

How to compare $R^{2}$ of train and test data in a Deep Learning Neural Network Regression model?

I want to judge the goodness of my neural network regression model built using Keras Python Library. The problem is the following: from an input like (1000, 5000) so 1000 samples and each sample has ...
HelpNeederStudent's user avatar
0 votes
1 answer
115 views

Export a detailed report with metrics after the training process of a Keras model

I have an image-segmentation model (.h5) which was trained using dice coefficient, recall and precision metrics. The model was trained using the ImageDataGenerator class with the following code: ...
Capdi's user avatar
  • 111
0 votes
1 answer
999 views

numpy.ndarray' object has no attribute 'batch' [closed]

I am building an image classifier using cnn using the following code- I am getting this error, despite making several changes- Kindly help me fix this error.
AMRITA DAS's user avatar
0 votes
1 answer
358 views

Sklearn vs Pytorch vs Tensorflow vs Keras

I just need to understand the differences between sklearn, pytorch, tensorflow and keras in terms which implements traditional machine learning algorithms ( Linear regression , knn, decision trees, ...
John adams's user avatar
0 votes
1 answer
1k views

Input shape error

I've this item: ['6', '1', '6', '843537', '3', '0', '5', '1006709', '3', '1', '4'] with shape: (11,) but when go to predict with: ...
Mariano's user avatar
  • 163
2 votes
1 answer
448 views

Fashion MNIST: Is there an easy way to extract only 1% of the data to do a minimal gridsearch?

I am trying implement several models on the fashion-MNIST. I have imported the data according to the tf.keras tutorial: ...
ilam engl's user avatar
  • 121
0 votes
2 answers
7k views

NameError: name 'model' is not defined Keras with f1_score

I'm having a problem with my Keras model, in the .compile() I use accuracy, loss, precision, recall and AUC, but also I need f1_score, due to Keras doesn´t include f1_score, I tried to calculate by ...
megasaw's user avatar
  • 13
3 votes
1 answer
1k views

How to identify/recognize that a sentence about talks about future?

Brief Introduction: I have a report/paragraph in which there are sentences with reference to future plans/outlooks/expectations for a particular entity. I want to extract all such sentences for now. ...
Krs's user avatar
  • 31
1 vote
0 answers
86 views

Why are the results from the keras validation split different from sklearn metrics?

I am training a Keras model, and running: model.fit(X, y, epochs=10, validation_data=(X_test, y_val)) I'm using AUC, precision, and recall as the metrics (also ...
Rahul's user avatar
  • 111
0 votes
1 answer
404 views

Unable to generate confusion matrix

I am using keras flow from directory for image segmentation. Following are my codes ...
Vikram R S's user avatar
0 votes
0 answers
234 views

text classification - does number of features matters?

I'm working on a multi-class text classification project that aims to assign a "new bug" to his "final group assignee" To do that I was able to extract ~17000 samples and divided ...
Ben's user avatar
  • 209

15 30 50 per page
1
2 3 4 5 6