官术网_书友最值得收藏!

The machine learning algorithm using a distributed environment

Machine learning algorithms combine simple tasks into complex patterns, that are even more complicated in distributed environment. Let's take a simple decision tree algorithm (reference), for example. This particular algorithm creates a binary tree that tries to fit training data and minimize prediction errors. However, in order to do this, it has to decide about the branch of tree it has to send every data point to (don't worry, we'll cover the mechanics of how this algorithm works along with some very useful parameters that you can learn in later in the book). Let's demonstrate it with a simple example:

Figure 3 - Example of red and blue data points covering 2D space.

Consider the situation depicted in preceding figure. A two-dimensional board with many points colored in two colors: red and blue. The goal of the decision tree is to learn and generalize the shape of data and help decide about the color of a new point. In our example, we can easily see that the points almost follow a chessboard pattern. However, the algorithm has to figure out the structure by itself. It starts by finding the best position of a vertical or horizontal line, which would separate the red points from the blue points.

The found decision is stored in the tree root and the steps are recursively applied on both the partitions. The algorithm ends when there is a single point in the partition:

Figure 4 - The final decision tree and projection of its prediction to the original space of points.
主站蜘蛛池模板: 偏关县| 增城市| 武陟县| 迭部县| 和林格尔县| 阿荣旗| 黑河市| 湖北省| 富阳市| 崇文区| 福贡县| 大田县| 勐海县| 涟水县| 从江县| 逊克县| 莱芜市| 海淀区| 濮阳市| 民勤县| 瓮安县| 通道| 穆棱市| 宁明县| 中卫市| 灵寿县| 桦南县| 喀喇沁旗| 泰安市| 万山特区| 金秀| 石林| 和林格尔县| 宁安市| 陵川县| 油尖旺区| 万荣县| 昌吉市| 玛多县| 新野县| 太康县|