Research Article

An Automatic Detection Method of Nanocomposite Film Element Based on GLCM and Adaboost M1

Algorithm 1

Input:
Training sample , Class label , iteration number is , multiple
Decision Stump classifiers.
First, initialize, and then compute the samples weight value of samples
 (1) for
 (2) have a distribution
 (3) using distribution to call multiple Decision Stump classifiers, get a hypothesis:
 (4) compute Error Rate of hypothesis Error Rate
 (5) compute
 (6) update
 (7) end
Output: