aboutsummaryrefslogtreecommitdiff
path: root/docs/ml-guide.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ml-guide.md')
-rw-r--r--docs/ml-guide.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ml-guide.md b/docs/ml-guide.md
index a5a825f64e..99167873cd 100644
--- a/docs/ml-guide.md
+++ b/docs/ml-guide.md
@@ -316,4 +316,8 @@ The `ParamMap` which produces the best evaluation metric is selected as the best
{% include_example java/org/apache/spark/examples/ml/JavaModelSelectionViaTrainValidationSplitExample.java %}
</div>
+<div data-lang="python">
+{% include_example python/ml/train_validation_split.py %}
+</div>
+
</div>