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

  • Functional Python Programming
  • Steven F. Lott
  • 358字
  • 2021-08-27 19:20:21

Exploratory data analysis

Later in this book, we'll use the field of exploratory data analysis (EDA) as a source for concrete examples of functional programming. This field is rich with algorithms and approaches to working with complex datasets; functional programming is often a very good fit between the problem domain and automated solutions.

While details vary from author to author, there are several widely accepted stages of EDA. These include the following:

  • Data preparation: This might involve extraction and transformation for source applications. It might involve parsing a source data format and doing some kind of data scrubbing to remove unusable or invalid data. This is an excellent application of functional design techniques.
  • Data exploration: This is a description of the available data. This usually involves the essential statistical functions. This is another excellent place to explore functional programming. We can describe our focus as univariate and bivariate statistics but that sounds too daunting and complex. What this really means is that we'll focus on mean, median, mode, and other related descriptive statistics. Data exploration may also involve data visualization. We'll skirt this issue because it doesn't involve very much functional programming. I'll suggest that you use a toolkit such as SciPy. Visit the following links to get more information how SciPY works and its usage:
  • Data modeling and machine learning: This tends to be proscriptive as it involves extending a model to new data. We're going to skirt around this because some of the models can become mathematically complex. If we spend too much time on these topics, we won't be able to focus on functional programming.
  • Evaluation and comparison: When there are alternative models, each must be evaluated to determine which is a better fit for the available data. This can involve ordinary descriptive statistics of model outputs. This can benefit from functional design techniques.

The goal of EDA is often to create a model that can be deployed as a decision support application. In many cases, a model might be a simple function. A simple functional programming approach can apply the model to new data and display results for human consumption.

主站蜘蛛池模板: 望奎县| 西丰县| 社旗县| 林口县| 定边县| 临泽县| 达州市| 鄂托克旗| 利津县| 开平市| 崇阳县| 平和县| 禹城市| 开江县| 巴青县| 乐东| 合阳县| 龙胜| 循化| 克什克腾旗| 格尔木市| 鹤山市| 海门市| 黄浦区| 苏州市| 出国| 龙陵县| 云南省| 忻城县| 峡江县| 大余县| 历史| 昭平县| 安远县| 昭苏县| 榕江县| 綦江县| 寿阳县| 临澧县| 探索| 繁昌县|