Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
There are many small examples that do not need to create a single example file. Take the MLlib datatype page – mllib-data-types.md – as an example, code examples like creating vectors and matrices are trivial works. We can merge them into one single vector/matrix creation example. Then we use labels to distinguish each other, such as
{% include_example xxxx.scala vector_creation %}.
The "label way" is also useful in the dialog-style code example: http://spark.apache.org/docs/latest/mllib-linear-methods.html#streaming-linear-regression.
Attachments
Issue Links
- Dependent
-
SPARK-11381 Replace example code in mllib-linear-methods.md using include_example
- Resolved
- relates to
-
SPARK-16294 Labelling support for the include_example Jekyll plugin
- Resolved
- links to