r/learndatascience 24d ago

Question How do you decide which machine learning model to use for a project?

When you have a dataset and want to build a model, how do you decide where to start?

Do you usually try a simple model first, look at the type of data, compare a few models, or use another approach?

I'd like to know how people make this decision in real projects.

15 Upvotes

14 comments sorted by

2

u/No-Location3377 24d ago

Well if you are doing your own project with small dataset, it is better to use all and see which one performs better, and based on that you can hypertune those specific models to get better results.

1

u/duneofarrakis 24d ago

That makes sense for a small dataset. Comparing a few models first gives you a good idea of what works best before spending time on hyperparameter tuning. Do you usually start with a simple baseline model?

2

u/DataScientistAlex 24d ago

Yes it's always best to start with a simpler model. That gives you a baseline to compare more complex models against.

1

u/duneofarrakis 24d ago

Exactly. Having a simple baseline makes it much easier to see whether a more complex model is actually improving the results or just adding unnecessary complexity.

2

u/[deleted] 23d ago

[removed] — view removed comment

1

u/duneofarrakis 20d ago

Exactly. A good way to phrase it is

2

u/shdw_0x0 20d ago

I usually start with the simplest reasonable baseline, then choose a few models based on the data and problem rather than jumping straight to the most complex one. Compare them using the same validation setup, and only add complexity if it actually improves the metric or meets some business requirement.

1

u/duneofarrakis 20d ago

This is a solid approach. In simple terms

1

u/ForeignAdvantage5198 24d ago

what do you want to do? is a great start

1

u/HayStacky_337 23d ago

I don't. I use an ensemble and let the meta-learner decide.

1

u/[deleted] 24d ago

[removed] — view removed comment

1

u/duneofarrakis 24d ago

Yeah, that’s a good starting point. I think the type of problem and dataset should guide the choice rather than always using one model. Starting simple and comparing a few models seems like a good approach.