计算模型|COSC2002/COSC2902 Computational Modelling

联系我们: 手动添加方式: 微信>添加朋友>企业微信联系人>13262280223 或者 QQ: 1483266981

This unit will introduce a wide range of modelling and simulation techniques for tackling real-world problems using a computer. Data is often expensive to obtain, so by harnessing the enormous computational processing power now available to us we can answer what if questions based on data we already have. You will learn how to break a problem down into its key components, identifying necessary assumptions for the purposes of simulation. You will learn how to develop suitable metrics within computational models, to allow comparison of simulation data with real-world data. You will learn how to iteratively improve simulations as you validate them against real results, and you will gain experience in identifying the types of exploratory questions that computational modelling opens up. Programming will be in python. You will learn how to generate probabilistic data, solve systems of differential equations numerically, and tackle complex adaptive systems using agent-based models. Dynamical systems ranging from traffic flow to social segregation will be considered. By doing this unit you will develop the skills to go behind your data, understand why the data you observe might be as it is, and test scenarios which might otherwise be inaccessible.

这是一份sydney悉尼大学COSC2002/COSC2902 的成功案例

计算模型|COSC2002/COSC2902 Computational Modelling

问题 1.

a covering is given by the following definition.Definition 5. Let UU be a non-empty universe, and RR be a conditional probability relation on UU. For any element x∈U,Rsα(x)x in U, R_{s}^{ alpha}(x) and Rpα(x)R_{p}^{ alpha}(x) are defined as a set that supports xx and a set supported by xx, respectively, such thatRsα(x)=y∈U∣R(x,y)≥α?Rpα(x)=y∈U∣R(y,x)≥α begin{aligned} &R_{s}^{ alpha}(x)={y in U mid R(x, y) geq alpha} &R_{p}^{ alpha}(x)={y in U mid R(y, x) geq alpha} end{aligned} where α∈(0,1] alpha in(0,1].Rsα(x)R_{s}^{ alpha}(x) can also be interpreted as a set that is similar to xx. On the other hand, Rpα(x)R_{p}^{ alpha}(x) is a set to which xx is similar. The relationship between Rsα(x)R_{s}^{ alpha}(x) and Rpα(x)R_{p}^{ alpha}(x) satisfies the following theorems.

证明 .

y∈Rpα(x),|x|≥|y|?y∈Rsα(x)?y∈Rsα(x),|x|≤|y|?y∈Rpα(x) begin{aligned} &y in R_{p}^{ alpha}(x),|x| geq|y| Rightarrow y in R_{s}^{ alpha}(x) &y in R_{s}^{ alpha}(x),|x| leq|y| Rightarrow y in R_{p}^{ alpha}(x) end{aligned} Proof. Through Bayes’ theorem: P(x∣y)=|x|×P(y∣x)|y|,(1)P(x mid y)= frac{|x| times P(y mid x)}{|y|},(1) in Definition 2 can be expressed by:R(x,y)=|x||y|×R(y,x). R(x, y)= frac{|x|}{|y|} times R(y, x) . Proof of (5)(5) :y∈Rpα(x)?R(x,y)≥α?|x|y∣×R(y,x)≥α?R(y,x)≥|y||x|×α,?|x|≥|y|?|y|x∣×α≤α?R(y,x)≥α?y∈Rsα(x). begin{aligned} &y in R_{p}^{ alpha}(x) Leftrightarrow R(x, y) geq alpha Rightarrow frac{|x|}{y mid} times R(y, x) geq alpha Rightarrow R(y, x) geq frac{|y|}{|x|} times alpha, &|x| geq|y| Rightarrow frac{|y|}{x mid} times alpha leq alpha Rightarrow R(y, x) geq alpha Leftrightarrow y in R_{s}^{ alpha}(x) . end{aligned} Likewise (6) can be proved.

问题 2.

Considering the influence of the perturbation of weight wjkw_{j k} on the change of energy function EE ( jj is the index of the neurons in hidden layer), we choose the saliency measure defined as follows,sjk≈|?2E?wjk2|wjk2 s_{j k} approx left| frac{ partial^{2} E}{ partial w_{j k}^{2}} right| w_{j k}^{2} And our CC function will be,C(W,k)=∑j|?2E?wjk2|wjk2 C(W, k)= sum_{j} left| frac{ partial^{2} E}{ partial w_{j k}^{2}} right| w_{j k}^{2}

证明 .

The second derivative term, ?2E?wjk2 frac{ partial^{2} E}{ partial w_{j k}^{2}}, can be easily calculated by the chain rule. Given a two layer feed-forward neural network with 1 output neuron and assume that the activation functions of the hidden layer and output layer are f1(x)=11+e?xf_{1}(x)= frac{1}{1+e^{-x}} and f2(x)=xf_{2}(x)=x respectively, the second derivative can be reduced to a very simple form,?2E?wjk2=xk2w1j(f12?f1′′e) frac{ partial^{2} E}{ partial w_{j k}^{2}}=x_{k}^{2} w_{1 j} left(f_{1}^{2}-f_{1}^{ prime prime} e right) where ee is the training error and xkx_{k} is the kk th input.Let a network have qq input time series. If a time series xm(m=1,2,…,q)x_{m}(m=1,2, ldots, q) has previous p mathrm{p} steps information be the inputs, then the C mathrm{C} function for the time series xmx_{m} is:C(xm)=∑k=1pC(W,k) C left(x_{m} right)= sum_{k=1}^{p} C(W, k) For one training epoch, let CmaxC_{ max } be the largest value of all C(xm)(m=1,2,…,q)C left(x_{m} right)( mathrm{m}=1,2, ldots, mathrm{q}). Then the saliency coefficient of a time series xmx_{m} is defined as:S(xm)=C(xm)Cmax S left(x_{m} right)= frac{C left(x_{m} right)}{C_{ max }}

本单元将介绍广泛的建模和模拟技术,以利用计算机解决现实世界的问题。数据的获取往往是昂贵的,因此,通过利用我们现在可用的巨大的计算处理能力,我们可以根据我们已经拥有的数据来回答如果问题。你将学习如何将一个问题分解成其关键组成部分,为模拟的目的确定必要的假设。你将学习如何在计算模型中开发合适的指标,以便将模拟数据与现实世界的数据进行比较。你将学习如何在对真实结果进行验证时反复改进模拟,你将在确定计算模型所带来的探索性问题的类型方面获得经验。编程将使用python。你将学习如何生成概率数据,数值解决微分方程系统,并使用基于代理的模型处理复杂的适应性系统。从交通流到社会隔离的动态系统都将被考虑。通过学习这个单元,你将发展出深入数据背后的技能,理解为什么你观察到的数据可能是这样的,并测试那些可能无法进入的场景。

发表回复