News for hackers. Stuff that matters.
Re:Learning Universal Predictors by optimalsolver on Tuesday January 30, 2024 @06:36PM (#39197555)
I see your universal predictor and raise you one non-halting program (in a language of your choice).
Re:Learning Universal Predictors by Vecr on Tuesday January 30, 2024 @06:40PM (#39197604)
Yes that's why it would be something like a Gödel machine[0]. Ignore everything it can't prove is not malicious (won't halt, runs too long, takes too many resources, etc.).

[0]: https://en.wikipedia.org/wiki/G%C3%B6del_machine

Re:Learning Universal Predictors by riku_iki on Tuesday January 30, 2024 @11:13PM (#39199816)
is halting program something can happen in infinite space?

If space is finite, you can just memorize all processed internal states of the program, there are two options:

- program gets into infinite loop, which will be detected by checking that internal program state was observed in the past already

- program will actually halt

Re:Learning Universal Predictors by Xcelerate on Wednesday January 31, 2024 @01:14AM (#39200579)
I see your pathological proof of existence and raise you an asymptotic probability of one:

“The halting problem for Turing machines is perhaps the canonical undecidable set. Nevertheless, we prove that there is an algorithm deciding almost all instances of it.”

https://arxiv.org/pdf/math/0504351.pdf

Re:Learning Universal Predictors by riku_iki on Wednesday January 31, 2024 @12:25PM (#39206565)
"almost all" is very speculative term. What is "almost all" of natural numbers for example?..
Re:Learning Universal Predictors by drdeca on Thursday February 01, 2024 @03:20AM (#39213803)
A subset with asymptotic density of 1?
Re:Learning Universal Predictors by riku_iki on Thursday February 01, 2024 @11:38AM (#39217853)
in common math/geometry, all natural numbers altogether I think will have density 0..
Re:Learning Universal Predictors by drdeca on Thursday February 01, 2024 @04:43PM (#39221873)
The asymptotic density of a subset of the natural numbers, is defined as the limit of (number of elements of the set which are less than N)/N , as N goes to infinity.
Re:Learning Universal Predictors by riku_iki on Thursday February 01, 2024 @04:54PM (#39221990)
Ok, by this definition I believe if you consider set of natural number without say n^2 numbers, then density will be 1, or "almost all", while class we ignored and similar classes are quite large and important.
Re:Learning Universal Predictors by drdeca on Sunday February 04, 2024 @12:37PM (#39252379)
Yes, the asymptotic density of “natural numbers which are not perfect squares” is 1. I.e. “almost all natural numbers are not perfect squares”. And similarly for many other important classes. Almost all natural numbers are not prime. Etc. etc.