Hello,
I'm trying to run an notebook wherein I associate it with the Watson Machine Learning service.
I tested the call of this service with this following code:
from watson_machine_learning_client import WatsonMachineLearningAPIClient
#Reading credentials from file
wml_credentials = {
"apikey": "***",
"iam_apikey_description": "***",
"iam_apikey_name": "***",
"iam_role_crn": "***",
"iam_serviceid_crn": "***",
"instance_id": "***",
"url": "***"
}
client = WatsonMachineLearningAPIClient(wml_credentials)
Unfortunately, I obtain an error message (KeyError: 'username', see the attachment piece).
But, I don't find any username in the credentials of my Watson Machine Learning Service ???
------------------------------
Jonathan Grimard
------------------------------
#JupyterNotebooks#WatsonStudio#watson-machine-learning