-
- Downloads
[SPARK-16117][MLLIB] hide LibSVMFileFormat and move its doc to LibSVMDataSource
## 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.
Showing
- mllib/src/main/scala/org/apache/spark/ml/source/libsvm/LibSVMDataSource.scala 56 additions, 0 deletions.../org/apache/spark/ml/source/libsvm/LibSVMDataSource.scala
- mllib/src/main/scala/org/apache/spark/ml/source/libsvm/LibSVMRelation.scala 3 additions, 38 deletions...la/org/apache/spark/ml/source/libsvm/LibSVMRelation.scala
Please register or sign in to comment