The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [classifier]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
17 views

Classification Model based on Ordered Features

I am trying to build a classifier for a specific card dataset let's say cards or no cards. I am using Mobilenet trained on Imagenet dataset as my classifier and further training it on my dataset. I am ...
0
votes
2answers
13 views

How can I do the correlation between two estimators?

I'm working with several estimators of all kind. Then, I want to stack these estimators, and the best is if they have low correlation between them. I suppose that the correlation method depends on ...
0
votes
0answers
14 views

How to train a model on image + text features?

So I have a dataset of 6 different dermatology disease pictures along with data of the age, gender, etc other data for each picture. I want to train a model that combines the image and the ...
0
votes
0answers
15 views

model training with center and softmax loss

i want to train a cnn with about 5000 classes and inception resnet v2 using center loss but at first it decreases and then it starts increasing. Furthermore the evaluation loss is very large.I trained ...
0
votes
1answer
61 views

Building document classifier based on keywords, what would be the steps?

I have a requirement of classifying documents(.doc files) based on the profiles. I have a csv file with data: ...
1
vote
0answers
22 views

Penalization term for unfairness

I am reading [1], where the researchers do a logistic regression, but add to the loss function the following penalization term for fairness $ R^{AVD}_{FP}(\theta; S) = \left\lvert \dfrac{\sum\limits_{...
1
vote
0answers
50 views

SVM/Naive Bayesian text classification on multiple features

I was building a text classifier which takes into account certain features of the text and classifies them into two - "Yes" or "No". I have trimmed the text, removed stopwords and have applied TFIDF ...
0
votes
2answers
35 views

Certainity of a classifier

How to build a classifier that by default will predict that it is for class 1, but if the classifier believes with 80 certainity that it belongs to 0, it will be classed as 0. How to check how certain ...
2
votes
1answer
61 views

Difference in model performance measures of train and test data sets

I am using CART classification technique by dividing a dataset into train and test sets. I have been using Mis-classification error, KS by rank ordering, AUC and Gini as MPMs(model performance ...
0
votes
1answer
37 views

How to deal with name strings in large data sets for ML?

My data set contains multiple columns with first name, last name, etc. I want to use a classifier model such as Isolation Forest later. Some word embedding techniques were used for longer text ...
1
vote
3answers
116 views

How do two perceptrons produce different linear decision boundaries?

I'm trying to visualize how two perceptrons converge to two different decision boundaries (which is ultimately used to create the classifier for the non-linearly separable data). Source: https://tdb-...
2
votes
1answer
59 views

Why is my training accuracy decreasing higher degrees of polynomial features?

I am new to Machine Learning and started solving the Titanic Survivor problem on Kaggle. While solving the problem using Logistic Regression I used various models having polynomial features with ...
2
votes
0answers
28 views

Correct approach to usage of class labels in cell imaging data

As part of a group project at university, we are given a series of videos of cell cultures over a 24 hour period. A number of these cells (the "knockout" cells) have had a particular gene removed, ...
3
votes
2answers
2k views

How do I get the feature importace for a MLPClassifier?

I use the MLPClassifier from scikit learn. I have about 20 features. Is there a scikit method to get the feature importance? I found clf.feature_importances_ but it seems that it only exists for ...
5
votes
1answer
1k views

When should I use StandardScaler and when MinMaxScaler?

I have a feature vector with One-Hot-Encoded features and with continous features. How can I decide now, which data I shall scale with StandardScaler and which data scale with MinMaxScaler? I think I ...
1
vote
0answers
71 views

Pipeline with OneVsRestClassifier

Currently I have a pipeline for SVC which tries different parameters, but I want to convert it to an multilabeling classfier using the OneVsRestClassfier. The current code looks like this: ...
-2
votes
1answer
18 views

Converting int list to vector list

I want to train a text classifier using OnevsRestClassifier, but have problem getting a propper y. Currenly my y is a list of int, but I need it as a list of vectors. My y: ...
0
votes
2answers
63 views

Would a decision tree classifier be applicable here?

File from a situation where it is required to predict today’s stockprice from the stock prices of the previous three days: Could you use a decision tree classifier for this task? Why or why not?
0
votes
2answers
1k views

Always getting value one for a binary classifier

I'm using keras. I have one classification problem. The output should be either 0 or 1. I trained my model and I'm getting 86.59 accuracy. But when i check the predicted output what I'm seeing is all ...
1
vote
0answers
10 views

What happens if I do not encode the lables or classifiers in the data? [closed]

I have a data where the three variables are numerical and one variable is a string. I am using the simple decision tree algorithm. Read somewhere that the data in strings must be encoded with one hot ...
3
votes
3answers
2k views

How to handle “unknown” category in machine learning classification problems?

Tutorial problems come in the form of binary or mult-class classification where data are all properly labelled. In real-life applications, there are incoming data that do not belong to any category ...
2
votes
2answers
53 views

Support Vector classifier perform well with input features rather than transformed features in contrast to ANN-BP, random forest (other classifiers)

I am working on stock data with 5 raw features (OHLCV). Using few transformations used by technical analysts, have created 20 more features giving different kinds of indications. When trying to ...
1
vote
1answer
17 views

Adding the input layer - units with a decimal

I took the course Machine Learning A-Z from Udemy and am trying to apply what I learned in the tutorials. Theye taught us in the "Adding the input layer" portion of an ANN that the units is based off ...
2
votes
1answer
56 views

What can I use to post process an NLP tree generated from the python library `spaCy`?

Using spaCy as the NLP engine for a chatbot, I call nlp("Where are the apples?").print_tree() and receive: ...
2
votes
1answer
376 views

Class Imbalance Problem

I'm making a multiclassifier model with 5 classes. (it is not important in my question whether it has 2 classes or 5 classes, though). class distribution is very imbalanced. So, I did resampling for ...
4
votes
2answers
58 views

Classifier that optimizes performance on only a subset of the data?

I'm working on machine learning problem where I'm only interested in getting high accuracy within a narrow band of my predicted likelihoods. Specifically, I want an algorithm that will score very ...
1
vote
1answer
3k views

Linear & non-linear machine learning algorithms [closed]

What are linear and non-linear machine learning algorithms? How to compare and select the right one for a given use case of classification problems? Which are the key performance parameters to select ...
8
votes
1answer
22k views

Train Accuracy vs Test Accuracy vs Confusion matrix

After I developed my predictive model using Random Forest I get the following metrics: ...
3
votes
1answer
2k views

One hot encoding of target space

I had a face to face interview for a data scientist job a few days ago. One of the questions I was asked was: in the case of classifier predicting the brand of TV from some features (price, size, ...
0
votes
3answers
1k views

In layman terms, what is the meaning of fitting a model into a data set?

When we fit any model into a data set for prediction, what exactly happens behind the scenes? I am learning Regression and I am a little confused about how exactly it fits the classifier or ...
1
vote
2answers
404 views

ROC curve shows strange results for imbalanced dataset

I have a classifier with a heavily imbalanced dataset (1000 of each negative label for each positive.) I'm running a GradientBoostingClassifier with moderate success (AUC .75) but the curve has this ...
1
vote
0answers
46 views

Need to calculate derived metrics in a classifier

I have a classifier that predicts a class given roughly 100 datapoints. The classifier that tends to perform best on my data is RandomForest. I have a lot of metrics such as revenue for each of the ...
0
votes
1answer
64 views

In R, can I integrate different classifying algorithms in one bagging model?

I use R to do data analysis. I have a dataset. When I use different classifying algorithms, such as random forest, SVM, etc, I have the different accuracy. So, I want to integrate all the algorithms ...
0
votes
1answer
124 views

Where can I find datasets with labeled duplicate text documents?

I'm working on detecting duplicate text documents using a classifier. I am looking for training data - a corpus of text documents and corresponding metadata which lists out pairs of duplicate ...
0
votes
1answer
724 views

tensorflow saved model to java

Hello data scientists (I'm not), I adapted a multi-class-text-classification-cnn from https://github.com/jiegzhan/multi-class-text-classification-cnn (thanks Jie Zhang) It works ! 90% accuracy ! Now ...
0
votes
1answer
346 views

Keras : problem in fitting model

I am trying to fit a keras classifier on a data matrix X_train ...
0
votes
1answer
2k views

How do I pick “K” for precision at K and recall at K?

I understand precision at k and recall at k. It is a more useful metric for evaluating the success of a binary classifier when the positive class is overwhelmingly out-weighed by the negative class. ...