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

Keras Model Doesn't Seem To Work

I have the following keras model and when I train the model, it doesn't seem to learn from it. … Read more Keras Model Doesn't Seem To Work

Attributeerror: 'nonetype' Object Has No Attribute 'dtype'

I'm trying to implement a simple neural network using tensorflow. It is a binary classification… Read more Attributeerror: 'nonetype' Object Has No Attribute 'dtype'

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

How Can I Know Which Is The Positive Class Value And Negative Class Value For Xgboost?

I am working with an imbalanced dataset where I have a class variable of 2 different values: 0 and … Read more How Can I Know Which Is The Positive Class Value And Negative Class Value For Xgboost?

Error When Checking Input: Expected Flatten_input To Have 3 Dimensions, But Got Array With Shape (none, 100, 100, 1)

Using TensorFlow/Keras, I want to classify pictures into two classes, selfie and non-selfie. I have… Read more Error When Checking Input: Expected Flatten_input To Have 3 Dimensions, But Got Array With Shape (none, 100, 100, 1)

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

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

How To Add A Feature To A Vectorized Data Set?

I want to write a Naive Base text classificator. Because sklearn does not accept 'text form… Read more How To Add A Feature To A Vectorized Data Set?

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

Optimal Feature Selection Technique After Pca?

I'm implementing a classification task with binary outcome using RandomForestClassifier and I k… Read more Optimal Feature Selection Technique After Pca?

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?

How To Optimize Scikit One-class Training Time?

Essentially my questions is the same as SciKit One-class SVM classifier training time increases exp… Read more How To Optimize Scikit One-class Training Time?

H2o Vs Scikit Learn Confusion Matrix

Anyone able to match the sklearn confusion matrix to h2o? They never match.... Doing something simi… Read more H2o Vs Scikit Learn Confusion Matrix

Unable To Detect Gibberish Names Using Python

I am trying to build Python model that could classify account names as either legitimate or gibberi… Read more Unable To Detect Gibberish Names Using Python