python #project: ANN algorithm
#python version: 3.7.3
#OS: windows10
#author: Yangzhao Qin
#file type Both ".py".
#insturctions: Each task has train and test program. For task 1, just run it you can get the picture. For task 2, change the variable l which represents the number of hidden units (i.e. 50 and 100) then you can get the result. For task 3, change the variable l0 which represents the number of units of first hidden layer (i.e. 3 and 6) then you can get the result. For task 4, change the variable k which represents the number of fold times(i.e. 3 and 5) then you can get the result.