Converting google-cloud-ml github Reddit example from regression to classification and adding keys?
问题 I've been trying to adapt the reddit_tft example from the cloud-ml github samples repo to my needs. I've been able to get it running as per the tutorial readme. However what i want to use it for is a binary classification problem and also output keys in batch prediction. So i have made copy of the tutorial code here and have changed it in a few places to be able to have a model type of deep_classifier that would use a DNNClasifier instead of a DNNRegressor . I've changed the score variable to