December 2017
Intermediate to advanced
536 pages
14h 23m
English
We can predict the house price now using the coefficients learned from the model:
N= 500X_new = X_train [N,:]Y_pred = (np.matmul(X_new, w_value) + b_value).round(1)print('Predicted value: ${0} Actual value: / ${1}'.format(Y_pred[0]*1000, Y_train[N]*1000) , '\nDone')Read now
Unlock full access