联系我们: 手动添加方式: 微信>添加朋友>企业微信联系人>13262280223 或者 QQ: 1483266981
This unit covers computation and data handling, integrating sophisticated use of existing productivity software, e.g. spreadsheets, with the development of custom software using the general-purpose Python language. It will focus on skills directly applicable to data-driven decision-making. Students will see examples from many domains, and be able to write code to automate the common processes of data science, such as data ingestion, format conversion, cleaning, summarization, creation and application of a predictive model.
这是一份sydney悉尼大学DATA1002/DATA1902 的成功案例
电动力学和光学|PHYS3035 Electrodynamics and Optics
问题 1.
If aj,j=0,±1,±2,… mathrm{a}{j}, mathrm{j}=0, pm 1, pm 2, ldots, then ∑t=1mm∑s=1at?s=∑t=?mi+1m?1(?m?|t|)ai. sum{t=1}^{m} sum_{s=1}^{m} mathrm{a}{t-s}= sum{t=-m_{i}+1}^{m-1}( mathrm{~m}-| mathrm{t}|) mathrm{a}{i} . Similarly, if h(t) mathrm{h}( mathrm{t}) is a real-valued function, ∫0T∫T0?h(t?s)dsdt=∫T?T(?T?|t|)h(t)dt. int{0}^{T} int_{0}^{T} mathrm{~h}( mathrm{t}- mathrm{s}) mathrm{ds} mathrm{dt}= int_{-T}^{T}( mathrm{~T}-| mathrm{t}|) mathrm{h}( mathrm{t}) mathrm{dt} .
证明 .
Proof: We prove the discrete case. The other follows in a similar way. Considerm∑t=1m∑s=1ai?s=∑t=1mt?1∑j=t?maj sum_{t=1}^{m} sum_{s=1}^{m} mathrm{a}{i-s}= sum{t=1}^{m} sum_{j=t-m}^{t-1} mathrm{a}{j} where we are letting t?s=j mathrm{t}- mathrm{s}= mathrm{j}. Interchanging the order of summation (see **** figure), we obtain ∑t=1mm∑s=1at?s=∑j=?m+10j+m∑t=1aj+∑j=1m?1m∑t=j+1aj. sum{t=1}^{m} sum_{s=1}^{m} mathrm{a}{t-s}= sum{j=-m+1}^{0} sum_{t=1}^{j+m} mathrm{a}{j}+ sum{j=1}^{m-1} sum_{t=j+1}^{m} mathrm{a}{j} . Rewriting yields ∑i=1mmi∑s=1ai?s=∑j=?m+10(?m+j)aj+∑j=1m?1(?m?j)aj=∑j=?m+1m?1(?m?|j|)aj. sum{i=1}^{m} sum_{s=1}^{m_{i}} mathrm{a}{i-s}= sum{j=-m+1}^{0}( mathrm{~m}+ mathrm{j}) mathrm{a}{j}+ sum{j=1}^{m-1}( mathrm{~m}- mathrm{j}) mathrm{a}{j}= sum{j=-m+1}^{m-1}( mathrm{~m}-| mathrm{j}|) mathrm{a}{j} . This gives us the result in the discrete case. the continuous case follows in a similar way although actually the computation is slightly easier. Applying this lemma to the computation of the variance of ˉX overline{ mathrm{X}}, we have operatorname{var}( overline{ mathrm{X}})= mathrm{E} left{( overline{ mathrm{X}}- mu)^{2} right}= mathrm{E} left{ frac{1}{n}? sum{t=1}^{n} left( mathrm{X}{t}- mu right) right}^{2}= frac{1}{n^{2}}? mathrm{E} left{ sum{t=1}^{n}? sum_{s=1}^{n} left( mathrm{X}{i}- mu right) left( mathrm{X}{s}- mu right) right} operatorname{var}( overline{ mathrm{X}})= mathrm{E} left{( overline{ mathrm{X}}- mu)^{2} right}= mathrm{E} left{ frac{1}{n}? sum{t=1}^{n} left( mathrm{X}{t}- mu right) right}^{2}= frac{1}{n^{2}}? mathrm{E} left{ sum{t=1}^{n}? sum_{s=1}^{n} left( mathrm{X}{i}- mu right) left( mathrm{X}{s}- mu right) right} operatorname{var}( overline{ mathrm{X}})= mathrm{E} left{( overline{ mathrm{X}}- mu)^{2} right}= mathrm{E} left{ frac{1}{n} sum{t=1}^{n} left( mathrm{X}{t}- mu right) right}^{2}= frac{1}{n^{2}} mathrm{E} left{ sum{t=1}^{n} sum_{s=1}^{n} left( mathrm{X}{i}- mu right) left( mathrm{X}{s}- mu right) right} Thenvar(ˉX)=1n2n∑t=1n∑i=1γt?s=1n2n?1∑t=?n+1(n?|t|)γt. operatorname{var}( bar{X})= frac{1}{n^{2}} sum_{t=1}^{n} sum_{i=1}^{n} gamma_{t-s}= frac{1}{n^{2}} sum_{t=-n+1}^{n-1}(n-|t|) gamma_{t} . Canceling an n yields,var(ˉX)=1nn?1∑t=?n+1(1?14n)γt.. operatorname{var}( bar{X})= frac{1}{n} sum_{t=-n+1}^{n-1} left(1- frac{14}{n} right) gamma_{t .} . We are in a position to have the following theorem.
问题 2.
Let PP be the edges on an augmenting path p=[v1,…,vk]p= left[v_{1}, ldots, v_{k} right] with respect to a matching MM. Then M′=M⊕PM^{ prime}=M oplus P is a matching of cardinality |M|+1|M|+1.
证明 .
PROOF If there is an augmenting path with respect to MM, then MM cannot be a maximum matching, since by Lemma 8.18.1 there is a matching whose size is larger than that of MM. To prove the converse we show that if there is no augmenting path with respect to MM then MM is a maximum matching. Suppose that there is a matching M′M^{ prime} such that |M′|>|M| left|M^{ prime} right|>|M|. Consider the subgraph of GG induced by the edges M⊕M′M oplus M^{ prime}. Each vertex in this subgraph has degree at most two, since each node has at most one edge from each matching incident to it. Hence, each connected component of this subgraph is either a path or a simple cycle. For each cycle, the number of edges of MM is the same as the number of edges of M′M^{ prime}. Since |M′|>|M| left|M^{ prime} right|>|M|, one of the paths must have more edges from M′M^{ prime} than from MM. This path is an augmenting path in GG with respect to the matching MM, contradicting the assumption that there were no augmenting paths with respect to MM.
本单元涵盖了计算和数据处理,将现有生产力软件(如电子表格)的复杂使用与使用通用Python语言的定制软件的开发相结合。它将专注于直接适用于数据驱动的决策的技能。学生将看到许多领域的例子,并能够编写代码,使数据科学的常见过程自动化,如数据摄取、格式转换、清洗、总结、创建和应用预测模型。


发表回复