Goto

Collaborating Authors

 Ensemble Learning


Understanding Gradient Boosting, Part 1 -- Data Stuff

#artificialintelligence

Though there are many possible supervised learning model types to choose from, gradient boosted models (GBMs) are almost always my first choice. In many cases, they end up outperforming other options, and even when they don't, it's rare that a properly tuned GBM is far behind the best model. At a high level, the way GBMs work is by starting with a rough prediction and then building a series of decision trees, with each tree in the series trying to correct the prediction error of the tree before it. There's more detailed descriptions of the mechanics behind the algorithm out there, but this series of posts is intended to give more of an intuitive understanding of what the algorithm does. For this series, I'll be using a synthetic 2-dimensional classification dataset generated using scikit-learn's make_classification().


When Does Deep Learning Work Better Than SVMs or Random Forests?

#artificialintelligence

Guest blog by Sebastian Raschka, originally posted here. If we tackle a supervised learning problem, my advice is to start with the simplest hypothesis space first. I.e., try a linear model such as logistic regression. If this doesn't work "well" (i.e., it doesn't meet our expectation or performance criterion that we defined earlier), I would move on to the next experiment. I would say that random forests are probably THE "worry-free" approach - if such a thing exists in ML: There are no real hyperparameters to tune (maybe except for the number of trees; typically, the more trees we have the better).


Installing XGBoost on Mac OSX (IT Best Kept Secret Is Optimization)

#artificialintelligence

OSX is much better than Windows, isn't it? That's a common wisdom, and it seemed to be confirmed once more when I installed XGBoost on both OS. Before I deep dive, let me briefly describe XGBoost. It is a machine learning algorithm that yields great results on recent Kaggle competitions. I decided to install it on my laptops, an old PC running Windows 7, and a brand new Mac Pro running OSX.


What is min_child_weight in xgboost? โ€ข /r/MachineLearning

@machinelearnbot

I find a good tutorial on xgboost, but I can't understand the min_child_weight parameter of xgboost. Actually I can't understand of which weights the parameter is referencing to.


How to explain Gradient Boosting in an interview? โ€ข /r/MachineLearning

@machinelearnbot

I'm having trouble preparing for a possible interview question in which I could be asked to explain Gradient Boosting. I think I can explain other machine learning algorithms relatively concisely and well enough so that I talk for no longer than a minute. I did some google searching on gradient boosting and all I could find were overly technical explanations. For example, in the link below, the first answer gives a good concise answer for adaboost but not gradient boosting.


Random Forest in Python

@machinelearnbot

Random Forest is a machine learning algorithm used for classification, regression, and feature selection. It's an ensemble technique, meaning it combines the output of one weaker technique in order to get a stronger result.


When Does Deep Learning Work Better Than SVMs or Random Forests?

#artificialintelligence

If we tackle a supervised learning problem, my advice is to start with the simplest hypothesis space first. I.e., try a linear model such as logistic regression. If this doesn't work "well" (i.e., it doesn't meet our expectation or performance criterion that we defined earlier), I would move on to the next experiment. I would say that random forests are probably THE "worry-free" approach - if such a thing exists in ML: There are no real hyperparameters to tune (maybe except for the number of trees; typically, the more trees we have the better). On the contrary, there are a lot of knobs to be turned in SVMs: Choosing the "right" kernel, regularization penalties, the slack variable, ... Both random forests and SVMs are non-parametric models (i.e., the complexity grows as the number of training samples increases).


Bagging and Random Forest Ensemble Algorithms for Machine Studying

#artificialintelligence

Random Forest is 1 of the most preferred and most highly effective equipment discovering algorithms. It is a style of ensemble equipment discovering algorithm referred to as Bootstrap Aggregation or bagging. In this publish you will explore the Bagging ensemble algorithm and the Random Forest algorithm for predictive modeling. This publish was published for developers and assumes no background in studies or mathematics. The publish focuses on how the algorithm performs and how to use it for predictive modeling complications.


What is the difference between Bagging and Boosting? - Quantdare

#artificialintelligence

Bagging and Boosting are both ensemble methods in Machine Learning, but what is the key behind them? Bagging and Boosting are similar as they are both ensemble techniques, where a set of weak learners are combined to create a strong learner that obtains better performance than a single one. So, let's start from the beginning: Ensemble is a Machine Learning concept in which the idea is to train multiple models using the same learning algorithm. The ensembles take part in a bigger group of methods, called multiclassifiers where a set of hundreds or thousands of learners with a common objective are fused together to solve the problem. In the second group of multiclassifiers are the hybrid methods.


What Random Forests Tell Us About Democracy

#artificialintelligence

A popular method for learning from large data sets is Random Forests (see my class on the topic, in Spanish). I would like to drive a paralellism between the way they work and our political decision structures and the so called Wisdom of the crowd. Random Forests are what is called an ensemble method as they perform better than individual methods by combining their results. The individual method used in Random Forests are Decision Trees, trained from a subset of all the available data (and because of this property of operating on subsets of the data, they are a good method for applying on large datasets). More interestingly, Random Forests (as discussed in the Machine Learning article by Leo Breiman in 2001), can not only train each of their trees on a subset of the data but also use a subset of the available information (features) when training each decision node in the tree.