All URIs are relative to http://localhost:10010/v2
| Method | HTTP request | Description |
|---|---|---|
| createBenchmark | POST /model/{mid}/benchmark | Create new benchmark |
| deleteBenchmark | DELETE /model/{mid}/benchmark/{bid} | Delete a benchmark |
| listBenchmark | GET /model/{mid}/benchmark | List benchmark tests |
| runBenchmark | GET /model/{mid}/benchmark/{bid} | Run benchmark |
| updateBenchmark | PUT /model/{mid}/benchmark/{bid} | Update a benchmark |
| validateBenchmark | GET /run/{mid}/benchmark/results | Validation using default parameters |
createBenchmark(mid)
Create new benchmark
Create a new benchmark
var algorithmhub = require('algorithmhub');
var apiInstance = new algorithmhub.BenchmarkTestsApi();
var mid = "mid_example"; // String | The model id
apiInstance.createBenchmark(mid).then(function() {
console.log('API called successfully.');
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| mid | String | The model id |
null (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
deleteBenchmark(mid, bid)
Delete a benchmark
Delete a benchmark
var algorithmhub = require('algorithmhub');
var apiInstance = new algorithmhub.BenchmarkTestsApi();
var mid = "mid_example"; // String | The model id
var bid = "bid_example"; // String | The benchmark id
apiInstance.deleteBenchmark(mid, bid).then(function() {
console.log('API called successfully.');
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| mid | String | The model id | |
| bid | String | The benchmark id |
null (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
InlineResponse20018 listBenchmark(mid)
List benchmark tests
List benchmark tests associated with this model
var algorithmhub = require('algorithmhub');
var apiInstance = new algorithmhub.BenchmarkTestsApi();
var mid = "mid_example"; // String | The model id
apiInstance.listBenchmark(mid).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| mid | String | The model id |
No authorization required
- Content-Type: application/json
- Accept: Not defined
InlineResponse20019 runBenchmark(mid, bid)
Run benchmark
Run benchmark
var algorithmhub = require('algorithmhub');
var apiInstance = new algorithmhub.BenchmarkTestsApi();
var mid = "mid_example"; // String | The model id
var bid = "bid_example"; // String | The benchmark id
apiInstance.runBenchmark(mid, bid).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| mid | String | The model id | |
| bid | String | The benchmark id |
No authorization required
- Content-Type: application/json
- Accept: Not defined
updateBenchmark(mid, bid)
Update a benchmark
Update a benchmark
var algorithmhub = require('algorithmhub');
var apiInstance = new algorithmhub.BenchmarkTestsApi();
var mid = "mid_example"; // String | The model id
var bid = "bid_example"; // String | The benchmark id
apiInstance.updateBenchmark(mid, bid).then(function() {
console.log('API called successfully.');
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| mid | String | The model id | |
| bid | String | The benchmark id |
null (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
Object validateBenchmark(mid)
Validation using default parameters
Does the validation part of the model and it uses the default parameters
var algorithmhub = require('algorithmhub');
var apiInstance = new algorithmhub.BenchmarkTestsApi();
var mid = "mid_example"; // String | The model id
apiInstance.validateBenchmark(mid).then(function(data) {
console.log('API called successfully. Returned data: ' + data);
}, function(error) {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| mid | String | The model id |
Object
No authorization required
- Content-Type: application/json
- Accept: Not defined