this post was submitted on 13 Aug 2026
7 points (81.8% liked)

Machine Learning

639 readers
2 users here now

A community for posting things related to machine learning

Icon base by Lorc under CC BY 3.0 with modifications to add a gradient

founded 3 years ago
MODERATORS
 

Hello,

I am new to ML and stuff. watched a video on yt and found that the instructor was brute forcing every algorithm to classify high energy particles. I was wondering if professional data scientist also do this or there are some rules about which ML model to choose.

( the instructor also used a NN to classify which gave pretty good accuracy )

top 2 comments
sorted by: hot top controversial new old
[โ€“] NightFantom@slrpnk.net 2 points 1 week ago

(I started as a data science years ago, but quickly turned data engineer and have definitely lost touch, but I can help with some generic answers: )

"Brute forcing every algorithm" sounds a bit bad, but it's usually not that bad: in reality when you're "done" you probably want to retrain when new data comes in every so often, so trying out a few algorithms isn't too big of a waste.

That said, with experience comes some knowledge about the tradeoffs of each algorithm/model. For instance, neural nets are universal approximators, so they can in theory model anything, but they need a lot of data to make this happen. In addition, NNs are bad for explainability : when you want to tell e.g. a customer why you're recommending them xyz movie, "neuron 231 activated strongly" is not really useful.

While a linear regression can in theory work with just a handful of samples, but is only useful if your data actually roughly matches a line. This is really good for explainability however: if you see that particles with high energies are more likely to interact, then your linear regression will show that, and it's a clear correlation between those variables.

Apart from amount of training data needed and explainability there's lots of other variables that play a role like how fast the model decays (e.g. anything trained on news data may be outdated in days if not hours, while physics doesn't really change) and as such how often it needs retraining; how easy it is to update vs retrain from scratch each time; cost (in time usually) of training and inference; what you're optimising for (false positives, false negatives, accuracy, precision, etc).

It's not uncommon to just shotgun a bunch of models (and a bunch of variation of hyperparameters of those models) at a dataset and just pick whatever seems to perform best on a validation dataset.

[โ€“] howrar@lemmy.ca 2 points 1 week ago* (last edited 1 week ago)

The choice of algorithms usually comes down to your goals and your modeling assumptions. For example, if you think the data is drawn from a Gaussian distribution, then you would use mean squared error. If everything roughly lines up on a plane or different labels can be separated easily by a plane, then you could use a linear function and related tools for optimizing them.

We usually just make educated guesses by inspecting the data, but when you have messy real world data, that's hard to do correctly, so it makes more sense to just try a set of things to see what sticks. Note that this doesn't mean trying everything under the sun. You should still understand your problem well enough to restrict that set to a reasonable size.