Tagged Questions
2
votes
0answers
43 views
Categorical logit Predictor with too many different levels
One of the predictors I had in a logit model is "City". Problem is this categorical variable has too many factor levels. e.g. In a Sample of ~3000 there are already ~200 different cities.
Is it ...
3
votes
1answer
123 views
Does it make sense to cut a continuous variable to intervals?
I'm trying to fit a two-class logistic model, using many many features. When inspecting one of the features, I binned it so I could inspect its behavior. In each bin I count the number of 'good class' ...
0
votes
0answers
172 views
R randomForest for classification error: NA/NaN/Inf in foreign function call (arg 1) [closed]
I am trying to do classification with randomForest, but I am repeatedly getting an error message for which there seems to be no apparent solution (randomForest has worked well for me doing regression ...
6
votes
1answer
234 views
CART (rpart) balanced vs. unbalanced dataset
I am fitting a tree (CART) to the olives-dataset. The training data has 436 observations (test data: 136). I have 3 responses (the 'Region' variable) which splits the training data into 116 / 74 / 246 ...
12
votes
3answers
182 views
Is building a multiclass classifier better than several binary ones?
I need to classify URLs into categories. Say I have 15 categories that I'm planning to zero down every URL to.
Is a 15-way classifier better? Where I have 15 labels and generate features for each ...
0
votes
1answer
1k views
Predicting with both continuous and categorical features
Some predictive modeling techniques are more designed for handling continuous predictors, while others are better for handling categorical or discrete variables. Of course there exist techniques to ...
2
votes
1answer
919 views
Logistic regression on categorical data
I have large dataset (around 2 million records and 300 features) with a lot of missing data. Most of the independent variables are categorical (some of these variables have more than 40 valid values). ...
1
vote
2answers
550 views
How to cross-classify two categorical variables?
I have a data frame with two categorical variables (representing different methods) that "classify" objects into three categories: cat1, ...
0
votes
1answer
216 views
Is there a corpus specifically for categories like sports, entertainment, or health?
I am experimenting with Classification algorithms in ML and am looking for some corpus to train my model to distinguish among the different text categories like sports, weather, technology, football, ...
2
votes
3answers
183 views
Multiclass classification when class distribution is known
What is an example of an algorithm that, when i have a known distribution across discrete groups and I have some sort of model score that a person is in each group, assigns persons to groups such that ...
3
votes
2answers
200 views
How should I classify stores based on the demographics of their customers?
I've got a dataset of demographic details of store customers and which store they (most frequently) visit. I would like to categorize the stores based on their customers.
To clarify: The issue ...
0
votes
2answers
238 views
How to organize a dataset with many attributes
I have a set of data which consists of many different types (measurable, categorical)
For example:
name measurable_attribute_1 categorical_attribute_1 measurable_attribute_2 ...