Better HN
topnewbestaskshowjobs
Log inSign up

snikolov

378 karma · joined Jan 25, 2010 (16y ago) · 147 submissions

snikolov.weebly.com snikolov.wordpress.com twitter.com/snikolov github.com/snikolov

my HN username at mit.edu

Submissions

comment 12y ago · link · parent

a program can still generate the score that a musician plays sincerely

comment 13y ago · link · parent

People who do hard work tend to bite off more than they can chew, especially at MIT, and there is obviously a limit to how much you can handle. What MIT does right when it comes to stress relief is its housing system. You get to pick where you want to live, and you mostly get your choice (or you can move eventually). That way you can live within a supportive community. It really makes a difference during those hell weeks.

- MIT '11 MEng '12

comment 14y ago · link · parent

It is online learning, but as far as I understand, there is another side to it. Right now, if you get a new data stream, you have to play around to build the right models for it (mostly manually, with trial and error) before you do online learning. As the number of data streams grows, this doesn't scale well. Their algorithm adapts online to the data stream without you having to design any model.

4.

Jeff Hawkins Develops a Brainy Big Data Company(bits.blogs.nytimes.com ↗)

16 points · by snikolov · 14y ago · 2 comments

comment 14y ago · link · parent

It sort of comes down to the question of what's really being learned here?

That's a great question. We are learning to recognize trends and non-trends based on previous examples. Since the Twitter trends algorithm gives us such examples, you could say we are learning to replicate the outputs of an arbitrary algorithm --- and you'd be right. But learning from examples is a very general thing, so the method has applications beyond detecting trending topics.

Are they modeling some inherent process of topics becoming popular

No, we don't model the process of something becoming popular. (To do this, one might suppose people spread popular topics in X way and unpopular topics in Y way, and try to estimate from the data whether the topic is popular or unpopular.) The beauty of this is that we never have to build a model, because we rely directly on the data. As a corollary, this approach is applicable out of the box for any domain with time-varying data (though I suppose you might have to take care to measure the right kind of time varying data).

Does that answer your question?

comment 14y ago · link · parent

Thanks! I'm afraid my background, like yours, is more in methods that are not specialized for time series, and so I couldn't credibly give any comprehensive references. My understanding is that a lot of methods designed specifically for time series draw heavily on the theory of stochastic processes. For example http://en.wikipedia.org/wiki/Autoregressive_model, http://en.wikipedia.org/wiki/Autoregressive%E2%80%93moving-a.... I once took a course called Signals, Systems, and Inference that covers some of these ideas (full course notes here http://ocw.mit.edu/courses/electrical-engineering-and-comput...), but that's about as far as I've gotten along that road.

comment 14y ago · link · parent

You bring up a great point. To classify something as a trend or not a trend, we have to use this artificial black box to supply ourselves with examples of what's a trend and what isn't. The nice thing, IMO (and this is something I admittedly gloss over at the very end) is that doing prediction/forecasting with this method is almost the same as doing classification, even though you don't have any labeled examples when doing prediction. To do classification, we compare current activity to past examples of activity, and decide if it looks like the positive examples or the negative examples. For prediction, we compare current activity to past activity, and see how similar-looking past activity continued to evolve over time.

comment 14y ago · link · parent

You can get the trending topics through the Twitter API https://dev.twitter.com/docs/api/1/get/trends/%3Awoeid

But I think what you are asking is how such a method would come up with its own trends, given just a stream of tweets. This is a supervised approach (http://en.wikipedia.org/wiki/Supervised_learning), so for now, you would need to train it (possibly online) by giving it examples of what should be a trend and what shouldn't. It would be interesting to make it semi-supervised (http://en.wikipedia.org/wiki/Semi-supervised_learning) so that you would only need to provide a small number of labels.

9.

Early detection of Twitter trends explained(snikolov.wordpress.com ↗)

75 points · by snikolov · 14y ago · 11 comments

comment 14y ago · link · parent

Not in general. I was part of the VI-A program (http://vi-a.mit.edu/) at MIT, which allows you to do your thesis at a company.

comment 14y ago · link · parent

I agree with you --- this seems like a perfectly good way to tackle the problem of trend prediction directly. What we had in mind was something that would be more generally applicable to any kind of time series data, and we figured it would be interesting to test it on Twitter trends.

comment 14y ago · link · parent

Thanks for the interest! We collected tweets by sampling a small percentage of all tweets in a time window, to emulate what one might get from the streaming API (I did this as part of the VI-A http://vi-a.mit.edu/ masters program at MIT, and was an employee of Twitter). We did pick a fixed set of topics to track, but those were randomly sampled (though we did get rid of topics that trended multiple times in a large time window, like the name of a football player who scored in multiple matches, in which case we don't know which event we are trying to detect). One thing the algorithm doesn't do at the moment is come up with its own trending topics. It just tests prediction of trending/non-trending on a hold-out set taken from the original set of topics.

comment 14y ago · link · parent

My problem is often in the other extreme. I tell myself "I don't want to bother so and so, I still haven't tried x." But there's a point at which you should ask for help if you're no longer making progress. Especially if your question is expected to have a relatively quick answer ("take a look at y and do z") that you just don't happen to know yet.

comment 14y ago · link · parent

Dynamic Time Warping is a pretty neat application of dynamic programming that takes two time series and tries to squish one time series to look like the other, with some constraints that you can't do too much squishing. This is used a lot in speech recognition to normalize away variation like e.g. how long you spend on a vowel sound.

comment 14y ago · link · parent

Indeed, projection onto the principal subspace is a kind of regularization, which makes for better generalization.

This kind of makes sense intuitively. These slides go into more detail (the whole course is great), where it says "Projection regularizes!"

http://www.mit.edu/~9.520/spring09/Classes/class07_spectral....

comment 14y ago · link · parent

For what it's worth, I loved your post too. It reminded me of chats with my advisor. I'd walk in thinking "who the hell am I to push the boundaries of human knowledge?" and walk out excited to get back to work.

comment 14y ago · link · parent

A nonparametric model for anomaly detection, classification, and prediction in timeseries. It observes the trajectory of some measurement over time and compares it to tons of historical trajectories to see if it looks like anything that has happened before. Based on what it looks like, you can predict where it will go next, classify it (if the historical trajectories are labeled), or detect anomalies (if it doesn't look sufficiently like anything seen so far).

comment 14y ago · link · parent

I would caution against this approach. First, he is aiming to pass all the course requirements for a CS degree from MIT in only 1 year (including the non-CS requirements). His definition of passing is getting a passing grade on the final if the grade distribution is known, and a 50% or more if it's not known. No projects, no problem sets, nothing else.

Now, I'm sure he's a smart guy, but I would be surprised if he retains the material long after he takes the final. I highly doubt you can deeply internalize, say the upper level algorithms course in a few weeks (I've taken it) without doing the (difficult) problem sets, or taking the infamous take-home midterm that often has open problems in disguise.

It's difficult to see this as an attempt at truly learning the material he claims to be learning.

comment 14y ago · link · parent

What struck me most is that this course helped form lasting communities who are now studying other material together. That is just wonderful. A community you can discuss the material with will help people learn the material much better. Also, these people might go and build something together afterward.

comment 14y ago · link · parent

I wonder why they couldn't (or didn't choose to) partner with individual professors on a per-course basis instead of entire institutions whose professors might not all be interested in participating. Is it because individual professors might not have complete autonomy to do so without the permission of the university? Or maybe partnering with an entire university ensures a greater and more recurring supply of courses? Or that the university might help incentivize what is surely a very time-consuming task by having a course replace some other service requirement?

comment 14y ago · link · parent

According to a new analysis, if you want to run a tech company, you shouldn't drop out of college.

More like "if you want to run a tech company, but you're not already running one that's becoming so successful it needs your full attention, you shouldn't drop out of college."

comment 14y ago · link · parent

I agree that that the boys and videogames thing is a bit of a misconception. But rather than attacking that misconception, we should be asking how poeple might come to have such misconceptions and how we can correct them. My takeaway is that many people (including males like me) don't see computer science and programming as the creative, empowering thing that it is. That is, until they start doing it. How can we make people see that? I remember when I was at Stuy (the school in the article), upper level courses were advertised by showing all these enticing projects that past students did. It made me super excited to take the graphics course, for example, because I knew I'd get to create a system for making awesome 3d animations, basically from scratch. But I didn't "get it" until I took the intro course on a whim (it wasn't required back then).

So maybe we need to better advertise all the creative potential of programming in a variety of fields. I know if you had told high school freshman me about using programming to make websites, I would not have cared one bit. But if you showed me how I could make generative art and music or poetry or 3d graphics, I would've been very excited.

comment 14y ago · link · parent

Look at this way: for a 20000 category classification problem, guessing randomly will give you 0.005% accuracy. Compared to chance, this is pretty good.

comment 14y ago · link · parent

Clustering algorithms operate on features, which typically have to be designed by hand. The appeal of deep learning is that it discovers good features automatically.

comment 14y ago · link · parent

Would you care to elaborate? Surely most of the lines of code are not directly implementing theoretical things, but I would say the meat of the work is without a doubt theoretical.

comment 14y ago · link · parent

6.001 doesn't exist anymore. The new set of intro courses are completely different. It sounded like you thought 6.001 is now taught in some other language.

comment 14y ago · link · parent

I doubt it's that bad. It might be that he hadn't done any bit hacking in C in a while. If you haven't coded in matlab for a long time and I asked you (during an interview!) to do random bit hacking, you might feel stumped too. You'd probably want to play around with it for a minute and re-figure it out, but you've got an interview waiting for you to produce an answer right away.

comment 14y ago · link · parent

Gary Rubinstein wrote an excellent series of posts debunking the value added metrics http://garyrubinstein.teachforus.org/2012/02/26/analyzing-re...

comment 14y ago · link · parent

Right, but brain capability is not a one dimensional quantity, and measurements of it are time-varying and noisy. This suggests that one shouldn't jump to conclusions before careful measurement, and that it is not trivial to compare measurements from different people along just one axis.

comment 14y ago · link · parent

Really? Blunt criticism is fine with me (welcome, even!), but insults are completely unacceptable. Insults are disrespectful and create a hostile environment. It sucks when you have to deal with a hostile environment and we should try to avoid creating one rather than telling people to deal with it. Just look at all the recent discussions on women in tech.
12345