Last active
September 16, 2017 02:25
-
-
Save mmuratarat/5d8182279e81a63e9f25c5fe509f98c2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Veriyi okutma | |
housing <- read.csv("https://goo.gl/eYbv9F", | |
header = TRUE, | |
sep = "," ) | |
#Fonksyonu calistirma | |
results <- GradientDescent( data = housing, alpha = 0.05, | |
iteration = 500, epsilon = 0.001) | |
#Analiz sonuclari | |
results$theta[nrow(results$theta),] | |
# theta0 area bedrooms | |
#501 340412.7 110630 -6648.375 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment