Questions tagged [classification]

An instance of supervised learning that identifies the category or categories which a new instance of dataset belongs.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

Can we vectorize nominal text feature using tfidf or count vectorizer?

I recently participated in the hackathon. The dataset includes drug name, sentiments about the drug, unique id. The target variable is the sentiment. It was a sentiment classification or analysis ...
2
votes
1answer
35 views

Blind feature engineering

I received a dataset for analysis that had ~100 numeric columns with anonymous column names(X1, X2, X3, etc...) and asked to do a binary classification. My resulting classification algorithm using a ...
0
votes
1answer
34 views

Reconize a card from a video stream

I want to make an mobile app where you scan using the camera and it gives you the card you just scanned. (from a board game) I got a PNG of each and every single existing cards, but I don't really ...
1
vote
1answer
19 views

What are the latest and most succesful classification algorithms at the moment?

I have googled this for some time with no luck. All i get are tutorials or articles explaining the classic algorithms like linear regression, random forest, etc. I would like to know which are the ...
1
vote
1answer
30 views

What type of classification algorithm for recognizing events in a set of data?

I would like to know what type of machine learning to use for recognizing events in a set of data. (or at least be pointed in the right direction so I can do my own research on the topic.) I'm trying ...
0
votes
2answers
37 views

Confusion on result of K-Fold Cross Validation and Independent Test set

I am relatively new in Machine Learning. I am using Random Forest and SVM for a project. Where I did a ...
1
vote
0answers
26 views

SVC classification not working at all on MNIST dataset

I'm sure I probably did something stupid but I'm trying to fit a simple SVC classifier on MNIST dataset as an example, and it completely failed by only predicting result 1 (sometimes 7 depends on how ...
1
vote
1answer
29 views

Are more classes more favorable than a single combined class?

Imagine the following scenario. Train a classifier that classifies an object into one of these n+m classes: ...
1
vote
1answer
119 views

XGBOOST : model.predict_proba() and model.predict() conflicting behaviour

I have two classes : 1 and 2 The output of model.predict_proba() -> [0.333,0.6667] The output of model.predict() -> 1 This is happening for around 200 test values out of the test data of 10 lac. ...
1
vote
1answer
23 views

How to find what events cluster together?

I have a data set that looks at a five-year timespan of peoples' lives and indicates if specific events have occurred (Divorce, Birth of Child, Health Shock, etc.). ...
0
votes
0answers
8 views

Implementing Data Catalog from scratch

I have a requirement of ingesting huge amount of user specific data and then searching on it. Trying to be low cost solution, I am leaning towards creating Kafka based ingestion pipelines and ...
0
votes
2answers
42 views

How significant the variables like “id”, “region code” etc are in the predictive modelling?

I participated in one of the hackathon. And there the variables were like id, region, gender, age .etc. It was a regression problem. I did scaling on the variables. But I am not sure what to do with ...
1
vote
0answers
22 views

Significance of AUC score

My model (Logistic Regression) has AUC score of 0.8 Am I right in stating that the probability of the model ranking a random positive sample higher than a random negative sample is 0.8? Also, how ...
0
votes
0answers
28 views

Convolutional Neural Network for Binary Classification: Flipping Classes

I've got a CNN (resnet18), performing binary classification. The final layer is fully connected with 2 nodes. The loss function is CrossEntropyLoss (pytorch). When I switch the labels of the classes (...
0
votes
0answers
9 views

How to modify display loss function for the Vectorised Feedforward network?

I was practicing vectorising the baackprop for a basic NN and I tried modifying a code for binary classification which was originally written for multi class classification. Code: ...
1
vote
1answer
25 views

In the context of natural language processing, can anyone give a concrete example of True Positive, True Negative, False Positive, False Negative?

Google post gives a interesting explanation about True Positive, True Negative, False Positive, False Negative True Positive (TP): Reality: A wolf threatened. Shepherd said: "Wolf." Outcome: ...
0
votes
0answers
16 views

Intent Classification with imbalanced dataset

I am trying to train my ML model to classify 13 intents. Prior to training the model, the training data was sufficiently accurate. Here are the imbalanced training data sizes per class (class_num: ...
5
votes
2answers
141 views

XGBoost, binary classification: uneven number of observations per user

I'm working on a binary classification problem with XGBoost and I have a dataset, which has uneven number of observations per user. For some users there are over 100 observations, whereas for some ...
0
votes
1answer
61 views

Spacy Text classification (Binary Classification)

I have a dataset of two folders. One of them contains the documents(text, pdfs) related to personal information (like name,email,address etc), the other contains non-personal information. I have to ...
0
votes
2answers
22 views

suitable algorithms for very high dimensional ”binary pattern" recognition?

I have a dataset consisting of 3000 binary features and one binary ouput. subset of these binary features form binary patterns. these subsets could be neighbouring features or from different regions (...
0
votes
0answers
11 views

Predict when a customer would buy from previous buying history (Mining Buying patterns)

I'm trying to predict when a customer would buy a product(which month of the year) based on the historical transactions. I have 3 years transactions data and good amount of customers are frequent ones....
1
vote
0answers
26 views

How to detect Class label in Apriori algorithm in MATLAB?

Sorry if my my question is simple. I just would like to know how to detect class labels in data mining algorithms such as Apriori. As I know, in the normal use of the Apriori algorithm our patterns ...
1
vote
2answers
51 views

Which predictive model is appropriate?

I'm completely lost when trying to choose the type of predictive model for my problem. Is it autoregressive model, nonlinear time series, Markov Chain or other? Can someone please give me some advise? ...
0
votes
1answer
19 views

Algorithm or function or model that encourages clustered classfication?

I have a soft classfication problem, i.e., the correct label for a certain instance is not just one class with 100% probability, but rather bunch of classes with probabilities that sum up to one. ...
0
votes
1answer
21 views

real word dataset on company full name with commonly used short name

I am involved in a work where i have to recognize company when user does not provides its full legal name. Database only has full legal name which is rarely used by human user. Like no body calls ...
1
vote
0answers
43 views

Best strategy to build Classifier for Mixed Data with class imbalance

I have a dataset which contains : 94 numeric features + 56 categorical features I am trying to build a classifier to predict Target (disease/healthy). 2. Rows : 1812 3. Class imbalance ( Majority ...
1
vote
0answers
7 views

Could perceptron use the standard logistic function as its activation function?

the perceptron is an algorithm for supervised learning of binary classifiers. A binary classifier is a function which can decide whether or not an input, represented by a vector of numbers, belongs to ...
1
vote
1answer
29 views

Repeated training and testing in Weka?

I am using one file for training (e.g train.arff) and another for testing (e.g test.atff) with the 70-30 ratio in Weka. I want to ask how can I use the repeated training/testing in Weka when I have ...
2
votes
2answers
198 views

Python XGBoost predict_proba returns very high or low probabilities

I trained my data with XGBoost in python with GridSearchCV as follows: ...
0
votes
2answers
29 views

Low prediction/classification accuracy due to imbalance in data feeding

I am building the neural network for image analysis to do Chest Xray classification (Abnormal/Pass). The classification accuracy for abnormal Xray is low, I guess it is due to the lack of abnormal ...
1
vote
0answers
26 views

How to classify product by specific category without machine learning?

I am working on a product classification problem which I have to identify product category. Say for the category, there are 5 levels (Big / medium / small / detail / double detail) 5 million ...
1
vote
2answers
154 views

More output neurons than labels?

When we train a neural network model for a classification problem, we usually have a dense output layer of size equal to the number of labels we have. If the layer size was greater, the model can ...
0
votes
1answer
44 views

How to input data to LSTM?

I have a labelled dataset (0 and 1) with two types of short length time series data (from day1-day5) as follows. Type1 (...
1
vote
0answers
16 views

Alternatives for MultiLabelBinarizer

There a lot of information on how to handle categorical variables when preprocessing data for ML classification. However, I cannot find any feedback on how to handle categorical variables, where each ...
0
votes
0answers
12 views

What is reranking?

I am pretty new to semantic parsing and that stuff but I have to give a presentation about reranking. Can you give a good definition, what reranking does? I think it is related with the parsing ...
0
votes
1answer
25 views

What is the difference between majority vote, and greedy action in ensembling?

I read some stuff about majority vote and greedy action in ensembling, however, they kind of sound similar, but also different. What is the real difference between those two? Thanks for your help!
0
votes
2answers
36 views

Can we use DecisionTreeClassifier of sklearn for continuous target variable?

I have a continuous target variable named "quality" which ranges from 0 to 10. Also I have 11 input variables in my dataset. When I'm building my model using DecisionTreeClassifier() of sklearn then ...
0
votes
1answer
32 views

MLP Parameter tuning - gridsearchCV cannot fit?

I'm making an MLP classifier for binomial classification from 145 features. I want to get the best parameters on my MLP classifier to get a better prediction so I followed the answer to this question,...
4
votes
1answer
33 views

In Conditional Random Fields, is mandatory to use features related to following and preceeding tokens?

I am training a CRF classifier to classify document rows as a heading (1st level), heading (2nd level) or simple text. I am using Conditional Random Fields for their ability to account sequential ...
0
votes
0answers
13 views

How to include engineered features as factors, along with a CountVectorizer matrix?

I'm doing a classification task on Excel files. For the example in this picture, it would not really make sense to include the 4 columns on the right inside the CountVectorizer matrix. From my ...
0
votes
1answer
27 views

Random forest with zero precision for unbalanced test data

Apologies if this is a basic question. I have a very unbalanced dataset in which the records are labelled by one of two classes, class1 (negative class) and class2 (positive class): class 1: 1.5 ...
3
votes
1answer
62 views

How to handle associated features in machine learning

I am working on a classification project in which some features are linked and I'm not sure how to handle them. I will simplify my project like that : There are different jobs, and multiple ...
0
votes
0answers
16 views

Hardware needed for training VGG16 from scratch

i'm working on a classification problem in which i need to classify with the highest accuracy possible 38 classes. Here is a link to the dataset: PlantVillage dataset I want to get the highest ...
0
votes
0answers
16 views

How to handle “ordered” features?

I have a dataset with weekly sales figures, and trying to building a classification model (predict stock-out). I want to use some feature(s) to tell the machine that: Week 1 comes after week 0 ...
0
votes
2answers
28 views

Inspect false classified

Recently, I was able to train a simple classification algorithm (my first ML-Project) and I even got a pretty satisfying precision score. Now I am looking for a way to inspect, which datapoints in ...
1
vote
2answers
30 views

How to transform time series data to apply supervised learning algorithms to it?

Apologies in advance for what may be a very basic question. I have a dataset consisting of marketing calls to different clients, which include the timestamp for the call. My goal is to train a model ...
1
vote
1answer
9 views

Alternative methods of population-level classification

In a recent study, I am generating a series of logistic regression and random forest models to predict some binary outcome. For the sake of understanding, suppose this outcome is the occurrence of ...
0
votes
3answers
30 views

How does cost function change by choice of activation function (ReLU, Sigmoid, Softmax)?

I am new to ML and as I take courses for the area DL, I am wondering, by our choice of activation function for the last layer, whether we take sigmoid, relu or softmax, would the formula for ...
1
vote
1answer
26 views

Which classification model to use on large, high-dimensional dataset?

I face a classification task: with several features a target features is to be predicted. I'm working with python. My dataset includes 60 features from which I picked 16 which I think could be ...
0
votes
1answer
63 views

Random seed in Machine learning model comparison

I wanna ask very important question about the random population generation gin splitting the dataset in machine learning classification models; For example to more explain, i used seed =1 a,d i got ...