Better HN
topnewbestaskshowjobs
Log inSign up

antics

4,248 karma · joined Aug 13, 2010 (16y ago) · 545 submissions

clemmer.alexander@gmail.com alex@moment.dev
Submissions

comment 14y ago · link · parent

As I said, my Bayesian theory is rusty, but there are no "frequentist properties" of an estimator. Frequentist inference is inference -- it doesn't make guarantees about the underlying thing it's approximating, it provides guarantees about its approximation.

The key here is that Bayesian and frequentist procedures provide different sorts of guarantees. Frequentists optimize for \theta, the possible set of things that could describe all of the data X, while Bayesians will assume a single describing function \theta (this might come from an "expert") and simply optimize the expectation conditioned on the data. Neither is "wrong" but in the case of the bootstrap, the result is calibrated in a way that Bayesian inference simply never will be (if it were, it would be frequentist).

EDIT: As per your second question, actually I think it's not more interesting. A classifier is a type of estimator, so all of the general frequentist guarantees actually still apply to decisionmaking.

comment 14y ago · link · parent

My Bayesian theory is a bit rusty, but here we go.

Say we have data X, and some non-finite dimensional index into the family of functions that describe the the data, called \theta.

The Bayesian perspective classically holds \theta constant and optimizes the expected loss, conditioned on the data X. The frequentist perspective, on the other hand, classically optimizes \theta, that is, it picks the best \theta over the data X, unconditionally.

This has two impacts. First, all things equal frequentist statistics will tend to be more stable, and more calibrated, but less coherent. It is commonly said that frequentist statistics will "isolate" one from poor decision making, and all things equal, that will be true.

Specific, clear wins for frequentists are bootstrapping procedures (e.g., Efron's bootstrap, the b of n bootstrap, Jordan's own scalable "bag of bootstraps" from NIPS 2011), which are methods for building what are called "quantifiers" for "estimators". In short, this means that if you have some estimator (e.g., a classifier, or a mean, or whatever), you want to be able to quantify the certainty of your estimator -- so if you've only seen 5 examples, you want to express that you're less certain about this. This is clearly a frequentist application, not a Bayesian application, and in general, it points to the fact that pure frequentist tools not only have a place in inference, but they fill a niche that Bayesian tools necessarily will not, and in some cases, cannot, fill.

comment 14y ago · link · parent

There has been a lot of rich discussion about the relative merits of the Bayesian and frequentist perspectives on statistical inference. If you are thinking about applying inference techniques to some problem, then it is well worth your time to make sure that you really, really understand this debate, because picking the correct tool for your job is likely to make your life a lot easier (and, yes, there are both situations where the Bayesian perspective is clearly better and where it is clearly worse).

Unfortunately this post completely and totally ignores the things that will enable you to make this decision. This post is called "Understand the Math Behind it All", but you will learn nothing about math, or really, Bayesian statistics, at all. You will not learn, for example, how to apply Bayesian inference to problems, what it means to do basic Bayesian tasks like "use an expert" or "condition on evidence", or even what a Bayesian statistic is. In fact, Bayes' theorem is never even mentioned. There's just a hand-wavy collection of statements like "The Bayesian approach is to rely on past knowl­edge and then adjust accordingly". That is so vague that it is not even clear that they are talking about Bayesian analysis. This is the sort of statement that fools people into believing they understand something that they really don't.

If you really want to understand this material, you should watch[1], a talk by Mike Jordan called "Are you a Bayesian or a Frequentist?". It's a bit much for beginners, but if you are willing to look up some of the math, it is entirely digestible, and it is by far the best comparison of the two communities I have found. I say "by far" because it is (1) a more or less complete representation of both communities, (2) it is pretty much an unbiased representation of both communities' strengths and weaknesses, and (3) it is as direct as it can get, meaning that it is not tied up in a lot of external knowledge, and is intent on delivering this message, rather than delivering it in an off-hand way as a method of getting to something else.

[1] http://videolectures.net/mlss09uk_jordan_bfway/

424.

Caltech ML course registration is open(work.caltech.edu ↗)

3 points · by antics · 14y ago · discuss

comment 14y ago · link · parent

I hesitate to write this, but:

Google Play is cool, but social isn't about features. It's about people, and the people are on Facebook. Maybe Google+ isn't designed to supplant Facebook, and maybe it shouldn't be, but it's hard to argue that it wasn't designed at least with Facebook in mind. Like it or not, Facebook directly stores and controls a tremendously large chunk of the data in the world, and to top it off it is arguable that it is this data is most important to people personally, since they spend so much more time with it than they do with, say, Wikipedia. Regardless of whether G+ is a direct Facebook competitor or not, this chunk of information is also off-limits to Google, and the result is that Facebook as an entity poses an existential threat to the entire company, whose job is expressly to make information accessible and searchable. Search isn't going anywhere, but if the most important information is locked away by Zuckerberg and Company, then it may also not be going anywhere especially interesting.

In spite of what I just said, I will grant that you're right when you say that Google+ isn't Facebook. The comparison is almost certain to be unflattering to Google+, and it misses something essential. In particular, regardless of what TC or any other pop-tech journalism firm likes to admit, Google did get one thing profoundly right with Google+. The ability to share blog-style posts in a more freely social setting has catapulted the site to popularity among a nontrivial portion of very prominent academics, not to mention the very influential tech people who use it. Facebook was the minority when it launched to ivy league schools, but one key to their success was that they had the attention of the right people. Google may not be popular, but that doesn't mean they're wrong. Time will tell what happens from here on out, but it will be ironic if the prominent hackers who jump ship because Google is changing ended up jumping ship so that a new set of hackers could build something cool in their place.

While I ended up agreeing with a lot of the points of the original TC article, I think your conclusion ended up being more right, and it is truly unfortunate that Google+ does not get defended as it probably should.

comment 14y ago · link · parent

Before we all grab our pitchforks, I have just gone through the entire first page of results and a huge majority of them were explicitly noted as test applications. Sometimes you can see this in the names:

    test / rails_app_v3 /
    test_app / config
In many other instances, things are not as the seem. For example, some of these results come from commits where the author is moving the token to an environment variable. For example: https://github.com/cimm/blathy/blob/2d3a9550d3a0be55db8e26a2...

I certainly agree that we should all be security conscious, but I'm also a fan of keeping perspective. Things are bad, but let's keep the truth in mind too.

comment 14y ago · link · parent

Discussions of whether OCaml is "practical" or useful or good aside, this book really, really needed to be written.

It may be the case that there are truly excellent resources for learning OCaml, but I know the language, and I've never heard of them. There's Jason Hickey's tutorial, an introduction or two scattered around the internet, and some book that was fan-translated from French, sure, but OCaml lacks the hackerly dialogue that typifies discussion of languages like Haskell. It is a problem, for example, that these usually very incomplete hobbyist-curated tutorials almost always outstrip the professional literature: when people do publish books about OCaml, they are often littered with errors or flat-out wrong (I'm looking at you, Practical OCaml).

Regardless of whether we can all get on board with asynchronous whatever, or pronouncements about its "real" speed, or whether it should be used when Haskell is around, it is clear that there is a huge divide between the people who actually can argue these things well, and those who cannot, and switching from the first group to the second by yourself is tempestuous and trying. Is it the case that there are no OCaml experts in the world? If you are going by the amount of information on the Internet, it is not really obvious that this is actually the case. How can you, then, become one?

Besides that, though, having a sound OCaml counterpoint will do communities like Haskell good. I hope this finally ushers in the golden era of learning OCaml. Not everyone can take CS51 at Harvard, and besides, the credulity of a real (and good?) book about OCaml will hopefully advance the dialogue further than the typical questions of whether it can actually be done in X, Y and Z enterprise environments. That is a debate I (and probably many OCaml fans) have heard enough of.

comment 14y ago · link · parent

Respectfully, the summary should be "Do things, Tell people".

comment 14y ago · link · parent

  > There are plenty of ways to bring smart people together to learn and do research.
  > They could be nonprofit; they could be separate from teaching or integrated
  > with it. You could even call them "universities" if you like. But there's no
  > reason they have to resemble the current monster.
Can you name some ways to actually do this? I'd love to hear about them, but have never actually seen a system like that. Even if there was though, before you go yanking money out of the system, you should actually try to replace it. And that will take time and money, and you will have to convince great scientists to make the switch, in spite of the fact that they will probably have less money, less resources, and spend more time doing something other than interesting research in order to build said system. That's all really hard.

Recently a lot of academics have been pushing for open journals, even going so far as to boycott closed ones. Even this is fairly controversial. :(

  > Sure, but the university system isn't sold that way. We're meant to believe
  > the research done in universities is all useful.
Sold by whom? Guidance counselors? Other students? I don't believe I've ever met a professor who thought that all, or even most research, is life-changing, or even very interesting. I just don't buy that you heard that from a reliable source.

  > Universities have special privileges when it comes to fostering immigration.
  > If America had world-class research centers with the same privileges,
  > people would still love to come here and they'd be able to do so.
It's not only about privilege: schools are known by foreigners as a system that allows them to get to the US. In order for this transition to be effective, you'd have to supplant the educational system, then get everyone to know about your alternative system.

And besides that, the institutions that do the hiring are incredibly biased towards American schools. I work for a reasonably prestigious lab, and the people in charge are (charitably put) deeply suspicious of research from Chinese and Indian schools. When given a choice, they will hire a PhD from an American school almost always. Exceptions include University College at London, Oxford, Cambridge, Utrecht, etc., but it is a vanishingly small list, and even they I would say are much less likely to be hired.

  > As you point out, universities aren't very good at this. Maybe a lot of people
  > won't use libraries, and many who do won't be very productive. But
  > as you suggested in one of your other points, the instances that pay
  > off really pay off. And libraries do this much more efficiently than universities, in terms of money spent. There are a lot of
  > university students burning tens of thousands of dollars without learning
  > very much.
Oh man, I'd really love to believe that, but I just don't see it. Science is still pretty much a communal affair, and the mere availability of knowledge does not make science happen. You need a robust social framework to evolve it. I just don't see that in libraries.

comment 14y ago · link · parent

If there are plenty of other things to cut first, why are we comparing the two? Why not complain that they should cut something else instead of universities?

I know the answer to this, and it makes me a bit sad. It's easy for Americans to resent their university system because, at least in CS, it is arguable that they don't actually need it. In some cases, it even hurts American kids. But before we all jump on this bandwagon (again) let's consider that we are perhaps being a bit myopic.

In the first place, libraries are a great repository of knowledge. But knowledge does not equal production, and whether you or I or anyone else here wants to admit it, a tremendous amount of stuff has been invented, either totally, or almost totally, as a component of university research. What would the world be without transactional databases, A* search, quicksort, cryptography, the idea of programming languages and so on ad infinatum. I could probably fill up literally a whole book listing the things in CS that were invented at Universities. There are more for other fields. You might contend that they all would have been invented eventually, but the question still remains: what would the world look like if universities had not been around to foster these ideas? New ideas need friends, and Bell labs can't employ all the geniuses.

I know, I know, you might contend that most research in universities is either pointless or close to pointless. Unfortunately, you'd be right. But remember, that's the Zipf curve. The ideas that are big are really, really big. Not just in universities, either: ideas produced by universities (for example, the ones I listed above) have changed the way that the world operates at a fundamental level, and they continue to do this. And when people come to universities and engage in work related to it, they carry it home, they carry it to their job, and they carry it out of the country. This is the way the world works. I know HN hates this opinion, but it is true.

The other thing I want to mention is that the vast majority of these life-changing ideas come out of American universities. This is a truly global system now. People come from all over the world to study here, and when they do, they sometimes stay here. Do people come to America to study at libraries? The simple and fact of the matter is that not all talented people are born in the US, and American universities are a very important gateway to get talented people into the US. In contrast, the library system is a purely domestic product for the public that happens to be inside US. I know that you think that universities don't "help the poor", but consider that this is really only true for the domestic poor. They are an irreplaceable resource for the poor outside. I'm not pitting "our" poor against "their" poor, but it's just something to think about.

The last thing I wanted to point out is that the fact that libraries are a useful repository of knowledge does not mean that it will make people productive. Universities are not good at this either, but the consistent usership of public libraries is pitifully small. The fact that they exist does not mean that people will use them, since they do exist, and people clearly mostly do not.

The bottom line is this: your points all have some grain of truth to them, or they are true outright. But when you don't bother to examine why this system exists to begin with before you state that another systems should be preferred, you are undermining your own point in a huge way. In particular, to say that we should toss an incredibly important and global system for some domestic system that people don't use is utterly wrong. That all said, the correct answer is: cut neither, and instead cut part of the military.

comment 14y ago · link · parent

Why is this comment being downvoted?

I don't agree with this user either, but it's so much more constructive to explain why you're downvoting things than it is to just downvote them and not say anything.

As for you georgieporgie, good on you. I for one appreciate it when people explain why they're downvoting me.

comment 14y ago · link · parent

Respectfully, no.

The primary issue in spam filtering is not that we don't have training corpora, it's that spammers are very efficient at finding holes in your system.

One example is when the Hotmail team first enabled keyword filtering. When the spammers found out experimentally, they began injecting HTML comment tags into high-weighted words like "free", breaking the model. When the Hotmail team took steps to combat this problem, the amount of spam that employed this technique dropped from 5% to close to 0%[1] in a matter of days.

Spam detection is complicated and hard.

[1] Hulten, G., Penta, A., Seshadrinathan, G., and Mishra, M. Trends in spam products and methods.

comment 14y ago · link · parent

Do you know why we have oil and coal?

When all those carbon-based life forms died all those years ago, there was nothing to break them down. So they persisted, and the result is oil and coal.

I've often wondered whether a similar thing would happen to all this plastic lying around. I suppose it's still sort of a toss-up, but now I'm at least sort of convinced that it's vaguely possible.

comment 14y ago · link · parent

I've got one of those stories.

My parents live on the opposite side of the country. I flew to see them one Christmas and then flew back home. As I unpacked after the trip, I discovered that my huge hunting knife had accidentally been in my carry-on bag the whole time. I had carried it through both Salt Lake and Philadelphia International Airports. Literally no one bothered me about it.

Someone once told me that America is "fully prepared for the past" with regards to terrorism. This experience makes me wonder whether even that is really true. And indeed, when I read up on the actual security practices, I discovered that on an alarmingly frequent basis, it is not our security measures that foil terrorists, but their sheer ineptitude. The underwear bomber, the attempted Times Square guy, and a whole host of other idiots had the opportunity to seriously hurt people, and had they even a modicum of expertise, they would have succeeded. Our security forces may be able to take credit for stopping some of these events, but how many? These were incredibly simple strategies, and given that they still couldn't identify and neutralize the threat before it would have been too late, I can't imagine it's an astonishingly high number.

In spite of this I'm not worried about terrorism at all. If someone started a security-free airline, I would fly on it every single time I had the option. What does frighten me is that we spend so much money on this stuff. Why isn't the TSA held accountable by the government? (And if it is, why are they so bad at it?) Do we honestly know that increased spending in technology catches more terrorists? We are trying to identify very sparse features, and it is not at all obvious that this is the best way to catch them. On the other hand, the American government has eliminated (I'm told) 200 of Al-Quaeda's top leaders. This seems like a much more effective method for demolishing this behavior.

comment 14y ago · link · parent

That's a great suggestion.

436.

Show HN: I made a list of online education resources; help me finish it(char.io ↗)

6 points · by antics · 14y ago · 5 comments

comment 14y ago · link · parent

The scribd link appears anytime you submit a PDF directly. This was/is useful for people who hate downloading PDFs, since scribd does not require this. Of course, a lot of us (myself included) use Chrome, which allows you to open PDFs inline...

comment 14y ago · link · parent

I don't mean to be crabby, but the infographic explicitly mentions that some of the jobs are from the service industry. If you look at the infographic in context[1], it lists the source[2]. Also, while I generally agree with your point about this meriting a very detailed and thorough analysis, I do not believe that it was "intentionally" misleading any more than my disagreement with you indicates that you are also being intentionally misleading. IMO, that comment (along with your guess about what is and is not "quality") is not helping in your goal of making this a constructive conversation.

[1] http://maddox.xmission.com/ [2] http://www.bls.gov/oco/cg/cgs038.htm

comment 14y ago · link · parent

Let's be clear that among the blackout messages, yours is unequivocally the best. Specifically, it is concise and effective in a way that neither Wikipedia nor Google's messages are.

That said, I do agree that it would be more effective sans-503 error.

comment 14y ago · link · parent

Matt, you should know better. You've scared everyone who doesn't read HN out of the class.

comment 14y ago · link · parent

This was the lecture for Matt's scripting languages class today. If you'd like a head start on the material, take a look at the materials section of the course page:

http://matt.might.net/teaching/scripting-languages/spring-20...

comment 14y ago · link · parent

"Very bad"? I think you're being a bit dramatic. Leaving your server unpatched is "very bad". Storing passwords in plaintext is "very bad". Spam detection at this point is so good that leaving your email out in the open does not even cause an inconvenience, let alone a significant non-personalized security threat (for people like us anyway).

comment 14y ago · link · parent

I agree that the story is perhaps less important than an in-depth account of the DPRK's human rights abuses would have been, but I have serious doubts that millions of people are persistently imprisoned. What is your source?

comment 14y ago · link · parent

It is possible to both know that the Google blog is hosted on Blogger and to find this disorienting. When I first saw google.com listed as the domain I initially just assumed it was official Google communication, temporarily "forgetting" that their blog is at Blogger. I did know this, but I did not think about it before I clicked the link.

Further, it may not be the case that it is better to email relevant authorities. If this gets posted here and is given a lot of attention by the community, it may cause said relevant authorities to sit up and think about the problem (albeit, again), which is a consequence that is almost certainly not going to be elicited by one more email from a single user.

comment 14y ago · link · parent

In most normal applications, the only thing that would change is what your features are. For example, if you wanted to find Waldo using the shape of his face and/or hat, you would probably just find some SIFT points (or something), and then build an eigenWaldoface, possibly using a PCA'd set of Waldo faces and hats as examples, and then SIFT the image and look for the places that are most like the eigenWaldoface.

This article is not interesting because it's an amazing new algorithm or something that solves some important world problem. It's interesting because it takes something that is not known among the general hacker population for doing this sort of thing really easily, and accomplishes it in a fairly simple way.

Don't be a grump, this is cool. :(

comment 14y ago · link · parent

> If you want this place to remain special, you have to keep it special.

I agree with, but this is also #1 story on the frontpage right now, which makes your statement not indictment a flood of "bad" content in the "new" section, but an indictment the HN population for upvoting it. If HNers didn't believe it was relevant content, why vote it up in the first place? HN is small enough that I just have a lot of trouble believing this is the result of user dilution.

comment 14y ago · link · parent

There is some truth to what you say, but who is going to be the arbiter of what is "hacker" content and what is not? You? And where does it end? Is a blog post detailing how to deal with stock options really hacker content, for example?

HN is still a pretty small community, and regardless of whether or not it upvotes strict tech articles or not I think is besides the point. I come here because it's like being in the center of an intellectual panopticon, and to a large extent, I trust people here to show me things that will make me grow. I'm not interested in _everything_ posted here, but it is also not important to me (and I imagine a lot of other people as well) that all the articles here are strictly super technical.

1
141516
19