Github user shahidki31 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21740#discussion_r202534384
  
    --- Diff: 
mllib/src/test/scala/org/apache/spark/mllib/recommendation/MatrixFactorizationModelSuite.scala
 ---
    @@ -72,6 +72,22 @@ class MatrixFactorizationModelSuite extends 
SparkFunSuite with MLlibTestSparkCon
         }
       }
     
    +  test("invalid user and product") {
    +    val model = new MatrixFactorizationModel(rank, userFeatures, 
prodFeatures)
    +    assert(intercept[IllegalArgumentException]  {
    --- End diff --
    
    Thanks for the review. Done.


---

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

Reply via email to