Skip to content

Conversation

@yinxusen
Copy link
Contributor

@yinxusen
Copy link
Contributor Author

I will update CrossValidator after it merging into master.

@SparkQA
Copy link

SparkQA commented Nov 21, 2015

Test build #46476 has finished for PR 9884 at commit aa2d9aa.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Nov 21, 2015

Test build #46479 has finished for PR 9884 at commit a4b72a0.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):\n * class RFormula(override val uid: String)\n * class VectorAttributeRewriterWriter(instance: VectorAttributeRewriter) extends MLWriter\n

@SparkQA
Copy link

SparkQA commented Nov 24, 2015

Test build #46605 has finished for PR 9884 at commit 7b9abf6.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):\n * class RFormula(override val uid: String)\n * class VectorAttributeRewriterWriter(instance: VectorAttributeRewriter) extends MLWriter\n

@cafreeman
Copy link

Just for clarification, will this approach allow for saving out a model object and then using it in a different SparkContext than the one in which it was created? I see that all the stages are written out and preserved, but I've seen SparkR throw a fit about trying to use things across contexts before.

@yinxusen
Copy link
Contributor Author

@cafreeman I believe the saved pipeline can be loaded in another spark context.

@SparkQA
Copy link

SparkQA commented Jan 7, 2016

Test build #48939 has finished for PR 9884 at commit b18cea0.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@yinxusen
Copy link
Contributor Author

yinxusen commented Jan 8, 2016

ok to test

@yinxusen
Copy link
Contributor Author

yinxusen commented Jan 8, 2016

cc @jkbradley I updated the cross validator. Could you make a pass of it? Thx

@SparkQA
Copy link

SparkQA commented Jan 8, 2016

Test build #48998 has finished for PR 9884 at commit 3c8faab.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

asfgit pushed a commit that referenced this pull request Mar 4, 2016
Add save/load for feature.py. Meanwhile, add save/load for `ElementwiseProduct` in Scala side and fix a bug of missing `setDefault` in `VectorSlicer` and `StopWordsRemover`.

In this PR I ignore the `RFormula` and `RFormulaModel` because its Scala implementation is pending in #9884. I'll add them in this PR if #9884 gets merged first. Or add a follow-up JIRA for `RFormula`.

Author: Xusen Yin <yinxusen@gmail.com>

Closes #11203 from yinxusen/SPARK-13036.
@jkbradley
Copy link
Member

I'll take a look now

@SparkQA
Copy link

SparkQA commented Mar 16, 2016

Test build #2644 has finished for PR 9884 at commit 3c8faab.

  • This patch fails Scala style tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

resolvedFormula: ResolvedRFormula,
pipelineModel: PipelineModel)
extends Model[RFormulaModel] with RFormulaBase {
val resolvedFormula: ResolvedRFormula,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These vals should be private[feature]

@jkbradley
Copy link
Member

I only saw a few issues. Thanks!

pipelineModel: PipelineModel)
extends Model[RFormulaModel] with RFormulaBase {
private[ml] val resolvedFormula: ResolvedRFormula,
private[ml] val pipelineModel: PipelineModel)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer to leave the private scope of ml, other than feature, because CrossValidator accesses the pipelineModel.

@SparkQA
Copy link

SparkQA commented Mar 17, 2016

Test build #53390 has finished for PR 9884 at commit 739eb87.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@jkbradley
Copy link
Member

LGTM
Merging with master
Thanks @yinxusen !

@asfgit asfgit closed this in edf8b87 Mar 17, 2016
roygao94 pushed a commit to roygao94/spark that referenced this pull request Mar 22, 2016
Add save/load for feature.py. Meanwhile, add save/load for `ElementwiseProduct` in Scala side and fix a bug of missing `setDefault` in `VectorSlicer` and `StopWordsRemover`.

In this PR I ignore the `RFormula` and `RFormulaModel` because its Scala implementation is pending in apache#9884. I'll add them in this PR if apache#9884 gets merged first. Or add a follow-up JIRA for `RFormula`.

Author: Xusen Yin <yinxusen@gmail.com>

Closes apache#11203 from yinxusen/SPARK-13036.
roygao94 pushed a commit to roygao94/spark that referenced this pull request Mar 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants