From 6715f7fa3dd344a4ea52b7950790e9caacbfb992 Mon Sep 17 00:00:00 2001 From: Serena Ruan <82044803+serena-ruan@users.noreply.github.com> Date: Thu, 27 Jan 2022 10:29:21 +0800 Subject: [PATCH] fix: quick fix to installation guidance (#1369) --- website/src/pages/index.js | 57 +++++++++++++++++++++++++------------- 1 file changed, 38 insertions(+), 19 deletions(-) diff --git a/website/src/pages/index.js b/website/src/pages/index.js index 8c698e6385..0960d03358 100644 --- a/website/src/pages/index.js +++ b/website/src/pages/index.js @@ -42,8 +42,7 @@ model_prediction_df = (ONNXModel() }, { label: "Responsible AI", - further: - "docs/features/responsible_ai/Model%20Interpretation%20on%20Spark", + further: "docs/features/responsible_ai/Model%20Interpretation%20on%20Spark", config: `from synapse.ml.explainers import * interpretation_df = (TabularSHAP() @@ -71,7 +70,8 @@ quantile_df = (LightGBMRegressor() }, { label: "OpenCV", - further: "docs/features/opencv/OpenCV%20-%20Pipeline%20Image%20Transformations", + further: + "docs/features/opencv/OpenCV%20-%20Pipeline%20Image%20Transformations", config: `from synapse.ml.opencv import * image_df = (ImageTransformer() @@ -195,8 +195,11 @@ function Home() {
- Coming from MMLSpark? - We have been renamed to SynapseML! + Coming from{" "} + + MMLSpark + + ? We have been renamed to SynapseML!
@@ -263,7 +266,22 @@ function Home() { ]} > - SynapseML can be conveniently installed on Synapse: +

SynapseML can be conveniently installed on Synapse:

+ For Spark3.1 pool: + + For Spark3.2 pool: - Please also include `synapseml==0.9.5` in your - requirements.txt file for usage of PySpark. [ - - Install Python libraries in Synapse - - ]
SynapseML can be conveniently installed on existing Spark clusters via the --packages option, examples: This can be used in other Spark contexts too. For example, you @@ -315,7 +327,13 @@ spark-submit --packages com.microsoft.azure:synapseml_2.12:0.9.5 MyApp.jar `} in your workspace. in your workspace.

- For the coordinates use: +

For the coordinates:

+ Spark 3.1 Cluster: + + Spark 3.2 Cluster:

Finally, ensure that your Spark cluster has at least Spark - 2.4 and Scala 2.11. + 3.1 and Scala 2.12.

You can use SynapseML in both your Scala and PySpark notebooks. To get started with our example notebooks import @@ -373,7 +391,8 @@ spark-submit --packages com.microsoft.azure:synapseml_2.12:0.9.5 MyApp.jar `}