Skip to content Skip to sidebar Skip to footer
Showing posts with the label Classification

Customize Keras' Loss Function In A Way That The Y_true Will Depend On Y_pred

I'm working on a multi-label classifier. I have many output labels [1, 0, 0, 1...] where 1 indi… Read more Customize Keras' Loss Function In A Way That The Y_true Will Depend On Y_pred

Improving Accuracy Of A Tensorflow Neural Network- Python

This is a continuation of my first question: Receiving random cost output on tensorflow regression-… Read more Improving Accuracy Of A Tensorflow Neural Network- Python

Plotting A Graph On Axes But Getting No Results While Trying To Classify Image Based On Hog Features

I need to use boosted cascaded training to classify some images in scikit-learn. I want to classify… Read more Plotting A Graph On Axes But Getting No Results While Trying To Classify Image Based On Hog Features

How To Force Scikit-learn Dictvectorizer Not To Discard Features?

Im trying to use scikit-learn for a classification task. My code extracts features from the data, a… Read more How To Force Scikit-learn Dictvectorizer Not To Discard Features?

Extract Decision Boundary With Scikit-learn Linear Svm

I have a very simple 1D classification problem: a list of values [0, 0.5, 2] and their associated c… Read more Extract Decision Boundary With Scikit-learn Linear Svm

Classification Tree In Sklearn Giving Inconsistent Answers

I am using a classification tree from sklearn and when I have the the model train twice using the s… Read more Classification Tree In Sklearn Giving Inconsistent Answers

Classification Is Poor Although Term Frequency Is Right

I am checking using the below function what are the most frequent words per category and then obser… Read more Classification Is Poor Although Term Frequency Is Right

Scikit-learn Labeled Dataset Creation From Segmented Time Series

INTRO I have a Pandas DataFrame that represents a segmented time series of different users (i.e., u… Read more Scikit-learn Labeled Dataset Creation From Segmented Time Series

Keras - Precision And Recall Is Greater Than 1 (multi Classification)

I am working on a multi classification problem using CNN's in keras. My precision and recall sc… Read more Keras - Precision And Recall Is Greater Than 1 (multi Classification)

Vectorized Relabeling Of Numpy Array To Consecutive Numbers And Retrieving Back

I have a huge training dataset with 4 classes. These classes are labeled non-consecutively. To be a… Read more Vectorized Relabeling Of Numpy Array To Consecutive Numbers And Retrieving Back

Class_weight For Imbalanced Data - Keras

I am trying to perform binary classification with a highly imbalanced dataset. My target values are… Read more Class_weight For Imbalanced Data - Keras

Multiclass Classification Using Gaussian Mixture Models With Scikit Learn

I am trying to use sklearn.mixture.GaussianMixture for classification of pixels in an hyper-spectra… Read more Multiclass Classification Using Gaussian Mixture Models With Scikit Learn

Adding Gaussian Noise To A Dataset Of Floating Points And Save It (python)

I'm working on classification problem where i need to add different levels of gaussian noise to… Read more Adding Gaussian Noise To A Dataset Of Floating Points And Save It (python)

Nltk Naive Bayesian Classifier Memory Issue

my first post here! I have problems using the nltk NaiveBayesClassifier. I have a training set of 7… Read more Nltk Naive Bayesian Classifier Memory Issue

Classification Accuracy Based On Single Feature Set

I am trying to classify data based on prespecified labels. Got two columns and shown below: room_cl… Read more Classification Accuracy Based On Single Feature Set

Same Output Of The Keras Model

I have a Keras model for predicting moves in the game. I have an input shape of (160,120 ,1). I hav… Read more Same Output Of The Keras Model

Nltk Naive Bayesian Classifier Memory Issue

my first post here! I have problems using the nltk NaiveBayesClassifier. I have a training set of 7… Read more Nltk Naive Bayesian Classifier Memory Issue

SGDClassifier Giving Different Accuracy Each Time For Text Classification

I'm using the SVM Classifier for classifying text as good text and gibberish. I'm using pyt… Read more SGDClassifier Giving Different Accuracy Each Time For Text Classification

Classification Metrics Can't Handle A Mix Of Binary And Continuous Targets

I try to train and test several scikit-learn models and attempt to print off the accuracy. Only som… Read more Classification Metrics Can't Handle A Mix Of Binary And Continuous Targets