Nothing
Code
class(ml_binary_classification_evaluator(sc))
Output
[1] "ml_connect_estimator" "ml_estimator" "ml_pipeline_stage"
Code
ml_binary_classification_evaluator(preds, label_col = "am")
Output
[1] 1
Code
class(ml_regression_evaluator(sc))
Output
[1] "ml_connect_estimator" "ml_estimator" "ml_pipeline_stage"
Code
ml_regression_evaluator(preds, label_col = "wt", metric_name = "r2")
Output
[1] 0.9442661
Code
class(ml_multiclass_classification_evaluator(sc))
Output
[1] "ml_connect_estimator" "ml_estimator" "ml_pipeline_stage"
Code
ml_multiclass_classification_evaluator(preds, label_col = "species_idx")
Output
[1] 0.9933327
Code
class(ml_clustering_evaluator(sc))
Output
[1] "ml_connect_estimator" "ml_estimator" "ml_pipeline_stage"
Code
ml_regression_evaluator(compute(mutate(preds, prediction = as.numeric(
prediction))), label_col = "species_idx")
Output
[1] 1.407125
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.