4 ms·
Okay, given a box of data, shove it into one of these algorithms, let the computer run, and now what? What do we have? E.g., for some 'classifier', what the h
by graycat 13y ago
Okay, given a box of data, shove it into
one of these algorithms, let the
computer run, and now what? What do we
have?
E.g., for some 'classifier', what the heck do
we have? That is, what guarantees do we have?
That is, is there something specific and guaranteed
that the algorithm has actually done?
I know; I know; in some vague, unspecific sense,
that seems to work in some practical cases,
the algorithm will 'classify'. Still, we don't
have precise description of (1) in what cases
does the algorithm work and (2) how well.
E.g., what is the rate (probability)
of false classifications?
Sure, we'd need some hypotheses to say.
Okay, what the heck are the algorithms
assuming for hypotheses that would let there even be
a rate of false classifications.
Then with those hypotheses,
what are the probabilities of a false
classification?
Without such considerations, about all we
have is some
code that runs.
Uh, where's the beef?
- mikkom 13y agoyou could start with Google and with terms: - K-fold - Confusion matrix
- graycat 13y agoOkay: Googled K-fold. It's a case of resampling. To justify it, use a finite group of measure preserving transformations, which I figured out and published about 16 years ago. But we still have not made clear what the heck the assumptions are. Confusion matrix: Wikipedia has nothing on it, but Matlab's documentation does. But there's a problem: Suppose we have some data on cats and dogs and want to have a 'classifier'. So, we do what Matlab said: Take half of the training data and build a classifier. Then we test the classifier with the other half of the data. But suppose the classifier finds three classifications instead of just the two, dogs and cats we already know exist. So, if we apply such methods where we don't know in advance the number of classifications we might get three classes and be quite wrong and not know it. Again, the methodology looks like just pushing some data into some software with too little in assumptions up front and too little about what we are getting out on the back side.
- mikkom 13y agoNow you are talking about supervised vs unsupervised learning and it seems that you are talking about clustering, not classification. Classification problems are problems where you have number of classes and the classificator tries to estimate ẃith given parameters what group(s) the given sample belongs to. It doesn't 'invent' new classes.
- graycat 13y agoOkay, then, a critique of the OP is that in classification the number of classes is an input to the algorithm, not an output. My view is that being clear about such details is crucial.
- Houshalter 13y agoMuch of machine learning is done empirically. You can see how well an algorithm works on different problems, and a test set will estimate exactly how well. Mathematical guarantees are interesting, but really who cares? I suppose the bayesian machine learning camp is pretty into formal math. And really methods are based on some intuition about how they will work - nothing is just random.
- graycat 13y ago> Much of machine learning is done empirically. Yes, it does seem so. > Mathematical guarantees are interesting, but really who cares? We should all care. The guaranteed help us know what the heck we are doing and what the heck we've got when we are done. E.g., in statistics we like estimators that are unbiased and minimum variance -- that's 'goodness' and good to know and potentially valuable in practice. Estimators that are biased and with variance larger than necessary are not good. We like regression in part because it is 'least squares' which means it is a projection and, thus, in mean-square sense, the most accurate approximation we can get. We like statistics with loss and risk functions because they tell us what to do at least cost. Etc.
- srean 13y agoUnbiasedness is oversold. It makes sense when you also average the estimator, otherwise what matters is the expected error or expected loss (probabilities thereof). Let the error be in the bias part or the variance part, what do I care. Furthermore not all losses decompose into bias and variance either. I also think the fascination with least squares led us astray. Its a bad loss function for classification. Bad for neural networks that use the sigmoid function. Bad because it can create exponentially many local minima, on the other hand with sigmiod function if you used KL divergence instead of square loss you will not have these problems. Part of it is the old statistical vestige of analyzing everything using tools of asymptotic Normality. But I agree with your general point, (and upvoted your parent comment) one should care about what one is really getting after the algorithm has been applied, and phrase that in language of mathematics. If the community does not do this a) the snake-oil salesmen will come out of the woodworks and b) machine learning will suffer the same fate as AI winter c) at the same time one should not discourage open ended practice and experimentation (that is how most new things are discovered, analysis comes later, mostly)
- srean 13y agoThe body of literature you are looking for is called statistical learning theory. If you are interested, you can start with Vapnik's two books, but that is what I said, a start. The theory of Learning has shifted quite a bit, but the fundamentals remain the same. Once you are up to speed with Vapnik you can start reading proceedings of COLT and ALT (computational learning theory and algorithmic learning theory respectively). You will find the following 3 types of guarantees i) Strong assumptions on the knowledge of the stochastic process generating the data to back guarantees on the algorithm ii) No assumptions on the on the data generating process except that it is governed by some unknown independent stochastic process. Prove guarantees on the output of the algorithm iii) Don't even assume that the data generation process is stochastic yet provide guarantees on the output. What exactly is guaranteed will of course differ. Little advice, smugness as demonstrated with ...I figured it out 16 years ago yo bitches, will not help your cause whatever that might be. BTW are you H. A. Dye, 'cause Dye figured out group structures on measure preserving transformations in 1959 a little bit earlier than 16 years ago...just saying.
- graycat 13y agoI was commenting on the OP. I started reading it but found just 'algorithms' with no indication of anything like any guarantees or qualities for them. Your i) sounds good. E.g., in stochastic dynamic programming with assumptions reasonably expected, e.g., essentially a Markov assumption, we can easily prove that the number crunching yields the decisions with the least possible expected cost from any 'measurable' means of manipulating the data. And once when I argued this, I also included a proof that additional data independent of what we already wouldn't help either. This result is, of course, 'obvious' although obvious is not a proof. The proof turned out to be just a light tap with Fubini's theorem. So, good: Some people actually argue that some of the algorithms actually have some desirable qualities. So, the world is not totally coming apart at the seams or being turned over to naive hackers who only know to watch the code run and then conclude qualitative that it seems 'nice'. On your ii), "some unknown independent stochastic process", that's not so clear. So, for some index set I and random variables X(i) for i in I, the set { X(i) | i in I } is independent? That's something of an unusual and, in practice, not very interesting stochastic process. Maybe some EEs would call that 'white noise'. On your iii), sorry, but essentially everything is 'stochastic'. Even a 'deterministic' process is stochastic, in practice usually is also Markov (past and future conditionally independent given the present). Thanks for the reference to H. A. Dye. I went on to show how such a group leads easily to statistical hypothesis tests. That is, in particular I was making sense out of 'resampling' and 'bootstrap' plans. In part I got the idea of considering 'measure preserving', of course, from ergodic theory where measure preserving transformations are central, but the transformations I used, and needed for the statistics, are the ones that ergodic theory throws out. No, I'm not Dye. That's the first I heard of Dye's paper. Thanks. At one point long after publishing I saw remark in one of the volumes of Dunford and Schwartz, as I recall, attributed to Norbert Wiener, that maybe something could be done with the 'periodic' case where, thus, there is a finite group. Never heard of Vapnik. Thanks for the reference. From a simple Google, found at http://vserver1.cscs.lsa.umich.edu/~crshalizi/reviews/vapnik-nature/ http://vserver1.cscs.lsa.umich.edu/~crshalizi/reviews/vapnik... a review The Bactra Review: Occasional and eclectic book reviews by Cosma Shalizi The Nature of Statistical Learning Theory by V. N. Vapnik Okay, Vapnik is trying to do some mathematics to show some desirable mathematical properties of some of statistical learning theory, maybe in particular some of the algorithms. Good. The review is a bit tough on Vapnik's writings from when he was writing in Russia. That's sad: The famous Russian texts on probability and stochastic processes, usually from Springer, were exemplary and with beautifully done translations to English, e.g., E. Dynkin, R. Lipster, etc. I can'f find where I said "yo bitches". But I do believe that a proposed algorithm should do something, that what it does should be clear, good, and demonstrated, hopefully with some theorems and proofs. Knuth's TACP was big on 'analysis' of algorithms, but from the OP and, say, Prof Ng's course on machine learning it appears that the analysis part is being omitted. Broadly, it looks like (1) statistics, optimization, stochastic processes are old fields and no longer very popular, at least in the US where they might be in departments of mathematics which, however, in the US, mostly don't like those fields; (2) computing is a new field and has lots of grant money, interest, and students; (3) for an actual application, those old fields need computing to do the specified data manipulations; (4) computing wants to take on some of the problems the old fields worked on and, then, is at risk of putting poor versions of good old wine in new bottles with new labels. This is a form of 'academic theft'? Well, if not, if the new wine is poor, then it's a form of academic dilution. Not good.