Skip to content

Instantly share code, notes, and snippets.

@c-m-hunt
Last active March 14, 2019 12:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save c-m-hunt/3271efb2aa51e78a2f9fadd1b102bf3c to your computer and use it in GitHub Desktop.
Save c-m-hunt/3271efb2aa51e78a2f9fadd1b102bf3c to your computer and use it in GitHub Desktop.
Example Ludwig modeldef file
training:
batch_size: 32
epochs: 400
early_stop: 50
learning_rate: 0.001
optimizer:
type: rmsprop
input_features:
-
name: Cylinders
type: numerical
-
name: Displacement
type: numerical
-
name: Horsepower
type: numerical
-
name: Weight
type: numerical
-
name: Acceleration
type: numerical
-
name: ModelYear
type: numerical
-
name: Origin
type: category
output_features:
-
name: MPG
type: numerical
optimizer:
type: mean_squared_error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment