The error is in the file 'Deep-Learning-API-example/TensorFlow/Main_tf_Regression.py'.
X_input_test=np.concatenate((X_test,np.ones([n_test,1])),axis=1)
y_pre_LSE=np.matmul(X_input_test,Weight_LSE)
mse_LSE=np.mean(np.sqrt(np.sum(np.square(Y_test-y_pre))))
In line 65, the 'y_pre' should be 'y_pre_LSE'.