RSS
热门关键字:  数据挖掘  人工智能  数据仓库  搜索引擎  数据挖掘导论

Using attributes : OLAP by example

来源: 作者:unkonwn 时间:2004-12-11 点击:

 

 

数据挖掘实验室

We are going therefore to replace the dimension Style by the dimension Reference. Thus, we know for example that the store "Paris Bastille" has sold 7 shoe pars with reference 215431324 on 18 August 1998. It′s now very practical for management of orders. No more left-overs or understockings ! 数据挖掘研究院

On the other hand, it is more difficult to know the state of the market. Nevertheless, we just have to define attributes for each reference of shoe. Possible values are Color (blue, blank, red), Substance (leather, cloth, synthetic), or Type (man, woman, child). If references are different for each size of a pattern, then Size can also be an attribute, otherwise it will be a new dimension.

数据挖掘研究院

As soon as a new reference is proposed, the administrator just has to type its characteristics. In the OLAP system, Color, Substance and Type are new dimensions. To define attributes for each reference, the system builds relations.

数据挖掘研究院

With these relationships, we can build new formulas, dimentioned by one or more of these attributes instead of the "reference" dimension. The system uses the values by reference to build the totals by attribute when the user consults the data. 数据挖掘研究院

You will have guessed it, our OLAP database can now reply to questions such as :

数据挖掘研究院

  • What color of shoe is sold the most in August 1998 ?
  • How many feminine shoes in leather did the "Paris Bastille" store sell in 1998 ?
  • What is the share of man, woman and children shoes at "Best Foot Forward" ?
最新评论共有 0 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
匿名?