Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The warning "overflow encountered in double_scalars" occurred while calculating the value of "diff," which is the sum of the product of X_values and the difference between y_values and the predicted value based on the linear equation (X_values multiplied by the slope (m) plus the y-intercept (b)).