huaxingao opened a new pull request #27389: [SPARK-30662][ML][PySpark] ALS/MLP 
extend HasBlockSize
URL: https://github.com/apache/spark/pull/27389
 
 
   ### What changes were proposed in this pull request?
   Make ALS/MLP extend ```HasBlockSize```
   
   
   ### Why are the changes needed?
   
   Currently, MLP has its own ```blockSize``` param, we should make MLP extend 
```HasBlockSize``` since ```HasBlockSize``` was added in 
```sharedParams.scala``` recently.
   
   ALS doesn't have ```blockSize``` param now, we can make it extend 
```HasBlockSize```, so user can specify the ```blockSize```.
   
   
   ### Does this PR introduce any user-facing change?
   Yes
   ```ALS.setBlockSize``` and ```ALS.getBlockSize```
   ```ALSModel.setBlockSize``` and ```ALSModel.getBlockSize```
   
   
   ### How was this patch tested?
   Manually tested. Also added doctest.
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to