Maskininlärning med Spark

Introduktion till Spark med sparklyr i R

Richie Cotton

Data Evangelist at DataCamp

Gradientförstärkta träd och slumpskogar

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)
Introduktion till Spark med sparklyr i R

Nu kör vi en övning!

Introduktion till Spark med sparklyr i R

Preparing Video For Download...