3 ms·
If your code has even a single magical constant (I guess it likely has, if only because your code has to figure out whether a period is sentence-ending), you ca
by Someone 9y ago
If your code has even a single magical constant (I guess it likely has, if only because your code has to figure out whether a period is sentence-ending), you can and, now that it is cheap and easy, probably should use machine learning (a moniker that includes such algorithms as gradient descent) to optimize that constant.
Also, if you ever have considered two code variants where one is a bit better in situation A and the other in situation B, you can use machine learning to combine the two methods, (e.g. using a random forest (https://en.wikipedia.org/wiki/Random_forest https://en.wikipedia.org/wiki/Random_forest)
- guy98238710 9y agoYou don't need AI to find values for free parameters. Unless you consider all of statistics to be a subfield of AI.
- disgruntledphd2 9y agoI personally consider all of modern AI (i.e. statistical pattern matching) to be a subfield of statistics. Mind you, I'm probably just a grumpy old man.
- dvfjsdhgfv 9y agoNo, you're being fairly accurate.
- halflings 9y agoWhy use the term "AI" when the GP specifically used the less ambiguous Machine Learning? Machine Learning = statistics + linear algebra + computer science, mostly. Naive Bayes and Graphical Models are pure statistics, but they are mostly used for toy problems. Machine Learning scales these approaches to high dimensionality problems, and tasks where data is abundant.
- gaius 9y agoIf someone had something as basic as logistic regression or k-means clustering in a production app they are already ahead of the vast majority of ML practitioners
- peatmoss 9y agoGods, maybe I should stop telling people that I don’t have much in the way of a machine learning background.
- nkozyra 9y ago> Naive Bayes and Graphical Models are pure statistics, but they are mostly used for toy problems. I think they just feel "toy" because they've been used with great accuracy for so long. Complex problems are rarely solved by a single approach. The harder the problem the more likely a suite will be used, and often naive bayes will be part of that in some capacity.
- PeterisP 9y agoCan you give one example where Naive Bayes has been used with great accuracy for so long? Naive Bayes is a common baseline solution because it's very simple to implement and very fast to run; however, pretty much any other ML method gives better accuracy than Naive Bayes. Sometimes the accuracy improvement is small and doesn't justify the highly increased computing cost, though, so Naive Bayes becomes the appropriate method to use, but it's not because of its accuracy.
- skj 9y ago> Machine Learning scales these approaches to high dimensionality problems, and tasks where data is abundant. Machine learning is the use of computers to make decisions (or classifications) based on data without human intervention.
- freehunter 9y agoFunny, I would consider many ML usages to be toy problems. Coming up with funny nonsensical Shakespeare plays or generating random Pantone colors or Pokémon names isn’t something you hear from Bayesian systems. That’s the domain of ML. Recommending related products is again simple statistical analysis. And I can generate a prediction based on past performance real easy with some SQL and a couple of “if” statements. Just because Bayesian isn’t over-hyped doesn’t mean it doesn’t solve real problems. Not everything can be solved with ML, unless the problem is getting more investor money.