Skip to main content

Questions tagged [classification]

Statistical classification is the problem of identifying the sub-population to which new observations belong, where the identity of the sub-population is unknown, on the basis of a training set of data containing observations whose sub-population is known. Therefore these classifications will show a variable behavior which can be studied by statistics.

2,314 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
14 votes
0 answers
687 views

Convolutional neural network for multi-variate time series?

I want to use CNN architectures for classification of multivariate time-series, where we apply one label to each sequence. I searched the net for the available designs in the literature and i found ...
Bob's user avatar
  • 439
13 votes
0 answers
259 views

Logistic regression for classification: are there any analytical solutions for the out-of-sample accuracy?

I run a binary logistic regression, with a binary dependent variable and a continuous independent one. Now I want to evaluate the out-of-sample performance of the classification algorithm so obtained. ...
robertspierre's user avatar
12 votes
0 answers
7k views

Precision and recall of a random classifier

My understanding of precision and recall tells me that there is a tradeoff between these two measures: you can improve one at the cost of the other. However, when I think of a random classifier (on a ...
GermanK's user avatar
  • 221
12 votes
0 answers
1k views

Computing a bootstrap confidence interval for the prediction error with the percentile and the BCa method

I have two related questions regarding the computation of a non-parametric bootstrap confidence interval for the prediction error. Setting: I have a sample S from a data population P and a learner L, ...
Gitte's user avatar
  • 835
10 votes
2 answers
2k views

Random Forest: Class specific feature importance

I'm using the bigrf R-package to analyse a dataset with ca. 50.000 observations x 120 variables, classified into two groups. After growing a forest of 1000 trees, ...
Misconstruction's user avatar
9 votes
1 answer
149 views

Is there a ML or DL tool that can learn to detect periodically occurring patterns in a one dimensional time series?

I am trying to create a tool that labels refrigerator temperature readings. A reading is taken every 5 minutes, and its label identifies whether of not it was taken while the refrigerator was ...
GreenBlue's user avatar
8 votes
1 answer
772 views

How to predict routes using clustering data

I've been working on a ship route prediction algorithm such that given the past and current trajectory of a ship I am able to estimate the future one. The trajectories are represented as a sequence of ...
João Matos's user avatar
8 votes
0 answers
200 views

When is there a free lunch?

The no free lunch theorem (NFL) states that Theorem (Wolpert and Macready 1997) Let $A$ be any learning algorithm for the task of binary classification with respect to the $0−1$ loss over a ...
MachineEpsilon's user avatar
8 votes
0 answers
14k views

True positive, false negative, true negative, false positive definitions for multiclass-multilabel classification?

I'm trying to apply some evaluation metrics to several clustering methods. I thought that I knew them basing on the multiclass confusion matrix, considering the rows as the actual classes and the ...
Emilio Genaro López's user avatar
8 votes
1 answer
8k views

Micro vs weighted F1 score

In a multi-label or multi-class classification setting, when choosing between a micro or a weighted F1 score, what shall I take into account? The main upside of choosing macro is that one gets a ...
Franck Dernoncourt's user avatar
8 votes
1 answer
802 views

How to subset alternatives in nested multinomial logistic regression?

I am trying to predict whether or not captains in a particular groundfish fishery choose to fish on any given day and what variables may influence that decision. Originally I had planned on using ...
Trevor Gratz's user avatar
7 votes
0 answers
340 views

Features for binary time-series event prediction

This question is somewhat inspired by the answer to Features for time series classification. The difference to that question is that I have a dataset with multi-dimensional time-series where I have ...
Valeria's user avatar
  • 541
7 votes
0 answers
171 views

How to combine noisy and noise-free datasets to train a model

Overview Suppose I have two datasets, both of which consist of rows of features and their matching labels. One of these datasets is noise-free and its labels correspond to the ground truth, but the ...
tddevlin's user avatar
  • 3,387
7 votes
1 answer
850 views

Multi-label classification: Predict product category

I want to predict to which product category a product belongs. A total of 400k products need to be translated from the old (less refined) to the new product category tree. (E.g. alarm clock used to ...
JobVisser21's user avatar
7 votes
0 answers
241 views

why use diagonal $\Sigma$ when working with Bayes decision theory?

My prof. said in the class that for Bayes decision rule, the likelihood is Gaussian and in practice, we will almost always work with a diagonal $\Sigma$. Why is that? I know that a diagonal $\Sigma$ ...
nSv23's user avatar
  • 235
7 votes
0 answers
2k views

Combining posterior probabilities from multiple classifiers

I am new to machine learning and can't get my head around this problem. I have two patient datasets, the first ($D_1$) contains $Y,Z,X$ that convey blood-sample information and the second ($D_2$) ...
user31230's user avatar
  • 111
7 votes
0 answers
1k views

k-fold cross validation vs k times hold-out validation

I am facing the evaluation of a genetic programming algorithm. I am using the Proben1 cancer1 dataset to evaluate the models created by this algorithm. This dataset contains 699 samples, which is ...
Aktaeon's user avatar
  • 73
7 votes
0 answers
970 views

Reasons for transforming multiple class classification problem into a set of binary sub-problems?

Does anyone know of a good reference that list the reasons for transforming multiple class classification problem into a set of binary sub-problems? In response to comment: One reason to transform a ...
entropy's user avatar
  • 1,248
7 votes
0 answers
663 views

Computation of log-likelihood in semi-supervised naive bayes

I have the following 2 questions about log-likelihood computation in semi-supervised Naive Bayes. I have read on several documents online that, in every EM iteration of the semi-supervised Naive ...
SUP's user avatar
  • 123
7 votes
0 answers
867 views

Classification of multiple time series and case level attributes

I'm pretty new to machine learning so wondering whether someone can help check my thinking or point me in the right direction! I need to create a classifier which can predict an outcome for a person ...
chrisb's user avatar
  • 925
7 votes
0 answers
2k views

Maximum entropy classifier and sentiment analysis

I am doing a project work in sentiment analysis (on Twitter data) using machine learning approach. In order to find the 'best' way to this I have experimented with naive Bayesian and maximum entropy ...
norbip's user avatar
  • 171
7 votes
1 answer
5k views

Improve precision/recall for class imbalance?

Trying to get better precision/recall for both classes ... any tips? I have heterogeneous features [a few num vars, a few cat vars, and 2 text vars] Target is a binary classification w/ class ...
thePurplePython's user avatar
6 votes
1 answer
1k views

What do Cross Validation results actually tell about Bias and Variance?

I am trying to get a deeper understanding of the common ML pipelines and I have some doubts regarding Cross Validation, why do we really use it and what does it really tell us about Bias and Variance. ...
rusiano's user avatar
  • 566
6 votes
0 answers
246 views

How to compute gain statistic for the multinomial Naive Bayes classifier from Jurafsky and Martin (2018)

I'm trying to figure out how to compute the gain statistic G(w) following the fitting of the multinomial Naive Bayes model. This statistic is described on p17 of the new edition of Jurafsky and ...
Ken Benoit's user avatar
6 votes
0 answers
565 views

logistic regression prediction: changing interpretation with changing prior

The data include 3 equally sized subsets A, B and C, belonging to two classes: A belongs to class 1. B and C belong to class 2. The prior probabilities of an observation coming from class 1 ...
statastic's user avatar
  • 311
6 votes
0 answers
5k views

Minimum training sample size required for a classifier

What is the best method to determine the minimum number of training samples required for a classifier? I am only comparing one classifier (four class problem), discriminant function analysis (DFA) ...
ASHHart's user avatar
  • 61
6 votes
0 answers
194 views

Estimating parameters using Kullback-Leibler or Kolmogorov-Smirnoff via Nelder-Mead

I want to find the parameters of a model which specifies a set of classification probabilities, for say M classes. (I'll use the parameters in another model later.) Given a set of parameters $\theta$,...
Yoda's user avatar
  • 379
6 votes
1 answer
183 views

Regarding the size of training data for building classifier

When we build a classifier, like SVM or Naive Bayesian, are there any generic rules or theoretical derivations on the size of training data set? For example, to train a SVM-based classifier, what ...
user3125's user avatar
  • 3,089
5 votes
0 answers
171 views

Understanding a calibration plot for lightGBM binary classifier

I wanted to assess the performance of my lightGBM classifier using a calibration plot. If I understood correctly, a calibration plot visualizes the alignment between the predicted probabilities by the ...
Programming Noob's user avatar
5 votes
0 answers
690 views

Predict churn in a range of time after observation window is finished

I'm building a churn model. Each user's historic data (observation window) is a constant period, but each observation window contains different dates. For example the next figure: Let's say, that the ...
Amit S's user avatar
  • 77
5 votes
0 answers
1k views

What is the difference of "normal" F1 and macro average F1 score with binary classification

Please note that I always talk about binary classification here. I do not speak about multi class classification. In case of unbalanced binary datasets it is a good practice to use F1 score. While ...
Dieshe's user avatar
  • 253
5 votes
1 answer
2k views

Measure agreement among experts in multi-label classification task

I was wondering whether there is a metric that can be used in order to compute the agreement, and therefore something like an upper bound for classifiers, among expert-labelled data. Assume there is ...
Stefan Falk's user avatar
5 votes
0 answers
607 views

Why use separate trees for each class in multi-class gradient boosting?

Gradient boosted decision trees can be used to solve multi-class classification problems. Friedman (2001) fit $K$ trees on each iteration—one for each class. Multiple GBM implementations also follow ...
user20160's user avatar
  • 33.2k
5 votes
0 answers
6k views

Confusion matrix for multilabel classification

I know that a similar subject was treated here, but my question is a little bit different. I have a result of multilabel classification, like this (2 observations, 3 labels in the example, in ...
Tau's user avatar
  • 81
5 votes
0 answers
1k views

Effectiveness of Standardization and Normalization in Machine Learning

I am just studying the basics of machine learning and had a question about the standardisation and normalisation of the features and its effectiveness. I have read this CrossValidated question and ...
Manu Joseph's user avatar
5 votes
0 answers
2k views

How to include negative examples in multi-class classification?

I have a problem similar to this question: How do I use negative examples (in addition to positive ones) for training a multiclass softmax classifier (or a neural net with softmax output)? where I ...
user58419's user avatar
  • 221
5 votes
1 answer
1k views

Comparing classifiers using McNemar Test

When comparing the performance of two binary classifiers using McNemar test, should the two confusion matrices of the models be based on the training set, the validation set, or even a second ...
salvador's user avatar
  • 177
5 votes
0 answers
548 views

Unsupervised Anomaly Detection Threshold Selection

If we have a data set that contains only positive examples I am wondering how we can effectively choose a threshold for an anomaly detection technique. Are there anomaly detection techniques that can ...
mino's user avatar
  • 315
5 votes
0 answers
107 views

Training instances importance in Random Forest?

Is it possible to determine the importance of the training examples in Random Forests, analogously to what's done with predictors? Basically the idea would be to find important samples in the data, ...
Firebug's user avatar
  • 19.5k
5 votes
0 answers
1k views

Probability distribution over classes as labels in classification task

Classical classification problem has next formulation. Given a set of $n$ attributes, a set of $k$ classes and a set of labelled training instances: $(i_i, l_j),...,(i_j, l_j)$, where $ i = (v_1, v_2,...
Simplex's user avatar
  • 171
5 votes
0 answers
901 views

Understanding calibrating probabilities using R

I am trying to understand R's calibration(package:caret) function. My main interest is binary classification. Calibration function is used for plotting true ...
oercim's user avatar
  • 699
5 votes
1 answer
230 views

Unsupervised clustering with "unclassified" items

I have data (some behavioral features, measured on some scales) on people. I want to cluster people based on these features. This is an unsupervised scenario, as I have no prior knowledge on the ...
amit's user avatar
  • 569
5 votes
1 answer
345 views

Determining conserved features using a Bayesian approach

I would like to perform some sort of binary classification, and my data set consists of 100 examples (for each class), which are vectors with 2500 elements. Ideally, I would like to determine which ...
User3419's user avatar
  • 151
5 votes
0 answers
212 views

Transferring to new domain

Suppose I have a set of characters with both natural scene and synthetic images, and another set with only synthetic images. I'd like to make a classifier which is trained on only on this data and ...
Yaroslav Bulatov's user avatar
5 votes
0 answers
559 views

Number of states and symbols in multi class Hidden Markov Model classifier

I'm designing a multi class classifier (for 4 classes) using Discrete HMMs with States N and Symbols M for each of the HMM. However, I found that recognition performance(i.e highest log likelihood) ...
garak's user avatar
  • 2,093
5 votes
0 answers
210 views

Asynchronous data stream matching

Suppose you have a classifier $C^n$ which continuously outputs a stream of classification labels $K^n_i$ and corresponding timestamps $T^n_i$. Also, we know the prior probability $P(K^n) \forall n$. ...
Jacob's user avatar
  • 235
5 votes
1 answer
922 views

Unlearning Neural Network? Prevent learning from a specific feature

Is it possible to train a NN to avoid the features that a different neural network finds? For example, let's train a simple 1 layer CNN with 1x1 kernels on a supervised binary classification problem. ...
user23332's user avatar
4 votes
2 answers
148 views

Does artificially balancing outcomes in regression lead to poor calibration? If so, how to show the poor calibration?

In "classification" problems, it is common for there to be unbalanced-classes. To combat what appears to be a problem (though I would argue that it usually is not a problem), it is common ...
Dave's user avatar
  • 67.1k
4 votes
0 answers
190 views

Trying to understand the theory behind my similar / better results than XGBoost using a calibrated linear model (GAM)

I just opened a discussion on reddit asking about why/how the calibrated linear models I've been training have been getting similar / better results than XGBoost in my experiments. I was told to cross ...
William's user avatar
  • 41
4 votes
0 answers
22 views

Is there a decision tree impurity metric based on maximum of probabilities?

I'm trying to understand impurity metrics in decision tree learning, in particular the Gini impurity. Questioning one of the assumptions of Gini impurity has led me to another impurity measure which ...
A Kubiesa's user avatar
  • 151

1
2 3 4 5
47