我在tensorflow中得到了重复的功能
train_input_fn = tf.estimator.inputs.pandas_input_fn(x=X_train, y=Y_train, shuffle=True, num_epochs=50, batch_size=100)
test_input_fn = tf.estimator.inputs.pandas_input_fn(x=X_test, y=Y_test, shuffle=False, batch_size=100)
model = tf.estimator.LinearClassifier(feature_columns=feat_cols+feat_cols)