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

How To Apply A Scikitlearn Classifier To Tiles/windows In A Large Image

Given is a trained classifer in scikit learn, e.g. a RandomForestClassifier. The classifier has bee… Read more How To Apply A Scikitlearn Classifier To Tiles/windows In A Large Image

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

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)

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

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

Defining A Function For Changing Column Values And Creating New Datasets

I am trying to define a function where it will take a dataframe and change values in a column to cr… Read more Defining A Function For Changing Column Values And Creating New Datasets

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

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 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

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

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?

How To Perform Multiclass Multioutput Classification Using Lstm

I have multiclass multioutput classification (see https://scikit-learn.org/stable/modules/multiclas… Read more How To Perform Multiclass Multioutput Classification Using Lstm

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?

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

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

Keras: Binary_crossentropy & Categorical_crossentropy Confusion

After using TensorFlow for quite a while I have read some Keras tutorials and implemented some exam… Read more Keras: Binary_crossentropy & Categorical_crossentropy Confusion

Valueerror: Unknown Label Type: While Implementing Mlpclassifier

I have dataframe with columns Year, month, day,hour, minute, second, Daily_KWH. I need to predict D… Read more Valueerror: Unknown Label Type: While Implementing Mlpclassifier

Defining A Function For Changing Column Values And Creating New Datasets

I am trying to define a function where it will take a dataframe and change values in a column to cr… Read more Defining A Function For Changing Column Values And Creating New Datasets