运行房价预测的代码报错: AttributeError: 'module' object has no attribute 'mse_cost'
Created by: LNeway
`AttributeErrorTraceback (most recent call last) in () 73 74 if name == 'main': ---> 75 main()
in main() 11 y_predict = paddle.layer.fc(input=x, size=1, act=paddle.activation.Linear()) 12 y = paddle.layer.data(name='y', type=paddle.data_type.dense_vector(1)) ---> 13 cost = paddle.layer.mse_cost(input=y_predict, label=y) 14 15 # create parameters
AttributeError: 'module' object has no attribute 'mse_cost' `
请问这个怎么解决