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

Encapsulate analytics

Encapsulate means grouping together similar functions and activities into distinct units. It is a core principle of object-oriented programming, and you should employ it in analytics as well. The goal is to reduce complexity and simplify future changes.

As your analytics develop, you will have a list of actions that is either transforming the data, running it through a model or algorithm, or reacting to the result. It can get complicated quickly. By encapsulating the analytics, it is easier to know where to make changes when needed down the road. You will also be able reconfigure parts of the process without affecting the other components.

The encapsulation process follows these steps:

  1. Make a list of the steps.
  2. Organize them into groups.
  3. Think which groups are likely to change together.
  4. Separate the groups that are independent into their own processes.

It is a good idea to have the data transformation steps separate from the analytical steps if possible. Sometimes, the analysis is tightly tied to the data transformation, and it does not make sense to separate, but in most cases, it can be separated. The action steps based on the results of the analysis should almost always be separate.

Each group of steps will also have its own resource needs. By encapsulating them and separating the processes, you can assign resources independently and scale more efficiently where you need it. You can do more with less.

主站蜘蛛池模板: 乡城县| 拜泉县| 临猗县| 乐山市| 惠来县| 阳新县| 靖安县| 建阳市| 建平县| 土默特左旗| 广汉市| 随州市| 磐安县| 安新县| 潍坊市| 普洱| 万山特区| 郓城县| 玉树县| 历史| 图们市| 荥阳市| 邵阳市| 方山县| 弥勒县| 镶黄旗| 昭通市| 祁连县| 安徽省| 北海市| 德安县| 阳西县| 崇文区| 合肥市| 佛冈县| 文水县| 上犹县| 桐乡市| 丽江市| 三门峡市| 二连浩特市|