Abstract:FP algorithm is improved in this paper. First, the “common characteristic bit” is optimized, then the selection of x0 sample is optimized. Finally, the design of threshold is optimized. After these optimizations, the attractive domain of sample appears more even. The solution is proved by the test data.