Showing posts with the label keras

[FIXED] Keras multi classifier is always giving 0 output

Issue I built this keras model for multi classification model = tf.keras.Sequential([ tf.keras.l…

[FIXED] Evaluation with pre-trained model results in Type error

Issue I have a trained inceptionV3 model that I want to test on a new data set. However, i am getti…

[FIXED] Which loss function and metrics to use for multi-label classification with very high ratio of negatives to positives?

Issue I am training a multi-label classification model for detecting attributes of clothes. I am us…

[FIXED] Multi Label Imbalanced dataset classification

Issue I am currently working on an multi label fashion item dataset which is highly imbalanced I tr…

[FIXED] How to process "strong" imbalaced data for multi-label image classification with transfer learning

Issue I tried myself but couldn't reach the final point that's why posting here, please gui…

[FIXED] Getting Precision,Recall,Sensitivity and Specificity in keras CNN

Issue I have created a CNN that does binary classification on images. The CNN is seen below: def n…

[FIXED] What's the difference between Keras' AUC(curve='PR') and Scikit-learn's average_precision_score?

Issue I am quite confused on the difference between Keras' AUC(curve='PR') and Scikit-…

[FIXED] Is this the correct use of sklearn classification report for multi-label classification reports?

Issue I am training a neural network with tf-keras. It is a multi-label classification where each s…

[FIXED] Recall and precision not working correctly(keras)

Issue I have to build a model in keras. I am really struggling with my actual dataset, hence I am j…

[FIXED] How to calculate precision, recall in multiclass classification problem after each epoch during training?

Issue I am using Tensorflow 1.15.0 and keras 2.3.1.I'm trying to calculate precision and recall…

[FIXED] Custom metric Turns to NaN after many steps in each epoch

Issue I am using custom Recall and Precision metrics in my model. I know they have them built into …

[FIXED] Keras Semantic Similarity model from pre-trained embeddings

Issue I want to implement a Keras model to predict the similarity between two sentences from words …

[FIXED] How do I adapt code to make CNN model compatible with a higher dimension word embedding?

Issue I have been following an online tutorial on 1D CNN for text classification. I have got the mo…

[FIXED] Word2Vec + CNN Overfitting

Issue Currently I'am training my Word2Vec + CNN for Twitter sentiment analysis about COVID-19 v…

[FIXED] Word2Vec + LSTM Good Training and Validation but Poor on Test

Issue currently I'am training my Word2Vec + LSTM for Twitter sentiment analysis. I use the pre-…

[FIXED] movie similarity using Word2Vec and deep Convolutional Autoencoders

Issue i am new to python and i am trying to create a model that can measure how similar movies are …

[FIXED] Text classification using Word2Vec and Pos tag

Issue I have a medical dataset like Text: "weakness, diarrhea, neck pain" Target:"X…

[FIXED] Deep Convolutional Autoencoder for movie similarity

Issue i am new to python and i have a dataset that contains movie descriptions and i am trying to c…

[FIXED] Get most similar words for matrix of word vectors

Issue So I computed a matrix of word vectors manually using keras which looks like this: >>&…

[FIXED] Keras - How to perform a prediction using KerasRegressor?

Issue I am new to machine learning, and I am trying to handle Keras to perform regression tasks. I …