print ("当权重为5, 偏置为3时, 损失为:", loss_function(X_train, y_train, weight=5, bias=3)) print ("当权重为100, 偏置为1时, 损失为:", loss_function(X_train, y_train, weight=100, bias=1))