Method
predictTakeover POST
Copy POST

Returns a probability for each class label associated with the types of fraud or a 'yes' or 'no' type label for the possibility of fraud. Note that the inputs to this method, wherever applicable, will be the column names in the dataset mapped to the column mappings in our system (e.g., column 'account_name' mapped to mapping 'ACCOUNT_ID' in our system).

Arguments:

REQUIRED KEY TYPE DESCRIPTION
Yes deploymentToken str The deployment token to authenticate access to created deployments. This token is only authorized to predict on deployments in this project, so it is safe to embed this model inside an application or website.
Yes deploymentId str The unique identifier to a deployment created under the project.
Yes queryData dict A dictionary containing account activity characteristics (e.g., login id, login duration, login type, IP address, etc.).
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.

Response:

KEY TYPE DESCRIPTION
success Boolean true if the call succeeded, false if there was an error
TakeoverPrediction

Exceptions:

TYPE WHEN
DataNotFoundError

deploymentId is not found.

Language: