Design and implementation of crop yield prediction model in agriculture