HN user

andreasvc

1,599 karma

http://andreasvc.github.io

Posts0
Comments1,189
View on HN
No posts found.

Why would we never know? Quoting from the blog post: "The specific reasons given were that [...]" followed by a bullet list. Your guess is unwarranted speculation.

Python 3.9 6 years ago

Ah, I see. That really doesn't deserve to be called an idiom, it's a clever hack. But it's nice to know about it. It seems less ugly than the walrus operator to me, and it doesn't leak the variable outside of the comprehension.

Python 3.9 6 years ago

I'm puzzled by this example:

    sums = [s for s in [0] for x in data for s in [s + x]]
Why would you do "for s in" twice? Is that intentional? It would make more sense to me if the variables would have been different. And why would you want to add 0 to numbers?! Curious about a real world use case for this.

Why do you think English would be least compressible? Is that based on conjecture or have you investigated this? Why would artificial language be more compressible? That seems completely orthogonal to me (by definition, an artificial language can be designed with whatever properties you choose). Fortran may be more compressible due to its limited set of keywords, but it's my impression that Ithkuil is by design more information dense and thus harder to compress than English.

The most efficient language is the least compressible language only in a narrow and arbitrary sense of efficient. There are many considerations such as what is efficient for the speaker, the hearer, redundancy to noise, efficiency with respect to particular purposes, etc. We can assume that natural languages will generally make a good trade-off across these factors, and searching for the most efficient language in one particular narrow sense is not very useful. Moreover, compression of text focuses only on surface form, completely ignoring the dimension of meaning.

Yes, in the context of text classification a bag of words model will refer to that, or combined with some other linear model like linear SVM or naive bayes.

The queen - woman example is when you try to make a model of word semantics, such as with word2vec. In a document classification task the vectors represent documents.

You mention a single counterexample, but is it "definitely not true"? I think there is a strong publication bias: papers will report when they improve on the baseline, but that's likely not representative for the common case (e.g., limited data, no pretrained model available, no time for extensive parameter tuning).

Mmm, Pi-hole 8 years ago

Yup, that's a downside. The advantage is that it's much simpler and will also work when you're not on your home network.

To clarify, what I meant is that with TCP, I can set up a two-way communication channel, even if I'm behind a NAT/firewall I don't control. As far as I understand, with UDP this is harder (i.e., does not work with all NAT types), because UDP does not establish a connection, and it does not provide a two-way communication channel. However, I am not up to date on NAT traversal techniques, so I might be wrong.

machines like Parsey McParseFace can now accurately parse human universal grammar. unambiguous parsing was a big feature of lojban, so it's lost a major selling point.

Slow down there ... Most linguists (or a substantial minority) do not subscribe to the theoretical idea of universal grammar. Parsey McParseFace is only an incremental improvement in decades of statistical parsing. The problem of natural language understanding remains largely unsolved. Like other deep learning models, it is not hard to come up with adversarial examples that will confuse the parser but not any competent human language user. The parser is only as good as the data it is trained on; this data is expensive to acquire but there is never enough. Additionally there are a myriad other kinds of ambiguity in language beyond the sentence-level syntactic ambiguity which is resolved by a statistical parser such as Parsey McParseFace.

In my opinion Lojban provides a good illustration of just how hard it is to remove ambiguity from human language.

Why would one ever prefer a linked list over a dynamic array? I know about the asymptotic performance, but if you take actual memory performance into account (locality, cache, pointers are slow, etc), it seems dynamic arrays should be simpler and perform better.

Again, per the article "bias refers generally to prior information, a necessary prerequisite for intelligent action (4)." This includes a citation to a well-known ML text. This seems broader than the statistical definition you cite.

Think for example of an inductive bias. If I see a couple of white swans, I may conclude that all swans are white, and we all know this is wrong. Similarly, I may conclude the sun rises everyday, and for all practical purposes this is correct. This kind of bias is neither wrong nor right, but, in the words of the article "a necessary prerequisite for intelligent action", because no induction/generalization would be possible without it.

There are undoubtedly examples where the prejudiced kind of biases lead to both truthful and untruthful predictions, but that seems beside the point, which is to design a system with the biases you want, and without the ones you don't.

I think your questions would be answered by reading the article. Particularly:

"In AI and machine learning, bias refers generally to prior information, a necessary prerequisite for intelligent action (4). Yet bias can be problematic where such information is derived from aspects of human culture known to lead to harmful behavior. Here, we will call such biases “stereotyped” and actions taken on their basis “prejudiced.”"

This definition is not unusual. This is about inferences that are wrong in the sense of prejudiced, not necessarily inaccurate.

He's hugely influential in the field; arguably dominant in a way that is unhealthy for a field. Acolytes will say he's influential because of merit, detractors will say it is because of rhetorical skill, sophistry. I hope there will come a time when press releases no longer breathlessly announce Chomsky's theories falsified for the umpteenth time, but rather actual progress.