Based on the genetic algorithm, a data fitness method is presented in this paper. And satisfactory evaluation values of parameters are obtained through coding the function parameters and many times of crossover and mutation operation. The experiment results indicate that this method is feasible and effective.