Spark ile Machine Learning

R ile sparklyr kullanarak Spark’a Giriş

Richie Cotton

Data Evangelist at DataCamp

Gradient boosted ağaç modelleri ve rastgele ormanlar

model_formula <- reformulate(features, response = "response")

model <- training_data %>%
  ml_gradient_boosted_trees(formula)

predicted <- ml_predict(
    model,
    testing_data) %>% pull(prediction)

results <- testing_data %>%
  select(response)
  collect() %>%
  mutate(predicted_response = predicted)
R ile sparklyr kullanarak Spark’a Giriş

Hadi pratik yapalım!

R ile sparklyr kullanarak Spark’a Giriş

Preparing Video For Download...