Add funtion gen auto data and tranning data