This paper mainly studies the ID3 decision tree algorithm and its improved algorithm,and describes the basic idea of ID3 algorithm and its deficiencies,which can help to facilitate its calculation by means of convex function and raise the efficiency of calculating expected information according to the character of expected information used in ID3 algorithm.