You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SPARK-40322][DOCS] Fix all dead links in the docs
### What changes were proposed in this pull request?
This PR fixes any dead links in the documentation.
### Why are the changes needed?
Correct the document.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
manual test.
Closesapache#37981 from wangyum/SPARK-40322.
Lead-authored-by: Yuming Wang <[email protected]>
Co-authored-by: Yuming Wang <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
Copy file name to clipboardExpand all lines: docs/sparkr.md
+24-24Lines changed: 24 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -175,7 +175,7 @@ people <- read.json(c("./examples/src/main/resources/people.json", "./examples/s
175
175
{% endhighlight %}
176
176
</div>
177
177
178
-
The data sources API natively supports CSV formatted input files. For more information please refer to SparkR [read.df](api/R/read.df.html) API documentation.
178
+
The data sources API natively supports CSV formatted input files. For more information please refer to SparkR [read.df](api/R/reference/read.df.html) API documentation.
179
179
180
180
<divdata-lang="r"markdown="1">
181
181
{% highlight r %}
@@ -536,49 +536,49 @@ SparkR supports the following machine learning algorithms currently:
*[`spark.svmLinear`](api/R/reference/spark.svmLinear.html): [`Linear Support Vector Machine`](ml-classification-regression.html#linear-support-vector-machine)
*[`spark.survreg`](api/R/spark.survreg.html): [`Accelerated Failure Time (AFT) Survival Model`](ml-classification-regression.html#survival-regression)
548
-
*[`spark.glm`](api/R/spark.glm.html) or [`glm`](api/R/glm.html): [`Generalized Linear Model (GLM)`](ml-classification-regression.html#generalized-linear-regression)
*[`spark.survreg`](api/R/reference/spark.survreg.html): [`Accelerated Failure Time (AFT) Survival Model`](ml-classification-regression.html#survival-regression)
548
+
*[`spark.glm`](api/R/reference/spark.glm.html) or [`glm`](api/R/reference/glm.html): [`Generalized Linear Model (GLM)`](ml-classification-regression.html#generalized-linear-regression)
*[`spark.decisionTree`](api/R/spark.decisionTree.html): `Decision Tree for`[`Regression`](ml-classification-regression.html#decision-tree-regression)`and`[`Classification`](ml-classification-regression.html#decision-tree-classifier)
556
-
*[`spark.gbt`](api/R/spark.gbt.html): `Gradient Boosted Trees for`[`Regression`](ml-classification-regression.html#gradient-boosted-tree-regression)`and`[`Classification`](ml-classification-regression.html#gradient-boosted-tree-classifier)
*[`spark.decisionTree`](api/R/reference/spark.decisionTree.html): `Decision Tree for`[`Regression`](ml-classification-regression.html#decision-tree-regression)`and`[`Classification`](ml-classification-regression.html#decision-tree-classifier)
556
+
*[`spark.gbt`](api/R/reference/spark.gbt.html): `Gradient Boosted Trees for`[`Regression`](ml-classification-regression.html#gradient-boosted-tree-regression)`and`[`Classification`](ml-classification-regression.html#gradient-boosted-tree-classifier)
*[`spark.gaussianMixture`](api/R/reference/spark.gaussianMixture.html): [`Gaussian Mixture Model (GMM)`](ml-clustering.html#gaussian-mixture-model-gmm)
Under the hood, SparkR uses MLlib to train the model. Please refer to the corresponding section of MLlib user guide for example code.
581
-
Users can call `summary` to print a summary of the fitted model, [predict](api/R/predict.html) to make predictions on new data, and [write.ml](api/R/write.ml.html)/[read.ml](api/R/read.ml.html) to save/load fitted models.
581
+
Users can call `summary` to print a summary of the fitted model, [predict](api/R/reference/predict.html) to make predictions on new data, and [write.ml](api/R/reference/write.ml.html)/[read.ml](api/R/reference/read.ml.html) to save/load fitted models.
582
582
SparkR supports a subset of the available R formula operators for model fitting, including ‘~’, ‘.’, ‘:’, ‘+’, and ‘-‘.
0 commit comments