You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Felix Cheung (JIRA)" <ji...@apache.org> on 2017/09/18 00:48:00 UTC

[jira] [Commented] (SPARK-21802) Make sparkR MLP summary() expose probability column

    [ https://issues.apache.org/jira/browse/SPARK-21802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16169487#comment-16169487 ] 

Felix Cheung commented on SPARK-21802:
--------------------------------------

Can you clarify where you see it? I just ran against the latest from master branch with R's spark.mlp and don't see any probability?
{code}
   summary <- summary(model)
>
> summar
Error: object 'summar' not found
> summary
$numOfInputs
[1] 4

$numOfOutputs
[1] 3

$layers
[1] 4 5 4 3

$weights
$weights[[1]]
[1] -0.878743

$weights[[2]]
[1] 0.2154151

$weights[[3]]
[1] -1.16304

$weights[[4]]
[1] -0.6583214

$weights[[5]]
[1] 1.009825

$weights[[6]]
[1] 0.2934758

$weights[[7]]
[1] -0.9528391

$weights[[8]]
[1] 0.4029029

$weights[[9]]
[1] -1.038043

$weights[[10]]
[1] 0.05164362

$weights[[11]]
[1] 0.9349549

$weights[[12]]
[1] -0.4283766

$weights[[13]]
[1] -0.5082246

$weights[[14]]
[1] -0.09600512

$weights[[15]]
[1] -0.7843158

$weights[[16]]
[1] -1.199724

$weights[[17]]
[1] 0.6001083

$weights[[18]]
[1] 0.1102863

$weights[[19]]
[1] 0.8259955

$weights[[20]]
[1] -0.4428631

$weights[[21]]
[1] 0.9691921

$weights[[22]]
[1] -0.8472953

$weights[[23]]
[1] -0.8521915

$weights[[24]]
[1] -0.770886

$weights[[25]]
[1] 0.7276595

$weights[[26]]
[1] -0.7675585

$weights[[27]]
[1] 0.1299603

$weights[[28]]
[1] -1.056605

$weights[[29]]
[1] 0.4421284

$weights[[30]]
[1] -0.3245397

$weights[[31]]
[1] -0.904001

$weights[[32]]
[1] 0.2793773

$weights[[33]]
[1] 1.045579

$weights[[34]]
[1] -0.5379433

$weights[[35]]
[1] -1.006988

$weights[[36]]
[1] -0.9652683

$weights[[37]]
[1] 0.8719215

$weights[[38]]
[1] -0.917228

$weights[[39]]
[1] 1.020896

$weights[[40]]
[1] 0.4951883

$weights[[41]]
[1] 0.7487854

$weights[[42]]
[1] -0.7130144

$weights[[43]]
[1] 0.598029

$weights[[44]]
[1] 0.8097242

$weights[[45]]
[1] -1.056401

$weights[[46]]
[1] -0.2041643

$weights[[47]]
[1] -0.9605507

$weights[[48]]
[1] -0.2151837

$weights[[49]]
[1] 0.9075675

$weights[[50]]
[1] 0.004306968

$weights[[51]]
[1] -0.4778498

$weights[[52]]
[1] 0.3312689

$weights[[53]]
[1] 0.6160091

$weights[[54]]
[1] 0.431806

$weights[[55]]
[1] -0.6039096

$weights[[56]]
[1] -0.008508999

$weights[[57]]
[1] 0.7539017

$weights[[58]]
[1] -1.186487

$weights[[59]]
[1] -0.8660557

$weights[[60]]
[1] 0.4443504

$weights[[61]]
[1] 0.5170843

$weights[[62]]
[1] 0.08373222

$weights[[63]]
[1] -1.039143

$weights[[64]]
[1] -0.4787311
{code}

this isn't the summary() right, it's the prediction I think

> Make sparkR MLP summary() expose probability column
> ---------------------------------------------------
>
>                 Key: SPARK-21802
>                 URL: https://issues.apache.org/jira/browse/SPARK-21802
>             Project: Spark
>          Issue Type: New Feature
>          Components: SparkR
>    Affects Versions: 2.2.0
>            Reporter: Weichen Xu
>            Priority: Minor
>
> Make sparkR MLP summary() expose probability column



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org