ESL Overview

Overview

Notation

  • We will use n to represent the number of distinct data points, or observations.

  • Let p denote the number of variables that are available for use in making predictions.

  • We will let xij represent the value of the j th variable for the ith observation, where i=1, 2, , n , j=1, 2, , p .

  • We let X denote a n×p matrix whose (i,j) th element is xij .That is,

    X=x11x21xn1x12x22xn2x1px2pxnp

  • We denote xi as the i th row of X. xi is a vector of length p ,, containing the p variable measurements for the i th observation. That is,

    xi=xi1xi2xip

  • If we are interested in the columns of X , which we will write as x1, x2, , xp . That is,

xj=x1jx2jxnj

  • If we use these notations, we can write X as
    X=(x1x2xp)

X=xT1xT2xTn

  • The T notation denotes the transpose of a matrix or vector. For example,

    XT=x11x12x1px21x22x2pxn1xn2vdotsxnp

    while
    xTi=(xi1xi2xip)

  • We use yi to denote the i th observation of the variable on which we wish to predict. Hence, we write the set of all n observations in vector form as

    y=y1y2yn

  • We always denote a vector of length n in lower case bold e.g.

    a=a1a2an

  • If a vector not of length n will be denoted in lower case normal font, e.g. a .

  • Matrix will be denoted using bold capitals, such as A.

  • Random variables will be denoted using capital normal font, e.g. A , regardless of their dimensions.

  • To indicate that an object is a scalar, we will use the notation aR. To indicate that it is a vector of length k , we will use aRk. We will indicate that an object is a r×s matrix using ARr×s .

  • Suppose that ARr×d and BRd×s . Then the product of A and B is denoted AB . That is, (AB)ij=dk=1aikbkj . As an example, consider

    A=(1324) and B=(5768)

    Then
    AB=(1324)(5768)=(1×5+2×73×5+4×71×6+2×83×6+4×8)=(19432250)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值