official/wide_deep/ydq_wide_deep_model.py
def build_estimator(model_dir, model_type, model_column_fn, inter_op, intra_op):
  """Build an estimator appropriate for the given model type."""
  wide_columns, deep_columns = model_column_fn()
  hidden_units = [100, 75, 50, 25]

  return LinearClassifier(model_dir=model_dir, feature_columns=deep_columns, n_classes=2,config=None)
Build an estimator appropriate for the given model type.
Build an estimator appropriate for the given model type.
Build an estimator appropriate for the given model type .
def build_estimator(model_dir, model_type, model_column_fn, inter_op, intra_op):
  wide_columns, deep_columns = model_column_fn()
  hidden_units = [100, 75, 50, 25]
  return LinearClassifier(model_dir=model_dir, feature_columns=deep_columns, n_classes=2,config=None)
def build_estimator ( model_dir , model_type , model_column_fn , inter_op , intra_op ) : wide_columns , deep_columns = model_column_fn ( ) hidden_units = [ 100 , 75 , 50 , 25 ] return LinearClassifier ( model_dir = model_dir , feature_columns = deep_columns , n_classes = 2 , config = None )
Build an estimator appropriate for the given model type.
Build an estimator appropriate for the given model type .
"""Build an estimator appropriate for the given model type."""
model_dir
model_type
model_column_fn
inter_op
intra_op