Neural Network - Mini Project
Aarthi Reddy
April 2, 2018
DEADLINE: April 27th, 2018; 8am
In this mini project you will build a neuron, which you will then use to build a neural
network. Here are the step by step instructions:
1. (10 points) Write a sigmoid activation function. The formula of a sigmoid activation
function is:
f(a) = 1
1 + e?a
(1)
2. (10 points) Write a binary step activation function. The formula of a step function
is:
f(a) = (
0 if a < 0,
1 if a ≥ 0
(2)
3. (20 points) Write a function to depict the input to a neuron:
In = b +
X
i
wixi (3)
4. (30 points) You can now create a neuron by including the activation function within
it. For example, a neuron with a sigmoid activation function will look like this:
f(In) = 1
1 + e?In ; (4)
where In is shown in Equation 3. Create a neuron with binary step function and
a neuron with sigmoid activation functions.
5. (30 points) You will use the neuron with the binary step function you created above
to build a xor neural network. The bias and weights for every input to each neuron
is indicated in the diagram. Refer to the lecture notes for help. Do not create a
1
new function for every neuron, you will need to call just one function created in 4
multiple times. .
Test the neural network by providing it 4 different input sets: {1,1}, {0,1}, {1,0}
and {0,0}. The output should be 0, 1, 1, 0.
2
本团队核心人员组成主要包括硅谷工程师、BAT一线工程师,国内Top5硕士、博士生,精通德英语!我们主要业务范围是代做编程大作业、课程设计等等。
我们的方向领域:window编程 数值算法 AI人工智能 金融统计 计量分析 大数据 网络编程 WEB编程 通讯编程 游戏编程多媒体linux 外挂编程 程序API图像处理 嵌入式/单片机 数据库编程 控制台 进程与线程 网络安全 汇编语言 硬件编程 软件设计 工程标准规等。其中代写代做编程语言或工具包括但不限于以下范围:
C/C++/C#代写
Java代写
IT代写
Python代写
辅导编程作业
Matlab代写
Haskell代写
Processing代写
Linux环境搭建
Rust代写
Data Structure Assginment 数据结构代写
MIPS代写
Machine Learning 作业 代写
Oracle/SQL/PostgreSQL/Pig 数据库代写/代做/辅导
Web开发、网站开发、网站作业
ASP.NET网站开发
Finance Insurace Statistics统计、回归、迭代
Prolog代写
Computer Computational method代做
因为专业,所以值得信赖。如有需要,请加QQ:99515681 或邮箱:[email protected]
微信:codinghelp