Skip to content Skip to sidebar Skip to footer
Showing posts with the label Machine Learning

No Module Named 'keras.legacy'

I am working on speech recognition where I have to use keras Optimizer. from keras.optimizers impor… Read more No Module Named 'keras.legacy'

Typeerror: Only Length-1 Arrays Can Be Converted To Python Scalars Dot Product

Writing this algorithm for my final year project. Debugged a few, but stuck on this. Tried changing… Read more Typeerror: Only Length-1 Arrays Can Be Converted To Python Scalars Dot Product

Tensorflow Image Classifier Returns The Same Label For Each Image

I have made an image classifier to classify images of airplanes and rockets based on the tutorial a… Read more Tensorflow Image Classifier Returns The Same Label For Each Image

Keras Neural Network Accuracy Is Always 0 While Training

I'm making a simple classification algo with a keras neural network. The goal is to take 3 data… Read more Keras Neural Network Accuracy Is Always 0 While Training

Hinge Loss Function Gradient W.r.t. Input Prediction

For an assignment I have to implement both the Hinge loss and its partial derivative calculation fu… Read more Hinge Loss Function Gradient W.r.t. Input Prediction

How Should I Interpret The Output Of The Sparse_categorical_crossentropy Function?

As an input a have a float 1.0 or 0.0. When I try to predict with my model and the sparse_categoric… Read more How Should I Interpret The Output Of The Sparse_categorical_crossentropy Function?

Constructing A Confusion Matrix From Data Without Sklearn

I am trying to construct a confusion matrix without using the sklearn library. I am having trouble … Read more Constructing A Confusion Matrix From Data Without Sklearn

To Make A Graph Using Networkx After Spectral Clustering On Moons Dataset

I have generated moons dataset with 20 points and done spectral clustering on it. I want to form a … Read more To Make A Graph Using Networkx After Spectral Clustering On Moons Dataset

Lstm Network On Pre Trained Word Embedding Gensim

I am new to deep learning. I am trying to make very basic LSTM network on word embedding feature. I… Read more Lstm Network On Pre Trained Word Embedding Gensim

What Is The Fastest Way To Prepare Data For Rnn With Numpy?

I currently have a (1631160,78) np array as my input to a neural network. I would like to try somet… Read more What Is The Fastest Way To Prepare Data For Rnn With Numpy?

Library In Python For Neural Networks To Plot Roc, Auc, Det

I am new to machine learning in python, therefore forgive my naive question. Is there a library in … Read more Library In Python For Neural Networks To Plot Roc, Auc, Det

Custom Callback After Each Epoch To Log Certain Information

I know how to save the model after every epoch: savemodel = ModelCheckpoint(filepath='models/mo… Read more Custom Callback After Each Epoch To Log Certain Information

Is Pandas Not Importing? 'nameerror: Global Name 'pandas' Is Not Defined'

I'm getting a few errors here but I think it's due to pandas not importing as it's grey… Read more Is Pandas Not Importing? 'nameerror: Global Name 'pandas' Is Not Defined'

Cannot Improve Accuracy Of Alexnet On Oxford-102 (tensorflow)

Hi I tried to implement AlexNet without using pretrained weights. I tried to train the net on Oxfor… Read more Cannot Improve Accuracy Of Alexnet On Oxford-102 (tensorflow)

How To Generate A Set Of Similar Strings In Python

I am wondering how to generate a set of similar strings based on Levenshtein distance (string edit … Read more How To Generate A Set Of Similar Strings In Python

Fisher's Linear Discriminant In Python

I have the fisher's linear discriminant that i need to use it to reduce my examples A and B tha… Read more Fisher's Linear Discriminant In Python

Cnn: Error When Checking Input: Expected Dense To Have 2 Dimensions, But Got Array With Shape (391, 605, 700, 3)

I'm getting a list of images to train my CNN. model = Sequential() model.add(Dense(32, activat… Read more Cnn: Error When Checking Input: Expected Dense To Have 2 Dimensions, But Got Array With Shape (391, 605, 700, 3)

Run Different Classifiers/algorithms In Parallel Using Spark

I have a dataset and I wanted to test different classifiers in parallel using Spark with Python. Fo… Read more Run Different Classifiers/algorithms In Parallel Using Spark

Tensorflow & Keras Can't Load .ckpt Save

So I am using the ModelCheckpoint callback to save the best epoch of a model I am training. It save… Read more Tensorflow & Keras Can't Load .ckpt Save

Google Cloud Machine Learning Out Of Memory

I am having a issue of getting out of memory when I choose the following configuration (config.yaml… Read more Google Cloud Machine Learning Out Of Memory