Skip to content

Instantly share code, notes, and snippets.

@mmuratarat
Created September 14, 2017 17:48
Show Gist options
  • Save mmuratarat/6504a42a76853f3b05a64945633b4b28 to your computer and use it in GitHub Desktop.
Save mmuratarat/6504a42a76853f3b05a64945633b4b28 to your computer and use it in GitHub Desktop.
#Her iterasyon sonrasi elde edilen maliyet fonksiyonu degerlerini cizdirelim.
costs_df <- data.frame( iteration = 1:nrow(results$costs),
costs = results$costs / 1e+8 )
plot(1:nrow(results$costs),costs_df$costs,xlab = "Iteration", ylab = "Cost")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment