---
# System prepended metadata

title: Untitled

---

410521221 陳學勤
1. Prepare the training data which must contain 256 binary inputs and there corresponding outputs

![](https://i.imgur.com/QdYDkOi.png)

2. Design the MLP neural network

![](https://i.imgur.com/4C2wXG2.png)
![](https://i.imgur.com/UEswd7S.png)
![](https://i.imgur.com/3Z8v7IM.png)


3.Train the MLP with the training data

![](https://i.imgur.com/dd6aTCv.png)


training result:

![](https://i.imgur.com/fYLRCDL.png)

錯誤了兩個。

plot:

![](https://i.imgur.com/Pi9rKES.png)

試著更改seed的值，及增加epoch圈數，loss降低了且沒錯誤了

![](https://i.imgur.com/lGLywmB.png)

plot:
![](https://i.imgur.com/AJTsGEd.png)



