Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Cognitive Services - Personalizer] v1.1-preview.2 #15699

Merged
merged 15 commits into from
Sep 9, 2021
Merged

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parameters": {
"Endpoint": "{Endpoint}",
"evaluation": {
"enableOfflineExperimentation": true,
"name": "myFirstEvaluation",
"startTime": "2018-12-19T00:00:00Z",
"endTime": "2019-01-19T00:00:00Z",
"policies": [
{
"name": "Custom learning settings 1",
"arguments": "--cb_explore_adf --epsilon 0.2 --dsjson --cb_type ips -l 0.5 --l1 1E-07 --power_t 0.5"
}
]
},
"Ocp-Apim-Subscription-Key": "{API key}"
},
"responses": {
"201": {
"headers": {
"Location": "{endpoint}/personalizer/v1.1-preview.2/evaluations/{evaluationId}"
},
"body": {
"id": "b58c6d92-b727-48c1-9487-4be2782c9e0a",
"name": "myFirstEvaluation",
"startTime": "2018-12-19T00:00:00Z",
"endTime": "2019-01-19T00:00:00Z",
"status": "pending",
"policyResults": [
{
"name": "Custom learning settings 1",
"arguments": "--cb_explore_adf --epsilon 0.2 --dsjson --cb_type ips -l 0.5 --l1 1E-07 --power_t 0.5",
"policySource": "Online"
}
],
"featureImportance": [],
"evaluationType": "Manual",
"optimalPolicy": "",
"creationTime": "2019-01-20T00:00:00Z"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parameters": {
"Endpoint": "{Endpoint}",
"evaluationId": "id",
"Ocp-Apim-Subscription-Key": "{API key}"
},
"responses": {
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"parameters": {
"Endpoint": "{Endpoint}",
"evaluationId": "id",
"Ocp-Apim-Subscription-Key": "{API key}"
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "b58c6d92-b727-48c1-9487-4be2782c9e0a",
"name": "myFirstEvaluation",
"startTime": "2018-12-19T00:00:00Z",
"endTime": "2019-01-19T00:00:00Z",
"status": "completed",
"policyResults": [
{
"name": "Custom learning settings 1",
"arguments": "--cb_explore_adf --epsilon 0.2 --dsjson --cb_type ips -l 0.5 --l1 1E-07 --power_t 0.5",
"policySource": "Custom",
"summary": [
{
"timeStamp": "2018-12-19T00:00:00Z",
"ipsEstimatorNumerator": 0.0,
"ipsEstimatorDenominator": 170.0,
"snipsEstimatorDenominator": 308.25,
"aggregateTimeWindow": "PT0S",
"nonZeroProbability": 64.0,
"sumOfSquares": 0.0,
"confidenceInterval": 0.0,
"averageReward": 0.0
},
{
"timeStamp": "2018-12-19T00:05:00Z",
"ipsEstimatorNumerator": 2.2,
"ipsEstimatorDenominator": 196.0,
"snipsEstimatorDenominator": 193.761,
"aggregateTimeWindow": "PT0S",
"nonZeroProbability": 68.0,
"sumOfSquares": 2.424,
"confidenceInterval": 0.015529361,
"averageReward": 0.01122449
}
],
"totalSummary": {
"timeStamp": "2019-01-19T00:00:00Z",
"ipsEstimatorNumerator": 22.2,
"ipsEstimatorDenominator": 1906.0,
"snipsEstimatorDenominator": 1993.761,
"aggregateTimeWindow": "PT0S",
"nonZeroProbability": 68.0,
"sumOfSquares": 2.484,
"confidenceInterval": 0.0015344538,
"averageReward": 0.011647429
}
}
],
"featureImportance": [
[
"f1",
"f2"
],
[
"f3",
"f4"
]
],
"evaluationType": "Manual",
"optimalPolicy": "Custom learning settings 1",
"creationTime": "2019-01-20T00:00:00Z"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"parameters": {
"Ocp-Apim-Subscription-Key": "{API key}",
"Endpoint": "{Endpoint}"
},
"responses": {
"200": {
"headers": {},
"body": [
{
"id": "b58c6d92-b727-48c1-9487-4be2782c9e0a",
"name": "myFirstEvaluation",
"startTime": "2018-11-19T00:00:00Z",
"endTime": "2018-12-19T00:00:00Z",
"status": "completed",
"policyResults": [
{
"name": "Custom learning settings 1",
"arguments": "--cb_explore_adf --epsilon 0.2 --dsjson --cb_type ips -l 0.5 --l1 1E-07 --power_t 0.5",
"policySource": "Online",
"totalSummary": {
"timeStamp": "2018-12-19T00:00:00Z",
"ipsEstimatorNumerator": 18.0,
"ipsEstimatorDenominator": 36.0,
"snipsEstimatorDenominator": 1.0,
"aggregateTimeWindow": "PT0S",
"nonZeroProbability": 1.1,
"sumOfSquares": 12.28,
"confidenceInterval": 0.100001775,
"averageReward": 0.5
}
}
],
"featureImportance": [],
"evaluationType": "Manual",
"optimalPolicy": "Custom learning settings 1",
"creationTime": "2019-01-19T00:00:00Z"
},
{
"id": "21d03972-9130-4be9-8c8b-8ac3ec9b9dd1",
"name": "mySecondEvaluation",
"startTime": "2018-12-19T00:00:00Z",
"endTime": "2019-01-19T00:00:00Z",
"status": "pending",
"policyResults": [],
"featureImportance": [],
"evaluationType": "Manual",
"optimalPolicy": "",
"creationTime": "2019-01-19T00:00:00Z"
}
]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parameters": {
"eventId": "id",
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}"
},
"responses": {
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"eventId": "id",
"Endpoint": "{Endpoint}",
"reward": {
"value": 1.0
},
"Ocp-Apim-Subscription-Key": "{API key}"
},
"responses": {
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"parameters": {
"Ocp-Apim-Subscription-Key": "{API key}",
"Endpoint": "{Endpoint}"
},
"responses": {
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"Ocp-Apim-Subscription-Key": "{API key}",
"Endpoint": "{Endpoint}"
},
"responses": {
"200": {
"headers": {},
"body": {
"dateRange": {
"from": "2019-01-19T00:00:00+00:00",
"to": "2019-02-19T00:00:00+00:00"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parameters": {
"Endpoint": "{Endpoint}",
"body": "id",
"Ocp-Apim-Subscription-Key": "{API key}"
},
"responses": {
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parameters": {
"Endpoint": "{Endpoint}",
"body": "id",
"Ocp-Apim-Subscription-Key": "{API key}"
},
"responses": {
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"Ocp-Apim-Subscription-Key": "{API key}",
"Endpoint": "{Endpoint}"
},
"responses": {
"200": {
"headers": {},
"body": ""
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"parameters": {
"Ocp-Apim-Subscription-Key": "{API key}",
"Endpoint": "{Endpoint}"
},
"responses": {
"200": {
"headers": {},
"body": {
"creationTime": "2019-01-19T00:00:00+00:00",
"lastModifiedTime": "2019-01-19T00:00:00+00:00"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"parameters": {
"Ocp-Apim-Subscription-Key": "{API key}",
"Endpoint": "{Endpoint}"
},
"responses": {
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parameters": {
"eventId": "id",
"Endpoint": "{Endpoint}",
"Ocp-Apim-Subscription-Key": "{API key}"
},
"responses": {
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"eventId": "id",
"Endpoint": "{Endpoint}",
"body": {
"reward": [
{
"slotId": "Heroposition",
"value": 0.5
},
{
"slotId": "SideBar",
"value": 0.6
}
]
},
"Ocp-Apim-Subscription-Key": "{API key}"
},
"responses": {
"204": {}
}
}
Loading