Note that there are some explanatory texts on larger screens.

plurals
  1. USPeter Webb
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. COThere is nothing wrong with the closed form above. It gives the correct numbers, and is well supported by theory. It is also extremely simple and runs in constant time. Given two possible algorithms which produce the same result, I would always pick simple and fast over complex and slow.
      singulars
    2. CO@Ninja420 that the problem is "similar" to linear regression doesn't help us much. How is it "different" ? Is this a textbook/homework problem? If so, what is the exact question? If it has arisen in the context of a bigger problem, what is that bigger problem? There are many algorithms to solve lots of problems which are similar to linear regression, but unless you describe your problem better (so we know what you want) you probably won't get a helpful answer.
      singulars
    3. COI disagree with the characterisation (here and elsewhere) that positive infinity is a "number so large it can't be represented normally". It can be a number so large it cannot be represented as a normal float, but in practice it usually derives from something like 5f/0f, which isn't a large (Real) number; it is a naïve version of infinity. (Technically +inf, -inf and NaN are extensions to the Reals which provide closure over any arithmetic operation, but at the cost of violating basic field axioms. This doesn't matter much to computer scientists, it does to mathematicians).
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload