Questions tagged [machine-learning-model]

A machine learning model is a simplified representation of a dataset, derived from statistics in the data, used to make predictions. It can represent patterns, behaviours or features within this dataset which have been learnt by the algorithm during training.

Filter by
Sorted by
Tagged with
41 votes
8 answers

What would I prefer - an over-fitted model or a less accurate model?

Let's say we have two models trained. And let's say we are looking for good accuracy. The first has an accuracy of 100% on training set and 84% on test set. Clearly over-fitted. The second has an ...
EitanT's user avatar
  • 519
1 vote
1 answer

what kind of algorithm should I use to classify the text data example given?

What kind of classification or learning algorithm that suits this kind of data example If I have to build a model using the given key words then predict column B and then to column A? what kind of ...
User123456's user avatar
4 votes
1 answer

How can I choose the best machine learning algorithms from all kinds of algorithms?

When I want to find a model for my data set, I find that there are lots of algorithms that I can use. I know how to minimize selection choices by separating supervised and unsupervised algorithms and ...
Esi's user avatar
  • 53
0 votes
2 answers

What happens when scikit-learn does a Lasso Model?

I have started an MLS course. As a beginner and non-mathematician it has been hard. I am trying to understand the exercise about Lasso Models. I have done Lasso models on R-cran, but this is my first ...
user avatar
13 votes
3 answers

What are the disadvantages of accuracy?

I have been reading about evaluating a model with accuracy only and I have found some disadvantages. Among them, I read that it equates all errors. How could this problem be solved? Maybe assigning ...
PicaR's user avatar
  • 314
10 votes
3 answers

LightGBM - Why Exclusive Feature Bundling (EFB)?

I'm currently studying GBDT and started reading LightGBM's research paper. In section 4. they explain the Exclusive Feature Bundling algorithm, which aims at reducing the number of features by ...
Tom's user avatar
  • 103
7 votes
6 answers

Is it advisable to combine two dataset?

I have two datasets on heart rate of subjects that were recorded in two different places (two different continent to be exact). The two research experiments aimed to find the subjects' emotions based ...
Lapatrie's user avatar
  • 145
6 votes
2 answers

Encoding before vs after train test split?

Am new to ML and working on a dataset with lot of categorical variables with high cardinality. I observed that in lot of tutorials for encoding like here, the encoding is applied after the train and ...
The Great's user avatar
  • 2,565
3 votes
1 answer

Exploration in Q learning: Epsilon greedy vs Exploration function

I am trying to understand how to make sure that our agent explores the state space enough before exploiting what it knows. I am aware that we use epsilon-greedy approach with a decaying epsilon to ...
JANVI SHARMA's user avatar
3 votes
1 answer

How to chose a Machine Learning algorithm? [closed]

I was wondering, are their any guidelines or any rules of the thumb as to which algorithms perform best for each task? What I'm looking for is something along the lines of: NLP tasks are usually ...
Mary93's user avatar
  • 131
2 votes
1 answer

Dealing with categorical variables in regression problems which method to use?

Usually if I have regression problem and my initial dataset contains categorical variables like : column 1: Math Science Science English I would convert this ...
baddy's user avatar
  • 165
2 votes
2 answers

Model to predict based on frequency of occurrence

I have the following dataset +-----------------------------------+ | Passenger | Trip | +-----------------------------------+ | John | London | | Jack ...
Maddy's user avatar
  • 93
2 votes
1 answer

Deciding on the number of components in PCA

I have been running my model several times now. Each time i get different results based on what number i put in my PCA component number range (I used raw numbers in the code instead of the range ...
tsumaranaina's user avatar
2 votes
2 answers

Why the VC dimension to this linear hypothesis equal to 3?

I am trying hard to understand this. Here is the scenario: X = R^2 H = { h(x) = x + 10 } I need to calculate the VC dimension for the above linear separator. ...
Suhail Gupta's user avatar
1 vote
2 answers

How to apply machine learning model to new dataset

I'm very new to machine learning & python in general and I'm trying to apply a Decision Tree Classifier to my dataset that I'm working on. I would like to use this model to predict the outcome ...
Aida's user avatar
  • 11
1 vote
2 answers

Which ML algorithm should I use for following use case for classification and Why?

I have data in table format having total 3 columns. One column for label, other two columns are features. So, such 30 rows(1 row contains 2 feature and 1 label) make one set of data with all 30 rows ...
Mitesh Patel's user avatar
1 vote
1 answer

ML Project - Achieve 2 Objectives

I have a dataset with 5K records focused on binary classification. I am posting it here to seek your suggestions on project methodology Currently what is my objective is 1) Run statsmodel logistic ...
The Great's user avatar
  • 2,565
0 votes
1 answer

Transform multi-class problem to multi-label problem

I found this question but I need an answer to the other direction. Example: Let's say we want to predict if a person with a certain profile wants to buy product A and/or B. So we have 2 binary classes ...
LineBreak's user avatar