Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [classification]

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

0
votes
1answer
11 views

How can I categoriese / classify a cluster of words?

I am just wondering if it is possible to classify word clusters? For example if I provide you an array of words [bird,chicken,dock,park,apple,grapes,furits,juice] ...
0
votes
0answers
9 views

Accuracy doesn't increase in Binary Classification with 3D coordinates as data

I have 4000 catalogues of galaxies, in each there are 34700 objects, for each of it I have x,y,z coordinates. I want to do a binary classification creating a model which should be able to determine ...
0
votes
0answers
24 views

Deep learning not classify some classes

I want to classify 13 classes, but 2 classes is not classified. This is the test result. As you can see in the image, class 3 and class 11 is not detected. It's simple vector to class classification. ...
-2
votes
0answers
14 views

One hot dimension vs features dimension [on hold]

I have time series data with 5 possible 7 features while labels number is 6. Is it a realistic scenario? Would it work well with RNN - 5 + 6 vector for each time step?
1
vote
2answers
108 views

What's the difference between multi label classification and fuzzy classification?

Is it just the between academics and practitioners in term usage? Or is theoretical difference of how we consider each sample: as belonging to multiple classes at once or to one fuzzy class? Or ...
0
votes
1answer
10 views

sklearn stratifying dataset with more than one label

I have come across sklearn.model_selection.train_test_split as a method to split up the train and testing dataset. Furthermore they have a ...
0
votes
1answer
14 views

Continuously training one model with different dimensions each time

I'm trying to solve a problem where I need to train one model with N dimensions and again train on top of that model with M dimensions. How can I achieve it? To give you guys some context, I have 1 ...
1
vote
0answers
15 views

Does MNIST generalise to european handwriting?

I want to use the MNIST dataset to teach my neural network to recognise numbers. My problem is: The data I am working with is "european". What i mean by that is: the seven always has a dash (it often ...
0
votes
0answers
13 views

How to Predict the Psychology of user by his/her tweets , in Python? [on hold]

I want to predict the psychology of a specific user using the tweets considering Natural Language Processing in Python. Please help me step by step using Python Code. Thanks !
0
votes
1answer
17 views

K-means clustering for one class classification

I want to know if I can use the k-means clustering algorithm for a one class classification (as in the case of one class SVM), which means I have data for 2 classes, and I labelled only the one class ...
0
votes
0answers
17 views

How to check result jrip? [on hold]

This is the data that enters weka but I must manually verify the result of the jrip algorithm with weka the formulas are these v= pos (Neg - Neg) / Pos + Neg) Gain (R', R) = s.(log 2 N'+/N - log ...
2
votes
1answer
25 views

Problems in building model predicting probablity of student's admission

I'm trying to build a model predicting the probability of a student's admission in Russian educational system. There are exams for every school subject. The student can take several of them. Based on ...
5
votes
2answers
47 views

how to check the distribution of the training set and testing set are similar

I have been playing the Kaggle Competition and I find there is a situation that the distribution of the training set and testing set are different, so I am wondering how to check the distribution of ...
0
votes
0answers
16 views

Can McNemar's test be applied to evaluate multiclass models?

Full Disclosure: I did a semi-cross post of this question due to low traffic on Cross Validated. Once I get an answer on any of the two questions, I will link the answer back to the respective other. ...
0
votes
0answers
19 views

How to do Natural Language Processing with few samples only?

I am familiar with SMOTE (Synthetic Minority Oversampling), and the Python Library imbalanced-learn, which can be used to handle ...
1
vote
0answers
16 views

Adjust class weights due to class imbalance and class importance Multi class classification XGBoost

With respect to this question and the answer given by @Esmailian, Would anyone be able to let me know if Class B has a higher importance or the positive class ( i.e. it needs to have a higher ...
0
votes
1answer
15 views

Smoothen the Classification output

I am working on an image classification tasks in which I have 4 classes (For example A, B, C, D). I used CNN model (transfer learning) to train the model and predict the video frames. Ideally, there ...
2
votes
2answers
25 views

Algorithm for sequences classification

I want to ask wich algorithm can I use to do a sequences classification , knowing that I have two classes (positive /negative), but training is done using data from one class only (positive). Thank ...
0
votes
0answers
18 views

is average pooling(Convolutional neural network) suitable for news classification?

I have a disaster related english news articles corpus. I want to use the following paper for this news corpus classification Text Classification Improved by Integrating Bidirectional LSTM with Two-...
5
votes
3answers
121 views

Looking for a classification (?) algorithm for linearly separable but unlabeled data points

I have a dataset that is linearly separable with two lines - something like that: Now I'am looking for the right kind of algorithm to do what I guess a SVM would do with labeled data - find the ...
-1
votes
0answers
63 views
+50

Is there any strategy for validating the result of a general comparison between several confusion matrices?

Disclaimer: Recently we have developed a python library named PyCM specialized for analyzing multi-class confusion matrices. A compare system has been added in <...
4
votes
4answers
497 views

What are the possible ways to detect skin while classifying diseases?

I am working on a skin disease classification problem where I have successfully created a classifier ( TensorFlow + Keras ) which can classify images of two skin diseases. The sample image needs to ...
0
votes
1answer
12 views

correct setting of eval_set in multiclass classification xgboost python , error is “ Check failed: preds.size() == info.labels_.size()”

i have a multiclass classification problem with 3 classes [-1,0,1] . i'd like to use eval_set in xgboost. but it fails with error: ...
0
votes
0answers
16 views

Training xgboost model with more data having different characteristic

I have trained my model for ECG data which has 8528 ECG files having length 30s and sample rate 300 so total file length in csv ...
4
votes
1answer
193 views

Training a classifier when some of the features are unknown

I am training a classifier in Matlab with a dataset that I created. Unfortunately some of the features in the dataset were not recorded. I currently have the unknown features set as -99999. So, for ...
0
votes
0answers
9 views

Are these Multi-label document classification experiment steps sensible?

I plan to filter an input document using 4 different labels. Just for an example, a document discussing about movie summary needs to be labeled with 4 labels (Romance, Drama, Fiction, Hollywood). ...
1
vote
1answer
24 views

Decision trees With branching Factor?

How to construct a Binary Tree from a decision tree with branching factor greater than 2 (b>2)?
1
vote
2answers
29 views

Labeling classes conditionally

I am working with a time series predicting whether web traffic will increase or decrease each day compared to the previous day for a given user. Initially I used binary classes: labeled 1 for next ...
4
votes
1answer
52 views

Ambiguity in Perceptron loss function (C. Bishop vs F. Rosenblatt)

Bishop's Perceptron loss On one hand, it is stated in equation 4.54 of Chris Bishop's book (pattern recognition and machine learning) that the loss function of perceptron algorithm is given by: $${...
0
votes
1answer
14 views

Same classification given for neural network regardless of the input

I am using the MNIST classification tutorials on the TensorFlow website to create my own classification program to predict a footballers value using the FIFA 19 dataset. However, when I run my program,...
0
votes
1answer
23 views

Will a Count vectorizer ever perform (slightly) better than tf-idf?

For the task of binary classification, I have a small data-set of a total 1000 texts (~590 positive and ~401 negative instances). With a training set of 800 and test set of 200, I get a (slightly) ...
1
vote
2answers
44 views

Classifier performance evaluation

I have an unbalanced dataset which has 920 samples in total, 689 belong to the first class, and 222 to second class. and both classes are significant for me. so when building a classifier model such ...
0
votes
1answer
23 views

Classifying ultrasound videos with a small dataset

I have a small dataset of ~300 ultrasound clips, about evenly divided between 3 classes. Due to the nature of the data (medical) it's difficult to get more. I need to train a model (or an ensemble) ...
1
vote
1answer
32 views

Tuning C hyper parameter in Soft Margin SVM in Matlab

How to tune the C 'BoxConstraint' hyperparameter in soft margin SVM to get the best optimal value?
1
vote
2answers
21 views

Where can I find an algorithm for human activity classification using thigh and shank sensors?

I am working on a project where I initially need to classify the type of activity a subject is performing based on raw accelerometer and gyroscope data from the thigh and shank of both legs. The type ...
2
votes
1answer
22 views

Looking for other opinions on approach to classification problem

I'm looking to implement an "opt-out" filter for my company. The input is short, text-message style messages. A few examples of opt-out messages are: "remove me from your list" "remove from list" "...
0
votes
0answers
13 views

Hard margin SVM in Matlab

How can I build a hard margin svm model using matlab builtin functions such as fitcsvm and fitclinear? Should I set the ...
1
vote
0answers
24 views

SVM hard and soft margins in matlab,

I am comparing the performances of several SVM models in matlab using the fitcsvm function, and I want to double check that I am using the correct syntax for hard ...
0
votes
0answers
31 views

SVM hyperparameters using Matlab's fitcsvm and OptimizeHyperparameters

I am building SVM models and will compare their performances, linear vs RBF, and I'm using OptimizeHyperparameters to get best hyperparameters C (BoxConstraints) ...
0
votes
0answers
46 views

Binary Classification of Numeric Sequences with Keras and LSTMs

I'm attempting to use a sequence of numbers (of fixed length) in order to predict a binary output (either 1 or 0) using Keras and a recurrent neural network. Each training example/sequence has 10 ...
0
votes
2answers
36 views

Can an output class be defaulted?

In my use-case of multi-class classification, my data distribution is like below: It might be too silly to ask this (and possibly could be gravely wrong), but is there a provision to default an o/p ...
2
votes
1answer
36 views

Cost sensitive classification with individual cost

I'm currently sitting on a problem, where i'm uncertain if there is not a much simpler solution. I'm trying to train a DNN with a dataset for a classification task that should be cost sensitive. ...
2
votes
1answer
33 views

Preprocess image data to classify objects based on shape

Currently I'm trying to build a neural network that is able to classify different types of bottles on an image solely based on the shape. The bottles have no label and at first I only used beer and ...
0
votes
0answers
14 views

Additional loss / regularization term based on distance in classification of ordinal classes with neural networks

Sometimes when doing classification with neural networks, there is no ordinal relationship between the target classes. However, if there is, using cross-entropy loss for training, is there a way to ...
1
vote
1answer
74 views

SVM with Tensorflow

I have an array of Numpy with the following data, for example: ...
6
votes
0answers
52 views

Strategies for handling unlabeled data which is slightly different from the labeled data

Suppose you have a dataset with the following properties: The number of samples is fairly large (~100K samples) There are ~150 contextual features and 1 feature consisting of a text-string (which can,...
2
votes
1answer
24 views

Dealing with biased binary classifier

My training data is weighed heavier on the '1' class, with about a 4:6 ratio. This outputs a classifier that is of 82% accuracy with an emphasis on the '1' class, which makes sense. ...
1
vote
1answer
36 views

What kind of algorithm should I choose for this music classification system?

I have in mind a program for analyzing short fragments of music, categorizing them as "good" or "bad". This would be part of a larger program that searches for larger good phrases and whole pieces. ...
0
votes
0answers
13 views

Reverse engineering on Xgboost model

I am doing experiments on https://www.physionet.org/challenge/2017/sources/ submission. I like one of the submission code, which use Xgboost to train the ...
2
votes
1answer
15 views

Predicting descrete value problem in regression or classification

In machine learning, regression algorithms attempt to estimate the mapping function (f) from the input variables (x) to numerical or continuous output variables (y). I have one usecase where I ...