Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 216293

Machine learning algorithms build a model of the training data. The term "machine learning" is vaguely defined; it includes what is also called statistical learning, reinforcement learning, unsupervised learning, etc. ALWAYS ADD A MORE SPECIFIC TAG.

2 votes
1 answer
915 views

Decision Tree - What to avoid first a Skewed dataset or reduce too much the number of bins

So I have a dataset with a categorical column rather skewed. Lets imagine something like this: Type - AmountObservations C1 - 10000 C2 - 9500 C3 - 8000 C4 - 2000 C5 - 500 C6 - 500 C7 - 10 C8 - 10 C9 …
Ignacio Alorre's user avatar
1 vote
0 answers
149 views

Decision Tree - What is more efficient a few nodes with hundreds of branches or hundreds of ...

To make it simple, let's imagine a single category which can have 500 different values. For example city: nameCity1, nameCity2, ..., nameCity500. What is more efficient, to have one single decision t …
Ignacio Alorre's user avatar
1 vote
2 answers
942 views

Can we improve a model by dropping unimportant features

I have a Random Forest Model which, after using StringIndexer and HotEncoder, has got around 1300 features. I calculated the importance of all these features and I found out that more than 500 featur …
Ignacio Alorre's user avatar
1 vote
1 answer
2k views

Can a Decision Tree handle a column which is an array or strings?

I have this dataset where one of the columns (features) is an array of delays codes. Sometimes the array has got 1 single code and sometimes up to 5 codes. The codes can appear just once in the array …
Ignacio Alorre's user avatar
1 vote
1 answer
1k views

Random Forest - Is it a good approach to bin categories to reduce the size of the model?

I have a dataset with several categorical columns which I was planning to flatten into binary categories. Let's say I have three features in my dataset. Feature1: has got 300 different values (num …
Ignacio Alorre's user avatar
4 votes

How to build a confusion matrix for a multiclass classifier?

Using the matrix attached in the question and considering the values in the vertical axis as the actual class, and the values in the horizontal axis the prediction. Then for the Class 1: True Positiv …
Ignacio Alorre's user avatar