Comments on: Topological Data Analysis, I think it's called?
http://ask.metafilter.com/256802/Topological-Data-Analysis-I-think-its-called/
Comments on Ask MetaFilter post Topological Data Analysis, I think it's called?Sat, 08 Feb 2014 18:09:25 -0800Sat, 08 Feb 2014 18:29:09 -0800en-ushttp://blogs.law.harvard.edu/tech/rss60Question: Topological Data Analysis, I think it's called?
http://ask.metafilter.com/256802/Topological-Data-Analysis-I-think-its-called
Using a dataset I would like to perform the type of analysis shown <a href="http://www.wired.com/playbook/2012/04/analytics-basketball/">here</a>:
How would I go about doing this? <br /><br /> Effectively what I want to do is group members of a large dataset together by observed characteristics as opposed to existing formal categories. In the article linked above, the researcher does just this (with a very effective visualization, no less) by looking at basketball players' individual statistics rather than their formal positions. In an article that was linked to Metafilter, another individual <a href="http://www.wired.com/wiredscience/2014/01/how-to-hack-okcupid/all/">does this with online dating profiles</a>, scraping a dataset and grouping based on observed characteristics.<br>
<br>
Any software that could help with the visualization would be awesome too. If my question seems a little unfocused it's because I'm a bit of a data newbie, I'm only just now learning STATA and my programming skills are lackluster. The answer to the above question can be "hire a programmer", I'd just need to know what type of programming skills to look for.post:ask.metafilter.com,2014:site.256802Sat, 08 Feb 2014 18:09:25 -0800NdwrightdatadatasetclusternodeanalysistopologicalvisualizationresolvedBy: zscore
http://ask.metafilter.com/256802/Topological-Data-Analysis-I-think-its-called#3731858
The term you're looking for is probably "clustering". In this article, they're applying some fancy new clustering methods, but as far as I'm aware, there's no good, free topological clustering software available (I'll be interested to see what Hivemind has to say, though). If you google search clustering and STATA, a lot of stuff will probably pop up.comment:ask.metafilter.com,2014:site.256802-3731858Sat, 08 Feb 2014 18:29:09 -0800zscoreBy: PercussivePaul
http://ask.metafilter.com/256802/Topological-Data-Analysis-I-think-its-called#3731859
Grouping objects together based on their observed characteristics is called <a href="http://en.wikipedia.org/wiki/Cluster_analysis">clustering</a>. On the other hand if you have a set of pre-defined categories it is called <a href="http://en.wikipedia.org/wiki/Statistical_classification">classification</a>. <br>
<br>
The NBA analysis used something called a 'topological similarity network'. I'm not familiar with this but it is one of many algorithms you can use to solve a clustering problem. Here's an <a href="http://ldtopology.wordpress.com/2012/04/11/big-data-and-the-topologist/">overview</a> which includes a brief discussion of topological clustering, among others. There are many other clustering algorithms you could try out; different algorithms are more appropriate for different types of problems. <a href="http://en.wikipedia.org/wiki/K-means_clustering">k-means</a> is a classic and is the first place to start, probably, since it is easier to understand and there will be lots of resources on the web. <br>
<br>
There are free implementations of many of these in most statistical and scientific software platforms. I personally like R, but I'm certain STATA would have this too. Lots of people use Python these days with the numpy/pandas/scipy libraries. I tend to find R's plotting libraries, especially ggplot, to be ahead of the others.comment:ask.metafilter.com,2014:site.256802-3731859Sat, 08 Feb 2014 18:30:06 -0800PercussivePaulBy: escabeche
http://ask.metafilter.com/256802/Topological-Data-Analysis-I-think-its-called#3731879
Yep, Ayasdi is based on the method of "persistent homology" developed by Gunnar Carlsson and his collaborators at Stanford. I know it reasonably well. This stuff can be thought of as a generalization of clustering -- I don't want to give a whole intro grad course in algebraic topology in a MeFi comment but, if you know this stuff, you can say that clustering is the "persistent H^0" part of Carlsson's thing and then the novelty of his method is that it can look at H^i for positive i as well.<br>
<br>
But that's the thing to say to you if you know the math but not the programming. If you don't know this kind of math, don't worry, you can do without it, because if what you want to do is "group members of a large dataset together by observed characteristics as opposed to existing formal categories," then as everybody else said, what you want to do is clustering, and indeed learning about k-means is a great place to start (and will be already implemented in whatever conceivable platform you might be using.)<br>
<br>
So what's the difference between persistent homology and clustering? In a nutshell: not all data falls into neat, round clumps. Suppose, for instance, your data naturally forms the shape of a ring. It's all one connected piece, so clustering is not going to get you anywhere. But somehow there's a difference between a ring and a blob, and this is a feature of your data you might want to notice! And it's this kind of feature (as well as lots of higher-dimensional ones) that Carlsson's theory is designed to detect.comment:ask.metafilter.com,2014:site.256802-3731879Sat, 08 Feb 2014 19:20:30 -0800escabecheBy: Nanukthedog
http://ask.metafilter.com/256802/Topological-Data-Analysis-I-think-its-called#3732079
I work on problems like this. I don't necessarily do a lot of visualizations like this, but I work on questions like this.<br>
<br>
I started doing segmentation, clustering, variable reduction, decision trees and linear modeling, then I started to develop an interest in Bayesian inference models, now I'm working on using machine learning techniques.<br>
<br>
Machine learning is effectively using data to characterize something based on observable datapoints, then rigorously test those characterizations to see which ones are actually useful, and ultimately the machine to predict performance. Basically I got to a point where I said, what I assume is important as a predictor of success isn't necessarily important, lets let the data show us what characteristics make up those that succeed and those that fail, and use that information to understand how the whole ecosystem functions as opposed to just whether something will win and loose. <br>
<br>
In your specific NBA mapping, I'd look at it as follows. What are the characteristics of all these players, what is the best performing permutation of players teamwise, what would be a better permutation of players for the team? Can I get them on my Fantasy NBA draft? What is the optimal team given my starting options? <br>
<br>
I <a href="http://www.metafilter.com/136454/The-economy-of-movement#5412032">alluded</a> to the actual indentured slavery result that this effectively creates in the long run when applied to real life in the recent <a href="http://www.metafilter.com/136454/The-economy-of-movement">NBA statistics thread</a>.<br>
<br>
Technique:<br>
<a href="http://www.youtube.com/watch?v=mbyG85GZ0PI&list=PLD63A284B7615313A">Machine Learning</a><br>
<br>
Free software I use to model:<br>
<a href="http://rapidminer.com/">RapidMiner</a><br>
<br>
<br>
This is all statistical programming. If I was looking to learn something, I'd look to learn SQL because you are going to need to know data storage inside and out and that's a pretty common database structure... Regarding statistical programming, I'd want to learn R while in school, SAS if possible. In addition, I'd look to learn regex inside and out, as I've found it is a major building block for converting non-standard data into quantifiable data. Python would be handy to know, as well as XML - as python is great for some heavy lifting, and XML is how a boatload of web data is stored that you'll want to scrape from web formats - because you'll be interested in as much data as possible.comment:ask.metafilter.com,2014:site.256802-3732079Sun, 09 Feb 2014 07:12:15 -0800NanukthedogBy: Ndwright
http://ask.metafilter.com/256802/Topological-Data-Analysis-I-think-its-called#3734634
The first three answers came just over an hour after I posted this. God I love Metafilter. <br>
<br>
Thanks everyone!comment:ask.metafilter.com,2014:site.256802-3734634Tue, 11 Feb 2014 20:27:13 -0800Ndwright