[GitHub] spark issue #16194: [SPARK-18767][ML] Unify Models' toString methods

2016-12-18 Thread zhengruifeng
Github user zhengruifeng commented on the issue: https://github.com/apache/spark/pull/16194 @sethah +1, I prefer not to do any update. I think this isuue will be resolved by the way after some refactor on SharedParam. --- If your project is set up for it, you can reply to this email

[GitHub] spark issue #16194: [SPARK-18767][ML] Unify Models' toString methods

2016-12-17 Thread sethah
Github user sethah commented on the issue: https://github.com/apache/spark/pull/16194 I lean towards doing nothing, unless we can find a solution that is both generic AND lists all/only relevant information. --- If your project is set up for it, you can reply to this email and have

[GitHub] spark issue #16194: [SPARK-18767][ML] Unify Models' toString methods

2016-12-17 Thread srowen
Github user srowen commented on the issue: https://github.com/apache/spark/pull/16194 To move towards a resolution, I'd either implement one generic `toString` that enumerates params, or not do anything at this stage. Up to you @zhengruifeng --- If your project is set up for it,

[GitHub] spark issue #16194: [SPARK-18767][ML] Unify Models' toString methods

2016-12-16 Thread zhengruifeng
Github user zhengruifeng commented on the issue: https://github.com/apache/spark/pull/16194 @sethah No. Just for the convenience in repl. It's somewhat confusing when the model's desc is just the uid of its trainer when I work in repl. --- If your project is set up for it, you can

[GitHub] spark issue #16194: [SPARK-18767][ML] Unify Models' toString methods

2016-12-14 Thread sethah
Github user sethah commented on the issue: https://github.com/apache/spark/pull/16194 One problem I see is that some models have relevant information stored in class members instead of params. LogisticRegression for example would probably list the number of classes and the number of

[GitHub] spark issue #16194: [SPARK-18767][ML] Unify Models' toString methods

2016-12-14 Thread srowen
Github user srowen commented on the issue: https://github.com/apache/spark/pull/16194 It still may be better than manually implementing so many toString methods. The worst case is that this carries some extra output. --- If your project is set up for it, you can reply to this email

[GitHub] spark issue #16194: [SPARK-18767][ML] Unify Models' toString methods

2016-12-13 Thread zhengruifeng
Github user zhengruifeng commented on the issue: https://github.com/apache/spark/pull/16194 Good point. This make me think of the usage of `instr.logParams(params: _*)` in training instrumentation [https://github.com/apache/spark/pull/15671]. IMIO, params are copied from its

[GitHub] spark issue #16194: [SPARK-18767][ML] Unify Models' toString methods

2016-12-13 Thread srowen
Github user srowen commented on the issue: https://github.com/apache/spark/pull/16194 Oh that's a good point, you can enumerate the params generically? that makes a lot more sense. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub

[GitHub] spark issue #16194: [SPARK-18767][ML] Unify Models' toString methods

2016-12-13 Thread hhbyyh
Github user hhbyyh commented on the issue: https://github.com/apache/spark/pull/16194 Sorry but I would still strongly prefer to override the toString() in Model or Params. The default implementation can provide more information about the params. And only in a few cases you need to

[GitHub] spark issue #16194: [SPARK-18767][ML] Unify Models' toString methods

2016-12-12 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue: https://github.com/apache/spark/pull/16194 Merged build finished. Test PASSed. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] spark issue #16194: [SPARK-18767][ML] Unify Models' toString methods

2016-12-12 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue: https://github.com/apache/spark/pull/16194 Test PASSed. Refer to this link for build results (access rights to CI server needed): https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/70057/ Test PASSed. ---

[GitHub] spark issue #16194: [SPARK-18767][ML] Unify Models' toString methods

2016-12-12 Thread SparkQA
Github user SparkQA commented on the issue: https://github.com/apache/spark/pull/16194 **[Test build #70057 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/70057/consoleFull)** for PR 16194 at commit

[GitHub] spark issue #16194: [SPARK-18767][ML] Unify Models' toString methods

2016-12-12 Thread SparkQA
Github user SparkQA commented on the issue: https://github.com/apache/spark/pull/16194 **[Test build #70057 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/70057/consoleFull)** for PR 16194 at commit

[GitHub] spark issue #16194: [SPARK-18767][ML] Unify Models' toString methods

2016-12-12 Thread zhengruifeng
Github user zhengruifeng commented on the issue: https://github.com/apache/spark/pull/16194 @srowen Ok, I will update the version. @hhbyyh as Owen said, if we add a `toString` in class `Model`, we still need to override it in most algs if we want to output some specific info: for

[GitHub] spark issue #16194: [SPARK-18767][ML] Unify Models' toString methods

2016-12-11 Thread srowen
Github user srowen commented on the issue: https://github.com/apache/spark/pull/16194 Yes, it would be nicer to just have a default like `ClassName(uid=...)` at least. That however would not include the class-specific details like number of layers. I am neutral on whether that's so

[GitHub] spark issue #16194: [SPARK-18767][ML] Unify Models' toString methods

2016-12-07 Thread hhbyyh
Github user hhbyyh commented on the issue: https://github.com/apache/spark/pull/16194 I haven't really checked about it, but is it possible to just provide the default `toString` implementation in some upstream abstract class, like Model? And we can do the similar thing for

[GitHub] spark issue #16194: [SPARK-18767][ML] Unify Models' toString methods

2016-12-07 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue: https://github.com/apache/spark/pull/16194 Merged build finished. Test PASSed. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] spark issue #16194: [SPARK-18767][ML] Unify Models' toString methods

2016-12-07 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue: https://github.com/apache/spark/pull/16194 Test PASSed. Refer to this link for build results (access rights to CI server needed): https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/69789/ Test PASSed. ---

[GitHub] spark issue #16194: [SPARK-18767][ML] Unify Models' toString methods

2016-12-07 Thread SparkQA
Github user SparkQA commented on the issue: https://github.com/apache/spark/pull/16194 **[Test build #69789 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/69789/consoleFull)** for PR 16194 at commit

[GitHub] spark issue #16194: [SPARK-18767][ML] Unify Models' toString methods

2016-12-07 Thread SparkQA
Github user SparkQA commented on the issue: https://github.com/apache/spark/pull/16194 **[Test build #69789 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/69789/consoleFull)** for PR 16194 at commit