Skip to content

Commit e02a86e

Browse files
committed
fix doc
1 parent 4ed1227 commit e02a86e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

mllib/src/main/scala/org/apache/spark/ml/classification/LinearSVC.scala

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -159,14 +159,14 @@ class LinearSVC @Since("2.2.0") (
159159
/**
160160
* Set block size for stacking input data in matrices.
161161
* If blockSize == 1, then stacking will be skipped, and each vector is treated individually;
162-
* If blockSize > 1, then points will be stacked to blocks, and high-level BLAS routines will
163-
* be used if possible (for example, GEMV instead of DOT, GEMM instead of GEMV).
164-
* An appropriate choice of the block size depends on the dim and sparsity of input datasets,
165-
* the underlying BLAS implementation (for example, f2jBLAS, OpenBLAS, intel MKL) and its
166-
* configuration (for example, number of threads).
162+
* If blockSize > 1, then vectors will be stacked to blocks, and high-level BLAS routines
163+
* will be used if possible (for example, GEMV instead of DOT, GEMM instead of GEMV).
164+
* Recommended size is between 10 and 1000. An appropriate choice of the block size depends
165+
* on the sparsity and dim of input datasets, the underlying BLAS implementation (for example,
166+
* f2jBLAS, OpenBLAS, intel MKL) and its configuration (for example, number of threads).
167167
* Note that existing BLAS implementations are mainly optimized for dense matrices, if the
168-
* input dataset is sparse, there maybe no performance gain, the worse is that performance
169-
* regression may occur.
168+
* input dataset is sparse, stacking may bring no performance gain, the worse is possible
169+
* performance regression.
170170
* Default is 1.
171171
*
172172
* @group expertSetParam

0 commit comments

Comments
 (0)