Please create a request on https://ezq.quantiphi.com/gitlab/user-access if you want to create a new group or project.

Commit b92be4a9 authored by EC2 Default User's avatar EC2 Default User

Credit-scoring notebook for marketplace

parents
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
class AlgorithmArnProvider:
@staticmethod
def get_algorithm_arn(current_region):
mapping = {
"ap-south-1": "arn:aws:sagemaker:ap-south-1:077584701553:algorithm/deliquency-score-predictor1571-4b1d866998beb5631f328ef2d290f559",
"ap-northeast-2": "arn:aws:sagemaker:ap-northeast-2:745090734665:algorithm/deliquency-score-predictor1571-4b1d866998beb5631f328ef2d290f559",
"ap-southeast-1" : "arn:aws:sagemaker:ap-southeast-1:192199979996:algorithm/deliquency-score-predictor1571-4b1d866998beb5631f328ef2d290f559",
"ap-southeast-2" : "arn:aws:sagemaker:ap-southeast-2:666831318237:algorithm/deliquency-score-predictor1571-4b1d866998beb5631f328ef2d290f559",
"ap-northeast-1" : "arn:aws:sagemaker:ap-northeast-1:977537786026:algorithm/deliquency-score-predictor1571-4b1d866998beb5631f328ef2d290f559",
"ca-central-1" : "arn:aws:sagemaker:ca-central-1:470592106596:algorithm/deliquency-score-predictor1571-4b1d866998beb5631f328ef2d290f559",
"eu-central-1" : "arn:aws:sagemaker:eu-central-1:446921602837:algorithm/deliquency-score-predictor1571-4b1d866998beb5631f328ef2d290f559",
"eu-west-1" : "arn:aws:sagemaker:eu-west-1:985815980388:algorithm/deliquency-score-predictor1571-4b1d866998beb5631f328ef2d290f559",
"eu-west-2" : "arn:aws:sagemaker:eu-west-2:856760150666:algorithm/deliquency-score-predictor1571-4b1d866998beb5631f328ef2d290f559",
"us-east-1" : "arn:aws:sagemaker:us-east-1:865070037744:algorithm/deliquency-score-predictor1571-4b1d866998beb5631f328ef2d290f559",
"us-east-2" : "arn:aws:sagemaker:us-east-2:057799348421:algorithm/deliquency-score-predictor1571-4b1d866998beb5631f328ef2d290f559",
"us-west-1" : "arn:aws:sagemaker:us-west-1:382657785993:algorithm/deliquency-score-predictor1571-4b1d866998beb5631f328ef2d290f559",
"us-west-2" : "arn:aws:sagemaker:us-west-2:594846645681:algorithm/deliquency-score-predictor1571-4b1d866998beb5631f328ef2d290f559",
"eu-west-3" : "arn:aws:sagemaker:eu-west-3:843114510376:algorithm/deliquency-score-predictor1571-4b1d866998beb5631f328ef2d290f559",
"eu-north-1" : "arn:aws:sagemaker:eu-north-1:136758871317:algorithm/deliquency-score-predictor1571-4b1d866998beb5631f328ef2d290f559",
"sa-east-1" : "arn:aws:sagemaker:sa-east-1:270155090741:algorithm/deliquency-score-predictor1571-4b1d866998beb5631f328ef2d290f559"
}
return mapping[current_region]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment