Forum Discussion
How do you decide which ML algorithm to start with for a new dataset?
- 8 months ago
Hi richa_gupta_224 ,
In real-world ML projects, we usually don’t try to identify the “best” algorithm upfront. Instead, the focus is on understanding the data and establishing baselines.
A typical approach looks like this:
Start with a simple baseline (Linear or Logistic Regression). This helps validate the data, uncover leakage, and set a reference point. Evaluate a few strong models in parallel, usually one linear model, one tree-based model (Random Forest), and one boosting model (XGBoost/LightGBM). The data often makes the choice clearer.
Let practical constraints guide selection:
Need interpretability > simpler models
Tabular data and performance-driven > tree-based or boosting models
Small datasets > avoid overly complex models
Be cautious of extremely high accuracy. Iterate over time. As data, features, or business requirements evolve, the “best” model can change.
The key takeaway is that model selection is an iterative engineering process, not a one-time decision. In most cases, improvements come more from better data and features than from switching algorithms.
Hope this helps.
Thank you.
you do as many as you can in parallel. Then pick the one that has the best success with your actual data. Marvel at what you have achieved, and then rinse and repeat every so often, when your chosen model is no longer the "best".
Do not pick a model that has close to 100% success rate. Such a rate is an indication that you don't need ML in the first place.
75% to 90% is very respectable.
Thank you for the clear explanation, this really helped me understand the importance of baselines and iteration.