Computational learning theory studies what an algorithm can learn under an explicit observation model, accuracy requirement and resource bound. Sample complexity measures how much information is needed; time complexity measures the computation used to turn it into a predictor. A class can admit statistically sufficient samples while presenting a difficult computational Search problem.
In realizable probably approximately correct learning, labelled examples are sampled independently from a fixed but unknown distribution and some hypothesis in the class labels them perfectly. The learner must return a hypothesis whose true error is at most with probability at least . For a finite class , any consistent learner satisfies this guarantee whenIndeed, a fixed hypothesis with error greater than matches all examples with probability at most ; a union bound over proves the claim. The argument bounds information requirements, but does not supply an efficient method for finding a consistent hypothesis.
Sample complexity is the number of training observations needed for a specified learning guarantee. It depends on the allowed prediction error , failure probability , the hypothesis class and assumptions about data generation. It counts observations, whereas computational complexity theory measures the work of processing them.
For a finite class containing the true binary labeling rule, suppose examples are independent and identically distributed. A fixed hypothesis with error greater than fits examples with probability at most . The union bound makes the probability that any such bad hypothesis fits at most . Thus any consistent learner succeeds with probability at least whenThe derivation assumes realizability and establishes an information guarantee; it does not give an efficient search for a consistent hypothesis.
Probably approximately correct learning formalizes learning as a two-parameter guarantee. With probability at least over the training random sample and any learner randomness, the returned hypothesis must have true prediction error at most . In the realizable distribution-free setting, this must hold for every input probability distribution and every target in the specified concept class, using an appropriate polynomial number of examples; efficient PAC learning also requires polynomial running time.
“Probably” refers to the chance of obtaining a good hypothesis; “approximately” refers to that hypothesis's error on a fresh observation. For example, and require a 95% chance of returning a predictor whose error is at most 1%, rather than a claim that 95% of individual predictions are right. For finite realizable classes, the sample complexity bound follows by excluding every high-error rule that could have survived the observations.[ref]
Articles by others on the same topic
Computational learning theory is a subfield of artificial intelligence and machine learning that focuses on the study of algorithms that learn from and make predictions or decisions based on data. It provides a theoretical framework to understand the capabilities and limitations of learning algorithms, often examining issues such as the complexity of learning tasks, the types of data, and the models employed for prediction.