You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spot.apache.org by na...@apache.org on 2018/03/19 19:28:13 UTC

[04/42] incubator-spot git commit: Spot-196: Changes: Updated SpotLDAModel, removed unused parameter from apply method.

Spot-196: Changes:
Updated SpotLDAModel, removed unused parameter from apply method.


Project: http://git-wip-us.apache.org/repos/asf/incubator-spot/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-spot/commit/dbf6f518
Tree: http://git-wip-us.apache.org/repos/asf/incubator-spot/tree/dbf6f518
Diff: http://git-wip-us.apache.org/repos/asf/incubator-spot/diff/dbf6f518

Branch: refs/heads/SPOT-181_ODM
Commit: dbf6f518e930fdd8b85e104affe84b93d076c017
Parents: dbdcbaf
Author: Ricardo Barona <ri...@intel.com>
Authored: Mon Aug 7 11:40:33 2017 -0500
Committer: Ricardo Barona <ri...@intel.com>
Committed: Fri Oct 6 15:25:58 2017 -0500

----------------------------------------------------------------------
 spot-ml/src/main/scala/org/apache/spot/lda/SpotLDAModel.scala | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/dbf6f518/spot-ml/src/main/scala/org/apache/spot/lda/SpotLDAModel.scala
----------------------------------------------------------------------
diff --git a/spot-ml/src/main/scala/org/apache/spot/lda/SpotLDAModel.scala b/spot-ml/src/main/scala/org/apache/spot/lda/SpotLDAModel.scala
index 669bb69..181dc62 100644
--- a/spot-ml/src/main/scala/org/apache/spot/lda/SpotLDAModel.scala
+++ b/spot-ml/src/main/scala/org/apache/spot/lda/SpotLDAModel.scala
@@ -126,11 +126,10 @@ object SpotLDAModel {
     * Factory method, based on instance of ldaModel will generate an object based on DistributedLDAModel
     * implementation or LocalLDAModel.
     *
-    * @param ldaModel
-    * @param spotLDAHelper
+    * @param ldaModel Spark LDAModel
     * @return
     */
-  def apply(ldaModel: LDAModel, spotLDAHelper: SpotLDAHelper = null): SpotLDAModel = {
+  def apply(ldaModel: LDAModel): SpotLDAModel = {
 
     ldaModel match {
       case model: DistributedLDAModel => new SpotDistributedLDAModel(model)