-
Example Request: https://rason.net/api/model/StratifiedSampling/champion
Notice that only the champion version of the StratifiedSampling model was returned.
Example Response:
[
{
"ModelId": "2590+StratifiedSampling+2020-01-04-06-50-23-416510",
"ModelName": "StratifiedSampling",
"ModelDescr": "transformation: stratified sampling",
"ModelFiles": [
"hald-small-binary.txt"
],
"RuntimeToken": "",
"ModelType": 0,
"ModelKind": "Origin",
"IsChampion": true,
"ParentModelId": null,
"QueryString": "?modelID=2590%2bStratifiedSampling%2b2020-01-04-06-50-23-416510&_cb=1578120629964"
}
]
-
Example Request: https://rason.net/api/model/fitted/champion
Notice that the first returned fitted model (fitted-myjsonsrc) has not been marked as a champion,
so the most recent version has been returned. The second returned fitted model (LogisticRegressionFitted1)
has been marked as the champion.
Example Response
[
{
"ModelId": "2590+fitted-myjsonsrc+2020-06-02-21-10-57-104562",
"ModelName": "fitted-myjsonsrc",
"ModelDescr": "classification-logistic-model.json",
"ModelFiles": [],
"RuntimeToken": "",
"ModelType": "Origin",
"ModelKind": "Fitted",
"IsChampion": false,
"ParentModelId": "2590+LogisticRegression+2020-05-29-15-56-23-566547",
"QueryString": ""
},
{
"ModelId": "2590+LogisticRegressionFitted1+2020-06-01-21-25-05-231970",
"ModelName": "LogisticRegressionFitted1",
"ModelDescr": "",
"ModelFiles": [],
"RuntimeToken": "",
"ModelType": "Origin",
"ModelKind": "Fitted",
"IsChampion": true,
"ParentModelId": null,
"QueryString": ""
}
]
- Example Request: https://rason.net/api/model/rason/champion
Notice that out of the two RASON models on the User's account, the first one is simply the
most recent version of the Sampling model and the 2nd is the actual champion version of the
Logistic Regression model.
Example Response
[
{
"ModelId": "2590+Sampling+2020-05-29-16-32-56-004293",
"ModelName": "Sampling",
"ModelDescr": "",
"ModelFiles": [
{
"fileName": "Sampling.xlsx",
"isOnServer": true
}
],
"RuntimeToken": "",
"ModelType": "Version",
"ModelKind": "Rason",
"IsChampion": false,
"ParentModelId": null,
"QueryString": ""
},
{
"ModelId": "2590+LogisticRegression+2020-05-29-15-56-23-566547",
"ModelName": "LogisticRegression",
"ModelDescr": "classification: logistic regression; scoring example PMMLClass
ifier.json uses exported fitted model, lrModel, to score new data",
"ModelFiles": [
{
"fileName": "hald-small-binary-train.txt",
"isOnServer": true
},
{
"fileName": "hald-small-binary-valid.txt",
"isOnServer": true
},
{
"fileName": "classification-logistic-model.xml",
"isOnServer": false
},
{
"fileName": "classification-logistic-model.json",
"isOnServer": true
}
],
"RuntimeToken": "",
"ModelType": "Version",
"ModelKind": "Rason",
"IsChampion": true,
"ParentModelId": "2590+LogisticRegression+2020-05-28-21-04-19-737715",
"QueryString": ""
}
]
- Example Request: https://rason.net/api/model/excel/champion
Notice that out of the two Excel models on the User's account, the first one has been
marked as the champion (Blending(Opt)) and the second is simply the most recent version
of the 2StageFarmer1(Stochastic) model.
Example Response
[
{
"ModelId": "2590+Blending(Opt)+2020-06-01-21-23-30-714655",
"ModelName": "Blending(Opt)",
"ModelDescr": "",
"ModelFiles": [],
"RuntimeToken": "",
"ModelType": "Origin",
"ModelKind": "Excel",
"IsChampion": true,
"ParentModelId": null,
"QueryString": ""
},
{
"ModelId": "2590+2StageFarmer1(Stochastic)+2020-05-26-21-46-10-180902",
"ModelName": "2StageFarmer1(Stochastic)",
"ModelDescr": "",
"ModelFiles": [],
"RuntimeToken": "",
"ModelType": "Origin",
"ModelKind": "Excel",
"IsChampion": false,
"ParentModelId": null,
"QueryString": ""
}
]
-
Example Request: https://rason.net/api/model/all/champion
All models on the User's account are marked as champions, except for the last model,
2StageFarmer1(Stochastic) which is the most recent version.
Example Response
[
{
"ModelId": "2590+StratifiedSampling+2020-01-04-06-50-23-416510",
"ModelName": "StratifiedSampling",
"ModelDescr": "transformation: stratified sampling",
"ModelFiles": [
"hald-small-binary.txt"
],
"RuntimeToken": "",
"ModelType": 0,
"ModelKind": "Origin",
"IsChampion": true,
"ParentModelId": null,
"QueryString": "?modelID=2590%2bStratifiedSampling%2b2020-01-04-06-50-23-
416510&_cb=1578120629964"
},
{
"ModelId": "2590+LogisticRegressionFitted1+2020-06-01-21-25-05-231970",
"ModelName": "LogisticRegressionFitted1",
"ModelDescr": "",
"ModelFiles": [],
"RuntimeToken": "",
"ModelType": "Origin",
"ModelKind": "Fitted",
"IsChampion": true,
"ParentModelId": null,
"QueryString": ""
},
{
"ModelId": "2590+LogisticRegression+2020-05-29-15-56-23-566547",
"ModelName": "LogisticRegression",
"ModelDescr": "classification: logistic regression; scoring example PMMLClass
ifier.json uses exported fitted model, lrModel, to score new data",
"ModelFiles": [
{
"fileName": "hald-small-binary-train.txt",
"isOnServer": true
},
{
"fileName": "hald-small-binary-valid.txt",
"isOnServer": true
},
{
"fileName": "classification-logistic-model.xml",
"isOnServer": false
},
{
"fileName": "classification-logistic-model.json",
"isOnServer": true
}
],
"RuntimeToken": "",
"ModelType": "Version",
"ModelKind": "Rason",
"IsChampion": true,
"ParentModelId": "2590+LogisticRegression+2020-05-28-21-04-19-737715",
"QueryString": ""
},
{
"ModelId": "2590+Blending(Opt)+2020-06-01-21-23-30-714655",
"ModelName": "Blending(Opt)",
"ModelDescr": "",
"ModelFiles": [],
"RuntimeToken": "",
"ModelType": "Origin",
"ModelKind": "Excel",
"IsChampion": true,
"ParentModelId": null,
"QueryString": ""
},
{
"ModelId": "2590+2StageFarmer1(Stochastic)+2020-05-26-21-46-10-180902",
"ModelName": "2StageFarmer1(Stochastic)",
"ModelDescr": "",
"ModelFiles": [],
"RuntimeToken": "",
"ModelType": "Origin",
"ModelKind": "Excel",
"IsChampion": false,
"ParentModelId": null,
"QueryString": ""
}
]