合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務(wù)合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務(wù)合肥法律

        COMP3340代做、代寫Python/Java程序
        COMP3340代做、代寫Python/Java程序

        時間:2025-03-15  來源:合肥網(wǎng)hfw.cc  作者:hfw.cc 我要糾錯



        COMP3340 Applied Deep Learning The University of Hong Kong
        Assignment 1
        Feb 2025
        Question 1 - XOR Approximation
        We consider the problem of designing a feedforward neural network to approximate the XOR
        function. Specifically, for any input points (x1, x2), x1, x2 ∈ {0, 1}, the output of the network
        should be approximately equal to x1 ⊕ x2. Suppose the network has two input neurons, one
        hidden layer with two neurons, and an output layer with one neuron, as shown in Figure 1.
        The activation function for all neurons is the Sigmoid function defined as σ(z) = 1+
        1
        e−z .
        (a) Please provide the specific values for the parameters in your designed network. Demon strate how your network approximates the XOR function (Table 1) by performing forward
        propagation on the given inputs (x1, x2), x1, x2 ∈ {0, 1}.
        (b) If we need the neural network to approximate the XNOR function (Table 1), how should
        we modify the output neuron without altering the neurons in the hidden layer?
        x1 x2 x1 ⊕ x2 x1  x2
        0 0 0 1
        0 1 1 0
        1 0 1 0
        1 1 0 1
        Table 1: XOR and XNOR Value Table
         !
         "
         #
        Figure 1: Network structure and the notation of parameters
        COMP3340 Applied Deep Learning The University of Hong Kong
        Question 2 - Backpropagation
        We consider the problem of the forward pass and backpropagation in a neural network whose
        structure is shown in Figure 1. The network parameters is initialized as w1 = 1, w2 = −2,
        w3 = 2, w4 = −1, w5 = 1, w6 = 1, b1 = b2 = b3 = 0. The activation function for all neurons
        is the Sigmoid function defined as σ(z) = 1+
        1
        e−z .
        (a) Suppose the input sample is (1, 2) and the ground truth label is 0.1. Please compute
        the output y of the network.
        (b) Suppose we use the Mean Squared Error (MSE) loss. Please compute the loss value for
        the sample (1, 2) and its gradient with respect to the network parameters using chain rules.
        The final answer should be limited to 3 significant figures.
        (c) Suppose we use stochastic gradient descent (SGD) with a learning rate of α = 0.1.
        Please specify the parameters of the network after one step of gradient descent, using the
        gradient computed in (b). Please also specify the prediction value and the corresponding loss
        of the new network on the same input (1, 2).

        請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp

        掃一掃在手機(jī)打開當(dāng)前頁
      1. 上一篇:被小豬應(yīng)急強(qiáng)制下款怎么辦?怎么聯(lián)系米來花客服?
      2. 下一篇:CE860代做、代寫C/C++編程設(shè)計
      3. 無相關(guān)信息
        合肥生活資訊

        合肥圖文信息
        急尋熱仿真分析?代做熱仿真服務(wù)+熱設(shè)計優(yōu)化
        急尋熱仿真分析?代做熱仿真服務(wù)+熱設(shè)計優(yōu)化
        出評 開團(tuán)工具
        出評 開團(tuán)工具
        挖掘機(jī)濾芯提升發(fā)動機(jī)性能
        挖掘機(jī)濾芯提升發(fā)動機(jī)性能
        海信羅馬假日洗衣機(jī)亮相AWE  復(fù)古美學(xué)與現(xiàn)代科技完美結(jié)合
        海信羅馬假日洗衣機(jī)亮相AWE 復(fù)古美學(xué)與現(xiàn)代
        合肥機(jī)場巴士4號線
        合肥機(jī)場巴士4號線
        合肥機(jī)場巴士3號線
        合肥機(jī)場巴士3號線
        合肥機(jī)場巴士2號線
        合肥機(jī)場巴士2號線
        合肥機(jī)場巴士1號線
        合肥機(jī)場巴士1號線
      4. 短信驗證碼 酒店vi設(shè)計 deepseek 幣安下載 AI生圖 AI寫作 aippt AI生成PPT

        關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

        Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權(quán)所有
        ICP備06013414號-3 公安備 42010502001045

        主站蜘蛛池模板: 亚州日本乱码一区二区三区| 久久精品视频一区二区三区| 久久久久无码国产精品一区 | 中文字幕一区二区三区在线不卡| 亚洲色大成网站www永久一区| 性色av闺蜜一区二区三区| 亚洲中文字幕无码一区| 国内精品视频一区二区八戒| 性色A码一区二区三区天美传媒| 精品久久综合一区二区| 无码人妻精品一区二区三区在线| 久久精品午夜一区二区福利 | 国产在线视频一区二区三区| 骚片AV蜜桃精品一区| 国产综合一区二区在线观看| 精品国产高清自在线一区二区三区| 久久久精品人妻一区亚美研究所| 日韩人妻无码一区二区三区| 一区二区在线视频观看| 高清精品一区二区三区一区| 无码国产精成人午夜视频一区二区| 精品国产日韩一区三区| 久久精品国产第一区二区| 无码一区二区三区AV免费| 亚洲av午夜福利精品一区| 日本在线观看一区二区三区| 天堂一区二区三区在线观看| 久久精品国产亚洲一区二区| 风流老熟女一区二区三区| 日韩精品无码Av一区二区 | 日本不卡免费新一区二区三区| 中文字幕无码一区二区三区本日| 一区二区三区视频网站| 毛片无码一区二区三区a片视频| 成人精品一区二区三区不卡免费看 | 天堂va视频一区二区| 欲色aV无码一区二区人妻 | 中文字幕在线不卡一区二区| 激情亚洲一区国产精品| 尤物精品视频一区二区三区 | 国产成人精品无人区一区|