Skip to content

There is an erro in Main_tf_Regression.py #1

@BradXiao

Description

@BradXiao

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'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions