Ask Your Question
0

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

asked 2021-10-27 11:00:00 +0000

lakamha gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2021-11-26 15:00:00 +0000

bukephalos gravatar image

This warning typically means that the calculated value has exceeded the limit of what can be represented by a floating-point number. In other words, the value is too large to be stored in memory. This can occur when the numbers being multiplied together in the calculation are very large.

To address this warning, you may want to consider scaling your data or using a different numerical method that can handle large values. Alternatively, you could try using a different type of data structure or programming language that is better suited for large calculations.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-10-27 11:00:00 +0000

Seen: 10 times

Last updated: Nov 26 '21