Advertisement
JokoEliyanto

Untitled

Apr 4th, 2020
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.41 KB | None | 0 0
  1. learning_rate=0.1
  2. epochs=100
  3. my_batch_size=12
  4.  
  5. my_model = build_model(learning_rate)
  6. trained_weight, trained_bias, epochs, rmse = train_model(my_model, my_feature,
  7.                                                          my_label, epochs,
  8.                                                          my_batch_size)
  9. plot_the_model(trained_weight, trained_bias, my_feature, my_label)
  10. plot_the_loss_curve(epochs, rmse)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement