ashutosh3

ashutosh3 / test123 / 0.1.0

IBM_Model_Comparison

Royalty Free API Calls - 9
No Tags
Language
Python 3.x
Permissions
The Algorithm Platform License is the set of terms that are stated in the Software License section of the Algorithmia Application Developer and API License Agreement. It is intended to allow users to reserve as many rights as possible without limiting Algorithmia's ability to run it as a service. Learn More
This is necessary for algorithms that rely on external services, however it also implies that this algorithm is able to send your input data outside of the Algorithmia platform.

Run an Example

Input
Output
"test-harness-new-model"

Install and Use

Install

Install the Algorithmia CLI client by running:

curl -sSLf https://algorithmia.com/install.sh | sh

Then authenticate by running:

algo auth
# Enter API Key: YOUR_API_KEY
CLI Install Docs

Use



algo run ashutosh3/test123/0.1.0 -d '{
  "apikey": "_Td8LuVVLcn3P-MuOoZBzoKOCDpAYFk85CwZ64frlVud",
  "endpoints": "https://control.cloud-object-storage.cloud.ibm.com/v2/endpoints",
  "iam_apikey_description": "Auto generated apikey during resource-key operation for Instance - crn:v1:bluemix:public:cloud-object-storage:global:a/c6df3028f392004f82fda21b5c188a61:464820e9-882e-4b64-8e40-866a57115dd6::",
  "iam_apikey_name": "auto-generated-apikey-b6fab125-0cae-449e-9bdc-b0f64fc3f6d0",
  "iam_role_crn": "crn:v1:bluemix:public:iam::::serviceRole:Writer",
  "iam_serviceid_crn": "crn:v1:bluemix:public:iam-identity::a/c6df3028f392004f82fda21b5c188a61::serviceid:ServiceId-598714fc-0d8a-486d-91f3-f1c6c09add63",
  "resource_instance_id": "crn:v1:bluemix:public:cloud-object-storage:global:a/c6df3028f392004f82fda21b5c188a61:464820e9-882e-4b64-8e40-866a57115dd6::",
  "old_model_api_key":"oGgAdcj9PO64yZKUwyhgCwN_itvxHvze5HY28YEV8u-t",
  "new_model_api_key":"nd8EDqhVuk7r6GfIMXsRH8IlVSczEDGnMs--68yfzvbs",
  "service_endpoint": "https://s3.us-south.objectstorage.softlayer.net",
  "auth_endpoint": "https://iam.bluemix.net/oidc/token",
  "input_data_bucket":"test-harness-input",
  "output_bucket_old_model":"test-harness-old-model",
  "output_bucket_new_model":"test-harness-new-model",
  "function_name":"element_classification",
  "bucket_location":"us-south",
  "url": "https://gateway.watsonplatform.net/compare-comply/api"   
}

' --timeout 300
  
CLI Docs