from konan_sdk.sdk import KonanSDK
if __name__ == '__main__':
# Initialize the SDK. Set verbose to True if you want verbose logging.
sdk = KonanSDK(verbose=False)
# Login user your valid konan credentials
user = sdk.login("<email>", "<password>")
# Define the input data to be passed to your model
input_data = {"feature_1": 1, "feature_2": "abc", }
# Run the prediction
prediction_uuid, ml_output = sdk.predict("<deployment_uuid>", input_data)
# Print the returned output
print(prediction_uuid, ml_output)
-
Notifications
You must be signed in to change notification settings - Fork 0
Python SDK for Konan's API
License
SynapseAnalytics/konan-sdk
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Python SDK for Konan's API
Topics
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published