You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/09/06 17:20:21 UTC
[jira] [Commented] (METRON-391) Create Stellar Function to Read
Profile Data for Model Scoring
[ https://issues.apache.org/jira/browse/METRON-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15467961#comment-15467961 ]
ASF GitHub Bot commented on METRON-391:
---------------------------------------
GitHub user nickwallen opened a pull request:
https://github.com/apache/incubator-metron/pull/242
METRON-391 Create Stellar Function to Read Profile Data for Model Scoring
### [METRON-391](https://issues.apache.org/jira/browse/METRON-391)
A Java API was created as part of #236 to allow Profile data to be read during model scoring. A Stellar function(s) was created that uses this API to read the profile data. This would be used in conjunction with other Stellar functions like MODEL_APPLY.
#### Dependencies
This PR depends on #236, #237, #233, and #240 .
#### Examples
Retrieve all values for 'entity1' from 'profile1' over the past 4 hours.
```
PROFILE_GET('profile1', 'entity1', 4, 'HOURS')
```
Retrieve all values for 'entity1' from 'profile1' over the past 2 days.
```
PROFILE_GET('profile1', 'entity1', 2, 'DAYS')
```
Retrieve all values for 'entity1' from 'profile1' that occurred on 'weekdays' over the past month.
```
PROFILE_GET('profile1', 'entity1', 1, 'MONTHS', 'weekdays')
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nickwallen/incubator-metron METRON-391
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-metron/pull/242.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 #242
----
commit 444bfb41fc872194c1fbbf9820248f85c5066c51
Author: Nick Allen <ni...@nickallen.org>
Date: 2016-08-23T17:03:15Z
METRON-389 Create Java API to Read Profile Data During Model Scoring
commit 3bb55c63f70d1493df0dbd70fd548ec8b6ce3030
Author: Nick Allen <ni...@nickallen.org>
Date: 2016-08-30T01:23:03Z
METRON-389 Missed removal of old tests during merge
commit 71b50c293ed896d948bc63cbc40d370bdc2b003a
Author: Nick Allen <ni...@nickallen.org>
Date: 2016-08-30T01:31:55Z
METRON-389 Change to Context was lost in merge
commit b9e017c1101fb3a67435d3462234870bf0ed9717
Author: Nick Allen <ni...@nickallen.org>
Date: 2016-08-30T13:23:56Z
METRON-389 Was missing changes from METRON-377
commit 1ddeb24087729692ec502a4108bf04b655c235cb
Author: Nick Allen <ni...@nickallen.org>
Date: 2016-08-30T13:27:36Z
METRON-389 Removed unnecessary commented-out code
commit 4af9b196bc4012162bc5cc3758a09c50321feccd
Author: Nick Allen <ni...@nickallen.org>
Date: 2016-08-30T13:46:10Z
METRON-389 Made sure the docs are consistent; periodsPerHour can be a multiple or divisor of 60.
commit ee4c5145536c4e97360381cd8b8a7bf6bd65db1b
Author: Nick Allen <ni...@nickallen.org>
Date: 2016-08-30T14:01:20Z
METRON-389 Was missing updated test from METRON-377
commit 155a08715939ad99892ec18c884f6124495c9434
Author: Nick Allen <ni...@nickallen.org>
Date: 2016-08-30T16:42:04Z
METRON-399 Stellar Date Functions Should Default to Current Time
commit ed4700074e57e0cea701530befabd658d28be64e
Author: cstella <ce...@gmail.com>
Date: 2016-08-26T17:21:13Z
METRON-396: Make Stellar function resolution happen via an annotation and classpath search
commit 7b471c94ac82863f02ed081999855072349167dc
Author: Nick Allen <ni...@nickallen.org>
Date: 2016-09-02T18:09:36Z
METRON-391 Refactor so HBaseProfileClient does not refer to static fields which causes unnecessary dependency
commit 1135c4261c7a8e5e5b74a7b88b33e982e4eb2ebf
Author: Nick Allen <ni...@nickallen.org>
Date: 2016-09-02T18:10:56Z
METRON-391 Create Stellar Function to Read Profile Data for Model Scoring
commit b19b9dcffed7a608d092bb289a8867ae9810977a
Author: Nick Allen <ni...@nickallen.org>
Date: 2016-09-02T19:51:26Z
METRON-404 Stellar Compiler Hides Function Initialization Errors
commit f75ce385cf707756913478c4b7cfb47c4e3753ea
Author: Nick Allen <ni...@nickallen.org>
Date: 2016-09-06T17:04:03Z
METRON-391 Improved examples
----
> Create Stellar Function to Read Profile Data for Model Scoring
> --------------------------------------------------------------
>
> Key: METRON-391
> URL: https://issues.apache.org/jira/browse/METRON-391
> Project: Metron
> Issue Type: Improvement
> Reporter: Nick Allen
> Assignee: Nick Allen
> Labels: profiler
>
> A Java API will be created as part of METRON-389 to allow Profile data to be read during model scoring. A Stellar function(s) will be needed that uses this API to read the profile data. This would be used in conjunction with other Stellar functions like MODEL_APPLY.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)