-
- Downloads
[SPARK-7678] [ML] Fix default random seed in HasSeed
Changed shared param HasSeed to have default based on hashCode of class name, instead of random number. Also, removed fixed random seeds from Word2Vec and ALS. CC: mengxr Author: Joseph K. Bradley <joseph@databricks.com> Closes #6251 from jkbradley/scala-fixed-seed and squashes the following commits: 0e37184 [Joseph K. Bradley] Fixed Word2VecSuite, ALSSuite in spark.ml to use original fixed random seeds 678ec3a [Joseph K. Bradley] Removed fixed random seeds from Word2Vec and ALS. Changed shared param HasSeed to have default based on hashCode of class name, instead of random number.
Showing
- mllib/src/main/scala/org/apache/spark/ml/feature/Word2Vec.scala 0 additions, 1 deletion...src/main/scala/org/apache/spark/ml/feature/Word2Vec.scala
- mllib/src/main/scala/org/apache/spark/ml/param/shared/SharedParamsCodeGen.scala 1 addition, 1 deletion...rg/apache/spark/ml/param/shared/SharedParamsCodeGen.scala
- mllib/src/main/scala/org/apache/spark/ml/param/shared/sharedParams.scala 2 additions, 2 deletions...scala/org/apache/spark/ml/param/shared/sharedParams.scala
- mllib/src/main/scala/org/apache/spark/ml/recommendation/ALS.scala 1 addition, 1 deletion...c/main/scala/org/apache/spark/ml/recommendation/ALS.scala
- mllib/src/test/scala/org/apache/spark/ml/feature/Word2VecSuite.scala 1 addition, 0 deletions...est/scala/org/apache/spark/ml/feature/Word2VecSuite.scala
- mllib/src/test/scala/org/apache/spark/ml/recommendation/ALSSuite.scala 9 additions, 7 deletions...t/scala/org/apache/spark/ml/recommendation/ALSSuite.scala
Loading
Please register or sign in to comment