[GitHub] incubator-predictionio-template-attribute-based-classifier pull request #11:...

2017-07-14 Thread takezoe
GitHub user takezoe opened a pull request:


https://github.com/apache/incubator-predictionio-template-attribute-based-classifier/pull/11

Fix use of case class



You can merge this pull request into a Git repository by running:

$ git pull 
https://github.com/takezoe/incubator-predictionio-template-attribute-based-classifier
 fix-caseclass

Alternatively you can review and apply these changes as the patch at:


https://github.com/apache/incubator-predictionio-template-attribute-based-classifier/pull/11.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #11


commit 795ff60267feeeaee5d8d759baf1c4cb1d3dce54
Author: Naoki Takezoe 
Date:   2017-07-14T05:54:29Z

Fix use of case class




---
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
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-predictionio pull request #411: Fix use of case class in classific...

2017-07-14 Thread takezoe
GitHub user takezoe opened a pull request:

https://github.com/apache/incubator-predictionio/pull/411

Fix use of case class in classification examples (docs)

According to this template fix: 
https://github.com/apache/incubator-predictionio-template-attribute-based-classifier/pull/11

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/takezoe/incubator-predictionio 
fix-classification-caseclass-docs

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-predictionio/pull/411.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #411






---
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
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-predictionio-template-recommender issue #18: Fix use of case class

2017-07-14 Thread shimamoto
Github user shimamoto commented on the issue:


https://github.com/apache/incubator-predictionio-template-recommender/pull/18
  
LGTM!


---
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
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-predictionio pull request #410: Fix use of case class in classific...

2017-07-14 Thread takezoe
GitHub user takezoe opened a pull request:

https://github.com/apache/incubator-predictionio/pull/410

Fix use of case class in classification examples

According to this template fix: 
https://github.com/apache/incubator-predictionio-template-attribute-based-classifier/pull/11

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/takezoe/incubator-predictionio 
fix-classification-caseclass

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-predictionio/pull/410.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #410






---
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
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-predictionio issue #408: Fix use of case class in recommendation e...

2017-07-14 Thread shimamoto
Github user shimamoto commented on the issue:

https://github.com/apache/incubator-predictionio/pull/408
  
LGTM!


---
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
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-predictionio-template-attribute-based-classifier issue #11: Fix us...

2017-07-14 Thread shimamoto
Github user shimamoto commented on the issue:


https://github.com/apache/incubator-predictionio-template-attribute-based-classifier/pull/11
  
LGTM!


---
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
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-predictionio issue #411: Fix use of case class in classification e...

2017-07-14 Thread shimamoto
Github user shimamoto commented on the issue:

https://github.com/apache/incubator-predictionio/pull/411
  
LGTM!


---
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
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-predictionio issue #410: Fix use of case class in classification e...

2017-07-14 Thread shimamoto
Github user shimamoto commented on the issue:

https://github.com/apache/incubator-predictionio/pull/410
  
LGTM!


---
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
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-predictionio issue #409: Fix use of case class in recommendation e...

2017-07-14 Thread shimamoto
Github user shimamoto commented on the issue:

https://github.com/apache/incubator-predictionio/pull/409
  
LGTM!


---
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
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Created] (PIO-105) Batch Predictions

2017-07-14 Thread Mars Hall (JIRA)
Mars Hall created PIO-105:
-

 Summary: Batch Predictions
 Key: PIO-105
 URL: https://issues.apache.org/jira/browse/PIO-105
 Project: PredictionIO
  Issue Type: New Feature
  Components: Core
Reporter: Mars Hall
Assignee: Mars Hall


Implement a new {{pio batchpredict}} command to enable massive, fast, batch 
predictions from a trained model. Read a multi-object JSON file as the input 
format, with one query object per line. Similarly, write results to a 
multi-object JSON file, with one prediction result + its original query per 
line.

Currently getting bulk predictions from PredictionIO is possible with either:

* a {{pio eval}} script, which will always train a fresh, unvalidated model 
before getting predictions
* a custom script that hits the {{queries.json}} HTTP API, which is a serious 
bottleneck when requesting hundreds-of-thousands or millions of predictions

Neither of these existing bulk-prediction hacks are adequate for the reasons 
mentioned.

It's time for this use-case to be a firstclass command :D



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


[jira] [Updated] (PIO-105) Batch Predictions

2017-07-14 Thread Mars Hall (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIO-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mars Hall updated PIO-105:
--
External issue URL: 
https://github.com/apache/incubator-predictionio/pull/412
   Description: 
Implement a new {{pio batchpredict}} command to enable massive, fast, batch 
predictions from a trained model. Read a multi-object JSON file as the input 
format, with one query object per line. Similarly, write results to a 
multi-object JSON file, with one prediction result + its original query per 
line.

Currently getting bulk predictions from PredictionIO is possible with either:

* a {{pio eval}} script, which will always train a fresh, unvalidated model 
before getting predictions
* a custom script that hits the {{queries.json}} HTTP API, which is a serious 
bottleneck when requesting hundreds-of-thousands or millions of predictions

Neither of these existing bulk-prediction hacks are adequate for the reasons 
mentioned.

It's time for this use-case to be a firstclass command :D

Pull request https://github.com/apache/incubator-predictionio/pull/412

  was:
Implement a new {{pio batchpredict}} command to enable massive, fast, batch 
predictions from a trained model. Read a multi-object JSON file as the input 
format, with one query object per line. Similarly, write results to a 
multi-object JSON file, with one prediction result + its original query per 
line.

Currently getting bulk predictions from PredictionIO is possible with either:

* a {{pio eval}} script, which will always train a fresh, unvalidated model 
before getting predictions
* a custom script that hits the {{queries.json}} HTTP API, which is a serious 
bottleneck when requesting hundreds-of-thousands or millions of predictions

Neither of these existing bulk-prediction hacks are adequate for the reasons 
mentioned.

It's time for this use-case to be a firstclass command :D


> Batch Predictions
> -
>
> Key: PIO-105
> URL: https://issues.apache.org/jira/browse/PIO-105
> Project: PredictionIO
>  Issue Type: New Feature
>  Components: Core
>Reporter: Mars Hall
>Assignee: Mars Hall
>
> Implement a new {{pio batchpredict}} command to enable massive, fast, batch 
> predictions from a trained model. Read a multi-object JSON file as the input 
> format, with one query object per line. Similarly, write results to a 
> multi-object JSON file, with one prediction result + its original query per 
> line.
> Currently getting bulk predictions from PredictionIO is possible with either:
> * a {{pio eval}} script, which will always train a fresh, unvalidated model 
> before getting predictions
> * a custom script that hits the {{queries.json}} HTTP API, which is a serious 
> bottleneck when requesting hundreds-of-thousands or millions of predictions
> Neither of these existing bulk-prediction hacks are adequate for the reasons 
> mentioned.
> It's time for this use-case to be a firstclass command :D
> Pull request https://github.com/apache/incubator-predictionio/pull/412



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


[jira] [Commented] (PIO-105) Batch Predictions

2017-07-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on PIO-105:


GitHub user mars opened a pull request:

https://github.com/apache/incubator-predictionio/pull/412

Batch Predictions

JIRA issue [PIO-105](https://issues.apache.org/jira/browse/PIO-105)

Provides a new `pio batchpredict` command.

Reads from multi-object JSON input file. Example:

```json
{"user":"1"}
{"user":"2"}
{"user":"3"}
{"user":"4"}
{"user":"5"}
```

Writes to multi-object JSON output file (actually Hadoop partition files). 
Example:

```json

{"query":{"user":"1"},"prediction":{"itemScores":[{"item":"1","score":33},{"item":"2","score":32}]}}

{"query":{"user":"2"},"prediction":{"itemScores":[{"item":"5","score":55},{"item":"3","score":28}]}}

{"query":{"user":"3"},"prediction":{"itemScores":[{"item":"2","score":16},{"item":"3","score":12}]}}

{"query":{"user":"4"},"prediction":{"itemScores":[{"item":"3","score":19},{"item":"1","score":18}]}}

{"query":{"user":"5"},"prediction":{"itemScores":[{"item":"1","score":24},{"item":"4","score":14}]}}
```

See the included [console usage 
help](#diff-2cf174557564e09d52157be8e839fecf)

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/mars/incubator-predictionio batch-predict

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-predictionio/pull/412.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #412


commit 99ee6493bddc8f02aee384f3a2db27c6ae3f68cc
Author: Mars Hall 
Date:   2017-07-13T00:12:25Z

Implement BatchPredict

commit c205357498e4a4a745810b04130c5bbad78f8686
Author: Mars Hall 
Date:   2017-07-14T22:29:26Z

Improve console help for batch predict.

commit 93f7ed3e5ed10155a688a032e367793d75fa116a
Author: Mars Hall 
Date:   2017-07-14T22:46:30Z

Undo experimental change to publish tools artifact




> Batch Predictions
> -
>
> Key: PIO-105
> URL: https://issues.apache.org/jira/browse/PIO-105
> Project: PredictionIO
>  Issue Type: New Feature
>  Components: Core
>Reporter: Mars Hall
>Assignee: Mars Hall
>
> Implement a new {{pio batchpredict}} command to enable massive, fast, batch 
> predictions from a trained model. Read a multi-object JSON file as the input 
> format, with one query object per line. Similarly, write results to a 
> multi-object JSON file, with one prediction result + its original query per 
> line.
> Currently getting bulk predictions from PredictionIO is possible with either:
> * a {{pio eval}} script, which will always train a fresh, unvalidated model 
> before getting predictions
> * a custom script that hits the {{queries.json}} HTTP API, which is a serious 
> bottleneck when requesting hundreds-of-thousands or millions of predictions
> Neither of these existing bulk-prediction hacks are adequate for the reasons 
> mentioned.
> It's time for this use-case to be a firstclass command :D



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


[GitHub] incubator-predictionio pull request #412: Batch Predictions

2017-07-14 Thread mars
GitHub user mars opened a pull request:

https://github.com/apache/incubator-predictionio/pull/412

Batch Predictions

JIRA issue [PIO-105](https://issues.apache.org/jira/browse/PIO-105)

Provides a new `pio batchpredict` command.

Reads from multi-object JSON input file. Example:

```json
{"user":"1"}
{"user":"2"}
{"user":"3"}
{"user":"4"}
{"user":"5"}
```

Writes to multi-object JSON output file (actually Hadoop partition files). 
Example:

```json

{"query":{"user":"1"},"prediction":{"itemScores":[{"item":"1","score":33},{"item":"2","score":32}]}}

{"query":{"user":"2"},"prediction":{"itemScores":[{"item":"5","score":55},{"item":"3","score":28}]}}

{"query":{"user":"3"},"prediction":{"itemScores":[{"item":"2","score":16},{"item":"3","score":12}]}}

{"query":{"user":"4"},"prediction":{"itemScores":[{"item":"3","score":19},{"item":"1","score":18}]}}

{"query":{"user":"5"},"prediction":{"itemScores":[{"item":"1","score":24},{"item":"4","score":14}]}}
```

See the included [console usage 
help](#diff-2cf174557564e09d52157be8e839fecf)

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/mars/incubator-predictionio batch-predict

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-predictionio/pull/412.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #412


commit 99ee6493bddc8f02aee384f3a2db27c6ae3f68cc
Author: Mars Hall 
Date:   2017-07-13T00:12:25Z

Implement BatchPredict

commit c205357498e4a4a745810b04130c5bbad78f8686
Author: Mars Hall 
Date:   2017-07-14T22:29:26Z

Improve console help for batch predict.

commit 93f7ed3e5ed10155a688a032e367793d75fa116a
Author: Mars Hall 
Date:   2017-07-14T22:46:30Z

Undo experimental change to publish tools artifact




---
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
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (PIO-101) Document usage of Plug-in of event server and engine server

2017-07-14 Thread Kenneth Chan (JIRA)

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

Kenneth Chan commented on PIO-101:
--

agree

> Document usage of Plug-in of event server and engine server
> ---
>
> Key: PIO-101
> URL: https://issues.apache.org/jira/browse/PIO-101
> Project: PredictionIO
>  Issue Type: Task
>  Components: Documentation
>Reporter: Kenneth Chan
>
> see 
> http://mail-archives.apache.org/mod_mbox/incubator-predictionio-dev/201706.mbox/%3CCAF_HxLtEonOVALSQgrCRGXctAbL7eypxwG0ErHpaBJJym15j5Q%40mail.gmail.com%3E



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