Skip to content

[SPARK-16117] [MLLIB] hide LibSVMFileFormat and move its doc to LibSVMDataSource#13819

Closed
mengxr wants to merge 1 commit intoapache:masterfrom
mengxr:SPARK-16117
Closed

[SPARK-16117] [MLLIB] hide LibSVMFileFormat and move its doc to LibSVMDataSource#13819
mengxr wants to merge 1 commit intoapache:masterfrom
mengxr:SPARK-16117

Conversation

@mengxr
Copy link
Contributor

@mengxr mengxr commented Jun 21, 2016

What changes were proposed in this pull request?

LibSVMFileFormat implements data source for LIBSVM format. However, users do not really need to call its APIs to use it. So we should hide it in the public API docs. The main issue is that we still need to put the documentation and example code somewhere. The proposal it to have a dummy class to hold the documentation, as a workaround to https://issues.scala-lang.org/browse/SI-8124.

How was this patch tested?

Manually checked the generated API doc and tested loading LIBSVM data.

@mengxr
Copy link
Contributor Author

mengxr commented Jun 21, 2016

cc: @rxin

@SparkQA
Copy link

SparkQA commented Jun 21, 2016

Test build #60961 has finished for PR 13819 at commit 1695b3a.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@rxin
Copy link
Contributor

rxin commented Jun 21, 2016

Merging in master/2.0.

@asfgit asfgit closed this in f4e8c31 Jun 21, 2016
asfgit pushed a commit that referenced this pull request Jun 21, 2016
…DataSource

## What changes were proposed in this pull request?

LibSVMFileFormat implements data source for LIBSVM format. However, users do not really need to call its APIs to use it. So we should hide it in the public API docs. The main issue is that we still need to put the documentation and example code somewhere. The proposal it to have a dummy class to hold the documentation, as a workaround to https://issues.scala-lang.org/browse/SI-8124.

## How was this patch tested?

Manually checked the generated API doc and tested loading LIBSVM data.

Author: Xiangrui Meng <meng@databricks.com>

Closes #13819 from mengxr/SPARK-16117.

(cherry picked from commit f4e8c31)
Signed-off-by: Reynold Xin <rxin@databricks.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants