代写AIML 2023-2024 Coursework

时间:2024-03-17  来源:  作者: 我要纠错


AIML 2023-2024 Coursework
March 12, 2024
  Figure 1: Convolutional neural network for coursework assignment.
Problem The goal of this take-home assignment is to implement, in Python, a simple two-layer convolutional neural network (CNN) with five inputs x1, . . . , x5, four hidden nodes z1, . . . , z4 and one output y with ReLU activations, according to the diagram shown in Figure 1. The hidden layer and output of the CNN is to be computed along with the gradient of the hidden layer and output with respect to parameter w1. The values oftheparameterswillbew1 =1.2,w2 =−0.2,v1 =−0.3,v2 =0.6,v3 =1.3andv4 =−1.5.
Instructions The CNN implementation is to be computed using a single Python function in single Python file. The interface to the function should be in the precise format,
y, z = convnet(x) (1)
where x = [x1, x2, x3, x4, x5] is a list of five numerical inputs (for example, a set of real numbers x=[0.3,−1.5,0.7,2.1,0.1]), and it should return the value of y as a number of the type dual and, z=[z1,z2,z3,z4] as a list of four numbers of type dual defined in the course code module ad.py. Therefore, when testing, you should expect to import this module. The implementation should use the specific values of the weight parameters given above.
Submission TopreparethePythoncodefileforsubmission,itmustbenamedintheformatinitials_studentid.py, for instance if your initials are ’AJD’ and your ID is 5716631 then your file should be named ajd_5716631.py. Submit the file through the Assignments page on Canvas. The deadline for submissions is 12pm UK time, 21st March 2024.
Marking The function will be marked automatically by calling it inside Python, and checking the results against a model solution. A fully correct solution will receive 20 marks. A solution which has a partially correct
请加QQ:99515681  邮箱:99515681@qq.com   WX:codehelp 

标签:

扫一扫在手机打开当前页
  • 上一篇:代写COMP3411/9814 Bridge Puzzle编程代做
  • 下一篇:返回列表
  • 无相关信息
    昆明生活资讯

    昆明图文信息
    蝴蝶泉(4A)-大理旅游
    蝴蝶泉(4A)-大理旅游
    油炸竹虫
    油炸竹虫
    酸笋煮鱼(鸡)
    酸笋煮鱼(鸡)
    竹筒饭
    竹筒饭
    香茅草烤鱼
    香茅草烤鱼
    柠檬烤鱼
    柠檬烤鱼
    昆明西山国家级风景名胜区
    昆明西山国家级风景名胜区
    昆明旅游索道攻略
    昆明旅游索道攻略
  • 关于我们 | 打赏支持 | 广告服务 | 联系我们 | 网站地图 | 免责声明 | 帮助中心 | 友情链接 |

    Copyright © 2023 kmw.cc Inc. All Rights Reserved. 昆明网 版权所有
    ICP备06013414号-3 公安备 42010502001045