-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-18692][BUILD][DOCS] Test Java 8 unidoc build on Jenkins #17477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -74,7 +74,7 @@ abstract class Classifier[ | |
| * and features (`Vector`). | ||
| * @param numClasses Number of classes label can take. Labels must be integers in the range | ||
| * [0, numClasses). | ||
| * @throws SparkException if any label is not an integer >= 0 | ||
| * @note Throws `SparkException` if any label is not an integer is greater than or equal to 0 | ||
|
||
| */ | ||
| protected def extractLabeledPoints(dataset: Dataset[_], numClasses: Int): RDD[LabeledPoint] = { | ||
| require(numClasses > 0, s"Classifier (in extractLabeledPoints) found numClasses =" + | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -230,7 +230,9 @@ class PipelineSuite extends SparkFunSuite with MLlibTestSparkContext with Defaul | |
| } | ||
|
|
||
|
|
||
| /** Used to test [[Pipeline]] with [[MLWritable]] stages */ | ||
| /** | ||
| * Used to test [[Pipeline]] with `MLWritable` stages | ||
|
||
| */ | ||
| class WritableStage(override val uid: String) extends Transformer with MLWritable { | ||
|
|
||
| final val intParam: IntParam = new IntParam(this, "intParam", "doc") | ||
|
|
@@ -257,7 +259,9 @@ object WritableStage extends MLReadable[WritableStage] { | |
| override def load(path: String): WritableStage = super.load(path) | ||
| } | ||
|
|
||
| /** Used to test [[Pipeline]] with non-[[MLWritable]] stages */ | ||
| /** | ||
| * Used to test [[Pipeline]] with non-`MLWritable` stages | ||
| */ | ||
| class UnWritableStage(override val uid: String) extends Transformer { | ||
|
|
||
| final val intParam: IntParam = new IntParam(this, "intParam", "doc") | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we just wrap this block as code? The rewording is confusing and doesn't read as clearly to me.