Re:Enough Machine Learning to Make Hacker News Readable Agai...
by swalsh on Wednesday May 07, 2014 @05:38PM
(#7712799)
This guy right here made watching the video worth it: http://i.imgur.com/twr2j8Y.png
[ Parent
| on HN ]
Re:Enough Machine Learning to Make Hacker News Readable Agai...
by platz on Wednesday May 07, 2014 @05:44PM
(#7712824)
Why is it that in genetic algorithms never seem to be mentioned any more. Are they sub-standard, or just a "higher-level" than typically talked about i.e. you must implement them yourself.
Re:Enough Machine Learning to Make Hacker News Readable Agai...
by Russell91 on Wednesday May 07, 2014 @05:55PM
(#7712863)
Genetic algorithms are not really an off-the-shelf black box that you can just plug your data into and get results. They take a domain expert to use efficiently, and even then they aren't guaranteed to perform that well. The area that I've encountered where they are most effective is in approximation heuristics for NP-hard problems where you slowly assemble a solution from smaller pieces.
Re:Enough Machine Learning to Make Hacker News Readable Agai...
by mendicantB on Wednesday May 07, 2014 @07:32PM
(#7713187)
+1 I'd also add that genetic algorithms are for optimization, and can't really be compared with most of the algorithms in that chart. It'd be a sub-level where different optimization techniques for finding model weights, for each type of approach (classification, clustering etc)are compared.
Re:Enough Machine Learning to Make Hacker News Readable Agai...
by simonster on Wednesday May 07, 2014 @08:38PM
(#7713380)
Most (all?) of the algorithms on the chart iteratively optimize an objective. However, most of the objectives are convex or otherwise admit an optimization strategy that performs better than a genetic algorithm.
Re:Enough Machine Learning to Make Hacker News Readable Agai...
by mendicantB on Thursday May 08, 2014 @06:07AM
(#7714589)
I believe you are repeating what I said (?). All of the algorithms have different methods of arriving to an objective function and leveraging it's results. Yet, most share the same problem in terms of optimizing it, and yes, most choose other routes.
Re:Enough Machine Learning to Make Hacker News Readable Agai...
by jules on Thursday May 08, 2014 @05:49AM
(#7714552)
Could you give a concrete example where a genetic algorithm performs well? I have never been able to find any such example.
Re:Enough Machine Learning to Make Hacker News Readable Agai...
by platz on Thursday May 08, 2014 @12:28PM
(#7716133)
I'm not sure this in an example of a GA performing well, but it is an interesting write up https://web.archive.org/web/20130526010327/http://www.aelag....
[deleted]
Re:Enough Machine Learning to Make Hacker News Readable Agai...
by erokar on Wednesday May 07, 2014 @07:43PM
(#7713223)
> They are very prone to getting stuck in local minima.
That's quite a generalization. A GA's tendency to get stuck in local minima can be mitigated by adjusting population size, selection method/size and rate of mutation -- i.e. increase the randomness of the search.
Re:Enough Machine Learning to Make Hacker News Readable Agai...
by mendicantB on Wednesday May 07, 2014 @08:23PM
(#7713342)
This is not a good generalization. I've usually only seen this issue with optimization problems when:
1) You haven't played with parameters 2) Implementation is not correct (usually the case with genetic algos, since it requires a reasonable amount of domain expertise vs say GD)
Re:Enough Machine Learning to Make Hacker News Readable Agai...
by mendicantB on Wednesday May 07, 2014 @08:53PM
(#7713430)
Copped out when called out. Deleted comment said GAs were bad search algos and tend to get stuck at local minima.
Re:Enough Machine Learning to Make Hacker News Readable Agai...
by bmh100 on Wednesday May 07, 2014 @07:36PM
(#7713202)
What evidence is informing your opinion that genetic algorithms are a bad search algorithm? What makes you say that they are very prone to getting stuck in local minima? Do you think they suffer from local minima more than, say, gradient descent?
Re:Enough Machine Learning to Make Hacker News Readable Agai...
by mey on Wednesday May 07, 2014 @09:18PM
(#7713501)
The interactive map
http://scikit-learn.org/dev/tutorial/machine_learning_map/in...
Re:Enough Machine Learning to Make Hacker News Readable Agai...
by asdfologist on Wednesday May 07, 2014 @10:42PM
(#7713697)
I find it odd that Ordinary Least Squares is missing from the map, even though it's probably more popular than all the other methods in that entire map combined.
However, it is mentioned at the top here: http://scikit-learn.org/stable/supervised_learning.html.
Re:Enough Machine Learning to Make Hacker News Readable Agai...
by simonster on Thursday May 08, 2014 @12:23AM
(#7713940)
OLS is a special case of ElasticNet, Lasso, and ridge regression with the regularization parameters set to zero. (The latter two are also special cases of ElasticNet with one of the two regularization parameters set to zero.) In the presence of many predictors or multicollinearity among the predictors, OLS tends to overfit the data and regularized models usually provide better predictions, although OLS still has its place in exploratory data analysis.
Re:Enough Machine Learning to Make Hacker News Readable Agai...
by gone35 on Thursday May 08, 2014 @03:32AM
(#7714289)
To add to simonster's comment [1]: confusingly, OLS is also morally equivalent to what the map calls "SGD regressor" with a squared loss function[2]. It is also nearly equivalent, with lots of caveats and many details aside, to SVR with a linear kernel and practically no regularization.
So yeah, it is confusing. There is a lot of overlap between several disciplines and it's still an emerging field.
Re:Enough Machine Learning to Make Hacker News Readable Agai...
by blahzay on Wednesday May 07, 2014 @11:37PM
(#7713833)
It's also odd there's no mention of Logistic Regression.
Re:Enough Machine Learning to Make Hacker News Readable Agai...
by gone35 on Thursday May 08, 2014 @03:15AM
(#7714263)
Yeah the nomenclature is not very rigorous and there is some overlap depending on how you look at it but, roughly and without being pedantic, the closest in that map would be SGD with a logistic loss function[1].
[1] http://scikit-learn.org/dev/modules/sgd.html#classification
Re:Enough Machine Learning to Make Hacker News Readable Agai...
by nathanathan on Thursday May 08, 2014 @12:35AM
(#7713969)
It would be nice if scikit-learn included an "autolearn" function based on this flow-chart.